mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 04:37:01 +00:00
[8627] Avoid not needed too oftent send update data, cleanups.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
9cb356851c
commit
023b13f348
9 changed files with 29 additions and 75 deletions
|
|
@ -146,12 +146,11 @@ class MANGOS_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;
|
||||
|
||||
|
|
@ -289,7 +288,6 @@ class MANGOS_DLL_SPEC Object
|
|||
}
|
||||
|
||||
void ClearUpdateMask(bool remove);
|
||||
void SendUpdateObjectToAllExcept(Player* exceptPlayer);
|
||||
|
||||
bool LoadValues(const char* data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue