Changeset 5804 in orxonox.OLD for branches/network/src/lib/network/synchronizeable.h
- Timestamp:
- Nov 28, 2005, 5:49:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/synchronizeable.h
r5650 r5804 11 11 12 12 class Synchronizeable : virtual public BaseObject 13 {14 13 { 14 public: 15 15 16 Synchronizeable();17 16 Synchronizeable(const char* name); 17 ~Synchronizeable(); 18 18 19 virtual void writeBytes(byte* data, int length);20 virtual int readBytes(byte* data);21 virtual void writeDebug();22 virtual void readDebug();19 virtual void writeBytes(byte* data, int length); 20 virtual int readBytes(byte* data); 21 virtual void writeDebug(); 22 virtual void readDebug(); 23 23 24 inline const char* getName() { return this->name; } 24 25 25 26 private: 26 27 27 int uniqueID; 28 int uniqueID; 29 const char* name; 28 30 29 }; 30 31 }; 31 32 #endif /* _SYNCHRONIZEABLE_H */
Note: See TracChangeset
for help on using the changeset viewer.