Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9059 in orxonox.OLD for trunk/src/lib/network/network_manager.h


Ignore:
Timestamp:
Jul 3, 2006, 6:30:42 PM (19 years ago)
Author:
patrick
Message:

merged the network branche with the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/network/network_manager.h

    r8228 r9059  
    4040
    4141    /** Returns the hostID @return The hostID of the object */
    42     inline int getHostID() { return this->sharedNetworkData->getHostID(); }
    43     inline bool isGameServer() { return this->sharedNetworkData->isGameServer(); }
     42    inline int getHostID() { return SharedNetworkData::getInstance()->getHostID(); }
     43    inline bool isGameServer() { return SharedNetworkData::getInstance()->isGameServer(); }
    4444
    4545
     
    5858    NetworkStream*                   networkStream;       //!< pointer to network stream
    5959
    60     SharedNetworkData*               sharedNetworkData;       //!< reference to the shared data
    6160    float                            elapsedTime;             //!< elapsed time since the last network update
    6261};
Note: See TracChangeset for help on using the changeset viewer.