Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 29, 2006, 10:09:02 AM (18 years ago)
Author:
patrick
Message:

forced reconnections are now registrated and handled

File:
1 edited

Legend:

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

    r9589 r9601  
    8282    NetworkNode* getNodeByUserId( int userId);
    8383
     84    /* forced reconnection interface */
     85    inline void setForcedReconnection(IP address) { this->bForcedRecon = true; this->forcedReconnection = address;}
     86    inline bool isForcedReconnection() { return this->bForcedRecon; }
     87    inline IP getForcedReconnectionIP() { this->bForcedRecon = false; return this->forcedReconnection; }
     88
    8489
    8590    void toggleGUI();
     
    98103    int                          playerNumber;                 //!< total number of players in the game
    99104    int                          connectionNumber;             //!< total number of connections at this localhost
     105
     106    IP                           forcedReconnection;           //!< ip of a forced reconnection
     107    bool                         bForcedRecon;                 //!< true if there is a forced recon
    100108};
    101109
Note: See TracChangeset for help on using the changeset viewer.