Core/Misc: Moved CharacterInfo out of world to separate class
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad4e63bae145ae49b584ab2fc621660430cec0d3)
This commit is contained in:
@@ -646,7 +646,10 @@ namespace Game.Scripting
|
||||
public virtual void OnCreate(Player player) { }
|
||||
|
||||
// Called when a player is deleted.
|
||||
public virtual void OnDelete(ObjectGuid guid) { }
|
||||
public virtual void OnDelete(ObjectGuid guid, uint accountId) { }
|
||||
|
||||
// Called when a player delete failed
|
||||
public virtual void OnFailedDelete(ObjectGuid guid, uint accountId) { }
|
||||
|
||||
// Called when a player is about to be saved.
|
||||
public virtual void OnSave(Player player) { }
|
||||
|
||||
Reference in New Issue
Block a user