- Timestamp:
- Jul 24, 2006, 4:19:17 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/peer_info.h
r9406 r9432 22 22 23 23 24 inline bool isMasterServer() { return this->nodeType == NET_MASTER_SERVER; } 25 inline bool isProxyServer() { return this->nodeType == NET_PROXY_SERVER_ACTIVE; } 26 inline bool isProxyServerPassive() { return this->nodeType == NET_PROXY_SERVER_PASSIVE; } 27 inline bool isClient() { return this->nodeType == NET_CLIENT; } 24 inline bool isMasterServer() const { return this->nodeType == NET_MASTER_SERVER; } 25 inline bool isProxyServer() const { return this->nodeType == NET_PROXY_SERVER_ACTIVE; } 26 inline bool isProxyServerPassive() const { return this->nodeType == NET_PROXY_SERVER_PASSIVE; } 27 inline bool isClient() const { return this->nodeType == NET_CLIENT; } 28 29 inline const ConnectionMonitor * const getConnectionMonitor() const { return this->connectionMonitor; }; 30 28 31 29 32 std::string getNodeTypeString();
Note: See TracChangeset
for help on using the changeset viewer.