Changeset 9248 in orxonox.OLD for branches/proxy/src/lib/network/network_stream.h
- Timestamp:
- Jul 12, 2006, 10:35:26 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_stream.h
r9246 r9248 61 61 void disconnectSynchronizeable(Synchronizeable& sync); 62 62 63 inline bool isServer() const { return (this->type == NET_SERVER)? true:false; } 63 inline bool isMasterServer() const { return (this->type == NET_MASTER_SERVER)? true:false; } 64 inline bool isProxyServer() const { return (this->type == NET_PROXY_SERVER)? true:false; } 65 inline bool isClient() const { return (this->type == NET_CLIENT)? true:false; } 64 66 inline bool isActive() const { return this->bActive; } 65 67
Note: See TracChangeset
for help on using the changeset viewer.