Changeset 8829 for code/branches/output/src/libraries/network/Server.h
- Timestamp:
- Aug 7, 2011, 3:11:16 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/network/Server.h
r8351 r8829 68 68 void open(); 69 69 void close(); 70 bool processChat(const std::string& message, unsigned int playerID);71 70 void queuePacket(ENetPacket *packet, int clientID, uint8_t channelID); 72 71 virtual bool sendPacket( packet::Packet* packet ){ return packet->send( static_cast<Host*>(this) ); } … … 89 88 bool sendGameStates(); 90 89 bool sendObjectDeletes(); 91 virtual bool chat(const std::string& message);92 virtual bool broadcast(const std::string& message);93 bool sendChat(const std::string& message, unsigned int clientID);90 bool isValidTarget(unsigned int targetID); 91 virtual void doSendChat(const std::string& message, unsigned int sourceID, unsigned int targetID); 92 virtual void doReceiveChat(const std::string& message, unsigned int sourceID, unsigned int targetID); 94 93 void syncClassid(unsigned int clientID); 95 94
Note: See TracChangeset
for help on using the changeset viewer.