feat(Core/Scripting): Add OnBattlefieldWarEnd script hook (#25754)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Andrew
2026-05-07 21:24:27 -03:00
committed by GitHub
parent 47c231b270
commit bceaddb73b
4 changed files with 19 additions and 0 deletions

View File

@@ -587,6 +587,7 @@ public: /* BattlefieldScript */
void OnBattlefieldPlayerJoinWar(Battlefield* bf, Player* player);
void OnBattlefieldPlayerLeaveWar(Battlefield* bf, Player* player);
void OnBattlefieldBeforeInvitePlayerToWar(Battlefield* bf, Player* player);
void OnBattlefieldWarEnd(Battlefield* bf, bool endByTimer);
public: /* BGScript */
void OnBattlegroundStart(Battleground* bg);