Changeset 9492 in orxonox.OLD for branches/proxy/src/lib/network/shared_network_data.cc
- Timestamp:
- Jul 26, 2006, 3:14:17 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/shared_network_data.cc
r9409 r9492 19 19 #include "netdefs.h" 20 20 #include "state.h" 21 22 #include "network_stream.h" 21 23 22 24 #include "debug.h" … … 51 53 SharedNetworkData::singletonRef = NULL; 52 54 } 55 56 57 58 /** @return true if this user is connected to the local host */ 59 bool SharedNetworkData::isUserLocal( int userID) 60 { 61 return this->defaultSyncStream->isUserLocal(userID); 62 } 63 64 65 /** @returns true if this user is a master server */ 66 bool SharedNetworkData::isUserMasterServer( int userID ) 67 { 68 return this->defaultSyncStream->isUserMasterServer(userID); 69 } 70 71 72 /** @returns true if this user is a proxy server */ 73 bool SharedNetworkData::isUserProxyServerActive( int userID ) 74 { 75 return this->defaultSyncStream->isUserProxyServerActive(userID); 76 } 77 78 79 /** @returns true if this user is a client */ 80 bool SharedNetworkData::isUserClient( int userID ) 81 { 82 return this->defaultSyncStream->isUserClient(userID); 83 }
Note: See TracChangeset
for help on using the changeset viewer.