Changeset 1502 for code/trunk/src/network/Server.h
- Timestamp:
- Jun 1, 2008, 3:54:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/Server.h
r1293 r1502 60 60 public: 61 61 Server(); 62 Server(int port); 62 63 Server(int port, std::string bindAddress); 63 64 Server(int port, const char *bindAddress); … … 71 72 void updateGamestate(); 72 73 private: 74 bool addClient(ENetEvent *event); 75 bool createClient(int clientID); 76 bool createShip(ClientInformation *client); 77 bool disconnectClient(ENetEvent *event); 73 78 void disconnectClient(int clientID); 74 79 void disconnectClient( ClientInformation *client); … … 82 87 83 88 ClientInformation *clients; 89 float timeSinceLastUpdate_; 84 90 }; 85 91
Note: See TracChangeset
for help on using the changeset viewer.