Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 12, 2006, 10:47:32 AM (18 years ago)
Author:
patrick
Message:

network: works again

File:
1 edited

Legend:

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

    r9249 r9250  
    2727  public:
    2828    PeerInfo() { clear(); }
    29     void clear() { userId = 0; isMasterServer = false; socket = NULL; handshake = NULL; lastAckedState = 0; lastRecvedState = 0; connectionMonitor = NULL; }
     29
     30    void clear()
     31    {
     32      this->userId = 0;
     33      this->nodeType = NET_CLIENT;
     34      this->isMasterServer = false;
     35      this->isProxyServer = false;
     36      this->isClient = false;
     37      this->socket = NULL;
     38      this->handshake = NULL;
     39      this->lastAckedState = 0;
     40      this->lastRecvedState = 0;
     41      this->connectionMonitor = NULL;
     42    }
    3043
    3144
    3245  public:
    3346    int                 userId;
     47    int                 nodeType;
    3448    bool                isMasterServer;
    3549    bool                isProxyServer;
     
    4155    int                 lastRecvedState;
    4256};
     57
     58
    4359
    4460typedef std::list<Synchronizeable*>  SynchronizeableList;
Note: See TracChangeset for help on using the changeset viewer.