Game/Scripting: Add OnPlayerRepop hook
Port From (https://github.com/TrinityCore/TrinityCore/commit/5291842a33ac535db351072a230e3da6e43123a7)
This commit is contained in:
@@ -1198,6 +1198,10 @@ namespace Game.Scripting
|
||||
{
|
||||
ForEach<PlayerScript>(p => p.OnUpdateZone(player, newZone, newArea));
|
||||
}
|
||||
public void OnPlayerRepop(Player player)
|
||||
{
|
||||
ForEach<PlayerScript>(p => p.OnPlayerRepop(player));
|
||||
}
|
||||
public void OnQuestStatusChange(Player player, uint questId)
|
||||
{
|
||||
ForEach<PlayerScript>(p => p.OnQuestStatusChange(player, questId));
|
||||
|
||||
Reference in New Issue
Block a user