Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 24, 2006, 3:02:19 PM (18 years ago)
Author:
patrick
Message:

network: now every entity gets a network uniqueID

File:
1 edited

Legend:

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

    r6658 r6672  
    5353    inline NetworkStream* getDefaultSyncStream() { return this->defaultSyncStream; }
    5454
     55    /** @returns the next uniqueID free for an object */
     56    inline int getNewUniqueID() { return this->newUniqueID++; }
     57
    5558    void debug();
    5659
     
    6770    int                              hostID;                  //!< The Host-ID of the Manager
    6871    bool                             bGameServer;             //!< true if it is a server
     72    int                              newUniqueID;
    6973
    7074};
Note: See TracChangeset for help on using the changeset viewer.