aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.h
diff options
context:
space:
mode:
authorNeo2003 <none@none>2008-10-05 11:38:24 -0500
committerNeo2003 <none@none>2008-10-05 11:38:24 -0500
commit1fc73ff41b0b113ee0cbc072f8ed81a2c572924c (patch)
treee2921caa16730e21b3e7988c2bbb1a12f8fce2b1 /src/game/Object.h
parent9245de813869b8c386b651204678d1a1b4d84ea7 (diff)
[svn] * PlaySound changed to SendPlaySound, moved to WorldObject and used everywhere instead of hard-coding packet
--HG-- branch : trunk
Diffstat (limited to 'src/game/Object.h')
-rw-r--r--src/game/Object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Object.h b/src/game/Object.h
index c870e9452c9..f8b18941aa3 100644
--- a/src/game/Object.h
+++ b/src/game/Object.h
@@ -437,6 +437,9 @@ class MANGOS_DLL_SPEC WorldObject : public Object
// low level function for visibility change code, must be define in all main world object subclasses
virtual bool isVisibleForInState(Player const* u, bool inVisibleList) const = 0;
+ // Low Level Packets
+ void SendPlaySound(uint32 Sound, bool OnlySelf);
+
Map * GetMap() const;
Map const* GetBaseMap() const;
Creature* SummonCreature(uint32 id, float x, float y, float z, float ang,TempSummonType spwtype,uint32 despwtime);