- Timestamp:
- Oct 19, 2008, 10:12:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/network/ClientInformation.cc
r1953 r1955 137 137 } 138 138 139 int ClientInformation::getID() {139 unsigned int ClientInformation::getID() { 140 140 if(!this) 141 141 return CLIENTID_UNKNOWN; … … 169 169 } 170 170 171 int ClientInformation::getGamestateID() {171 unsigned int ClientInformation::getGamestateID() { 172 172 if(this) 173 173 return gamestateID_; … … 176 176 } 177 177 178 int ClientInformation::getPartialGamestateID() {178 unsigned int ClientInformation::getPartialGamestateID() { 179 179 if(this) 180 180 return partialGamestateID_; … … 196 196 } 197 197 198 bool ClientInformation::removeClient( int clientID) {198 bool ClientInformation::removeClient(unsigned int clientID) { 199 199 if((unsigned int)clientID==CLIENTID_UNKNOWN) 200 200 return false; … … 229 229 * @return pointer to the last element in the list or 0 if the search was unsuccessfull 230 230 */ 231 ClientInformation *ClientInformation::findClient( int clientID, bool look_backwards) {231 ClientInformation *ClientInformation::findClient(unsigned int clientID, bool look_backwards) { 232 232 ClientInformation *temp = head_; 233 233 while(temp!=0 && temp->getID()!=clientID){
Note: See TracChangeset
for help on using the changeset viewer.