00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef NET_GAMESERVER_PLAYER_H
00023 #define NET_GAMESERVER_PLAYER_H
00024
00025 #include "being.h"
00026
00027 #include <guichan/actionlistener.hpp>
00028
00029 #include <iosfwd>
00030
00031
00032 struct RespawnRequestListener : public gcn::ActionListener
00033 {
00034 void action(const gcn::ActionEvent &event);
00035 };
00036
00037 namespace Net
00038 {
00039 namespace GameServer
00040 {
00041 namespace Player
00042 {
00043 void walk(int x, int y);
00044 void pickUp(int x, int y);
00045 void moveItem(int oldSlot, int newSlot, int amount);
00046 void attack(int direction);
00047 void useSpecial(int special);
00048 void requestTrade(int id);
00049 void acceptTrade(bool accept);
00050 void tradeMoney(int amount);
00051 void raiseAttribute(int attribute);
00052 void lowerAttribute(int attribute);
00053 void respawn();
00054 static RespawnRequestListener respawnListener;
00055 }
00056 }
00057 }
00058
00059 #endif