mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 04:37:01 +00:00
[8696] Replace pure virtual functions for better error output.
This commit is contained in:
parent
1571997f31
commit
7ffb8e20ff
3 changed files with 24 additions and 4 deletions
|
|
@ -148,9 +148,11 @@ class MANGOS_DLL_SPEC Object
|
|||
virtual void BuildCreateUpdateBlockForPlayer( UpdateData *data, Player *target ) const;
|
||||
void SendCreateUpdateToPlayer(Player* player);
|
||||
|
||||
virtual void AddToClientUpdateList() =0;
|
||||
virtual void RemoveFromClientUpdateList() =0;
|
||||
virtual void BuildUpdateData(UpdateDataMapType& update_players) =0;
|
||||
// must be overwrite in appropriate subclasses (WorldObject, Item currently), or will crash
|
||||
virtual void AddToClientUpdateList();
|
||||
virtual void RemoveFromClientUpdateList();
|
||||
virtual void BuildUpdateData(UpdateDataMapType& update_players);
|
||||
|
||||
void BuildValuesUpdateBlockForPlayer( UpdateData *data, Player *target ) const;
|
||||
void BuildOutOfRangeUpdateBlock( UpdateData *data ) const;
|
||||
void BuildMovementUpdateBlock( UpdateData * data, uint32 flags = 0 ) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue