diff options
author | n0n4m3 <none@none> | 2009-12-19 17:58:45 +0100 |
---|---|---|
committer | n0n4m3 <none@none> | 2009-12-19 17:58:45 +0100 |
commit | ef2cbee517417814d2f5fe5afb4148fb8804b4b2 (patch) | |
tree | 6fb1d2eefe156d62ee4d23c4d17384cf79492630 /src/game/Object.h | |
parent | 57bdbdc0ca8e867520de9927389edb703a04c43a (diff) |
Avoid not needed too oftent send update data, cleanups. by SilverIce
--HG--
branch : trunk
Diffstat (limited to 'src/game/Object.h')
-rw-r--r-- | src/game/Object.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/Object.h b/src/game/Object.h index 93cf0d40e85..e3c8ee33399 100644 --- a/src/game/Object.h +++ b/src/game/Object.h @@ -160,12 +160,11 @@ class TRINITY_DLL_SPEC Object bool isType(uint16 mask) const { return (mask & m_objectType); } virtual void BuildCreateUpdateBlockForPlayer( UpdateData *data, Player *target ) const; - void SendUpdateToPlayer(Player* player); + void SendCreateUpdateToPlayer(Player* player); void BuildValuesUpdateBlockForPlayer( UpdateData *data, Player *target ) const; void BuildOutOfRangeUpdateBlock( UpdateData *data ) const; void BuildMovementUpdateBlock( UpdateData * data, uint32 flags = 0 ) const; - void BuildUpdate(UpdateDataMapType &); virtual void DestroyForPlayer( Player *target, bool anim = false ) const; @@ -307,7 +306,6 @@ class TRINITY_DLL_SPEC Object } void ClearUpdateMask(bool remove); - void SendUpdateObjectToAllExcept(Player* exceptPlayer); bool LoadValues(const char* data); |