Changeset 8858 for code/trunk/src/libraries/network/Server.h
- Timestamp:
- Aug 23, 2011, 12:45:53 AM (13 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:ignore
-
old new 1 1 build 2 2 codeblocks 3 vs 3 4 dependencies
-
- Property svn:mergeinfo changed
/code/branches/output (added) merged: 8739-8740,8765,8771-8772,8774-8780,8787-8789,8794-8799,8801,8803-8812,8814,8816-8817,8820,8822,8825-8837,8840,8844,8846,8848-8850,8853-8854
- Property svn:ignore
-
code/trunk/src/libraries/network/Server.h
r8351 r8858 42 42 #include "LANDiscoverable.h" 43 43 #include "WANDiscoverable.h" 44 // #include "MasterServerComm.h"45 // #include "MasterServerProtocol.h"46 44 47 45 … … 61 59 ~Server(); 62 60 63 /* helpers */64 void helper_ConnectToMasterserver();65 void helper_HandleMasterServerRequests();66 int replyhandler( char *addr, ENetEvent *ev );67 68 61 void open(); 69 62 void close(); 70 bool processChat(const std::string& message, unsigned int playerID);71 63 void queuePacket(ENetPacket *packet, int clientID, uint8_t channelID); 72 64 virtual bool sendPacket( packet::Packet* packet ){ return packet->send( static_cast<Host*>(this) ); } … … 89 81 bool sendGameStates(); 90 82 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);83 bool isValidTarget(unsigned int targetID); 84 virtual void doSendChat(const std::string& message, unsigned int sourceID, unsigned int targetID); 85 virtual void doReceiveChat(const std::string& message, unsigned int sourceID, unsigned int targetID); 94 86 void syncClassid(unsigned int clientID); 95 87
Note: See TracChangeset
for help on using the changeset viewer.