Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9282 in orxonox.OLD for branches/proxy/src/lib/network/peer_info.h


Ignore:
Timestamp:
Jul 14, 2006, 12:06:30 AM (19 years ago)
Author:
patrick
Message:

another framework switch, and node registration work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/peer_info.h

    r9275 r9282  
    2121
    2222
     23    inline bool isMasterServer() { return this->nodeType == NET_MASTER_SERVER; }
     24    inline bool isProxyServer() { return this->nodeType == NET_PROXY_SERVER; }
     25    inline bool isClient() { return this->nodeType == NET_CLIENT; }
     26
     27
    2328  public:
    2429    int                 userId;
    2530    int                 nodeType;
    26     bool                isMasterServer;
    27     bool                isProxyServer;
    28     bool                isClient;
     31//     bool                isMasterServer;
     32//     bool                isProxyServer;
     33//     bool                isClient;
    2934    NetworkSocket *     socket;
    3035    Handshake *         handshake;
Note: See TracChangeset for help on using the changeset viewer.