Changeset 221 for trunk/src/game/Object.h
- Timestamp:
- 11/19/08 13:47:48 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Object.h
r207 r221 103 103 float z; 104 104 float o; 105 explicit WorldLocation(uint32 mapid = 0, float x = 0, float y = 0, float z = 0, floato = 0)106 : mapid( mapid), x(x), y(y), z(z), o(o) {}105 explicit WorldLocation(uint32 _mapid = 0, float _x = 0, float _y = 0, float _z = 0, float _o = 0) 106 : mapid(_mapid), x(_x), y(_y), z(_z), o(_o) {} 107 107 WorldLocation(WorldLocation const &loc) 108 108 : mapid(loc.mapid), x(loc.x), y(loc.y), z(loc.z), o(loc.o) {} … … 139 139 const ByteBuffer& GetPackGUID() const { return m_PackGUID; } 140 140 uint32 GetEntry() const { return GetUInt32Value(OBJECT_FIELD_ENTRY); } 141 void SetEntry(uint32 entry) { SetUInt32Value(OBJECT_FIELD_ENTRY, entry); } 141 142 142 143 uint8 GetTypeId() const { return m_objectTypeId; }