- Timestamp:
- May 24, 2018, 3:24:00 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Masterserver_FS18/src/libraries/network/ServerConnection.cc
r11829 r11990 39 39 namespace orxonox 40 40 { 41 42 // TODO: Calls to the Connection superclass are done as follows:43 // Connection::startCommunicationThread()44 // However, these methods are not overridden.45 // Why can't we just do this->startCommunicationThread()?46 47 41 /** 48 42 * Constructor … … 131 125 { 132 126 this->bListening_ = false; 133 disconnectClients();127 this->disconnectClients(); 134 128 Connection::stopCommunicationThread(); 135 129 enet_host_destroy(this->host_); … … 142 136 * @param clientID The ID of the recipient 143 137 * @param channelID The channel ID 144 * TODO: Not sure yet how this actually works145 138 */ 146 139 void ServerConnection::addPacket(ENetPacket *packet, unsigned int clientID, uint8_t channelID) … … 148 141 if (clientID == NETWORK_PEER_ID_BROADCAST) 149 142 { 150 broadcastPacket(packet, channelID);143 this->broadcastPacket(packet, channelID); 151 144 } 152 145 else
Note: See TracChangeset
for help on using the changeset viewer.