Changeset 10410 for code/branches/core7/src
- Timestamp:
- May 2, 2015, 4:47:21 PM (10 years ago)
- Location:
- code/branches/core7/src/libraries/network/synchronisable
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/network/synchronisable/CMakeLists.txt
r7314 r10410 2 2 NetworkCallbackManager.cc 3 3 Synchronisable.cc 4 SynchronisableVariable.cc5 4 ) 6 5 -
code/branches/core7/src/libraries/network/synchronisable/SynchronisableVariable.h
r8858 r10410 65 65 virtual uint8_t getMode()=0; 66 66 virtual ~SynchronisableVariableBase() {} 67 protected:68 static uint8_t state_;69 67 }; 70 68 … … 108 106 variable_( variable ), mode_( syncDirection ), callback_( cb ) 109 107 { 110 if ( state_ == 0x0 )111 {112 state_ = GameMode::isMaster() ? 0x1 : 0x2; // set the appropriate mode here113 }114 108 } 115 109
Note: See TracChangeset
for help on using the changeset viewer.