Changeset 1355 for code/branches/merge/src/network/PacketManager.h
- Timestamp:
- May 22, 2008, 11:53:19 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/merge/src/network/PacketManager.h
r1336 r1355 58 58 PacketGenerator(); 59 59 //call one of this functions out of an instance of PacketGenerator to create a packet 60 ENetPacket* acknowledgement( int state, int reliable = ENET_PACKET_FLAG_RELIABLE );60 ENetPacket* acknowledgement( int state, int reliable = 0 ); // we do not want reliability 61 61 ENetPacket* command( int dataLength, void *data, int reliable = ENET_PACKET_FLAG_RELIABLE ); 62 62 ENetPacket* mousem( double x, double y, int reliable = ENET_PACKET_FLAG_RELIABLE ); 63 63 ENetPacket* keystrike( char press, int reliable = ENET_PACKET_FLAG_RELIABLE ); 64 64 ENetPacket* chatMessage( const char* message, int reliable = ENET_PACKET_FLAG_RELIABLE ); 65 ENetPacket* gstate( GameStateCompressed *states, int reliable = ENET_PACKET_FLAG_RELIABLE );65 ENetPacket* gstate( GameStateCompressed *states, int reliable = 0 ); // we do not want reliability of gamestates 66 66 ENetPacket* clid( int classid, std::string classname, int reliable = ENET_PACKET_FLAG_RELIABLE ); 67 67 ENetPacket* generateWelcome( int clientID,int shipID, bool allowed, int reliable = ENET_PACKET_FLAG_RELIABLE );
Note: See TracChangeset
for help on using the changeset viewer.