Core/Misc: Moved CharacterInfo out of world to separate class
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad4e63bae145ae49b584ab2fc621660430cec0d3)
This commit is contained in:
@@ -1182,9 +1182,13 @@ namespace Game.Scripting
|
||||
{
|
||||
ForEach<PlayerScript>(p => p.OnCreate(player));
|
||||
}
|
||||
public void OnPlayerDelete(ObjectGuid guid)
|
||||
public void OnPlayerDelete(ObjectGuid guid, uint accountId)
|
||||
{
|
||||
ForEach<PlayerScript>(p => p.OnDelete(guid));
|
||||
ForEach<PlayerScript>(p => p.OnDelete(guid, accountId));
|
||||
}
|
||||
public void OnPlayerFailedDelete(ObjectGuid guid, uint accountId)
|
||||
{
|
||||
ForEach<PlayerScript>(p => p.OnFailedDelete(guid, accountId));
|
||||
}
|
||||
public void OnPlayerSave(Player player)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user