- Timestamp:
- May 23, 2015, 9:50:13 PM (9 years ago)
- Location:
- code/branches/multiplayerFS15/src/libraries/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/multiplayerFS15/src/libraries/network/LANDiscoverable.cc
r10456 r10457 120 120 packet::ServerInformation info; 121 121 info.setServerName(this->ownName); 122 info.setClientNumber( 5);122 info.setClientNumber(this->clientNumber); 123 123 info.send(event.peer); 124 124 // ENetPacket* packet = enet_packet_create( LAN_DISCOVERY_ACK, strlen(LAN_DISCOVERY_ACK)+1, ENET_PACKET_FLAG_RELIABLE ); -
code/branches/multiplayerFS15/src/libraries/network/LANDiscoverable.h
r10434 r10457 52 52 ENetHost* host_; 53 53 std::string ownName; 54 int clientNumber;54 int clientNumber; 55 55 }; 56 56
Note: See TracChangeset
for help on using the changeset viewer.