[svn] Fix a bug that players cannot hear others talking.
Provide script support for type 10 gameobject. Add some missing script sql. --HG-- branch : trunk
This commit is contained in:
+3
-2
@@ -102,8 +102,8 @@ struct WorldLocation
|
||||
float y;
|
||||
float z;
|
||||
float o;
|
||||
explicit WorldLocation(uint32 mapid = 0, float x = 0, float y = 0, float z = 0, float o = 0)
|
||||
: mapid(mapid), x(x), y(y), z(z), o(o) {}
|
||||
explicit WorldLocation(uint32 _mapid = 0, float _x = 0, float _y = 0, float _z = 0, float _o = 0)
|
||||
: mapid(_mapid), x(_x), y(_y), z(_z), o(_o) {}
|
||||
WorldLocation(WorldLocation const &loc)
|
||||
: mapid(loc.mapid), x(loc.x), y(loc.y), z(loc.z), o(loc.o) {}
|
||||
};
|
||||
@@ -138,6 +138,7 @@ class TRINITY_DLL_SPEC Object
|
||||
uint32 GetGUIDHigh() const { return GUID_HIPART(GetUInt64Value(0)); }
|
||||
const ByteBuffer& GetPackGUID() const { return m_PackGUID; }
|
||||
uint32 GetEntry() const { return GetUInt32Value(OBJECT_FIELD_ENTRY); }
|
||||
void SetEntry(uint32 entry) { SetUInt32Value(OBJECT_FIELD_ENTRY, entry); }
|
||||
|
||||
uint8 GetTypeId() const { return m_objectTypeId; }
|
||||
bool isType(uint16 mask) const { return (mask & m_objectType); }
|
||||
|
||||
Reference in New Issue
Block a user