refactor(Core/Scripts): Optimize Script (#18708)

* Add files via upload

* Update PlayerScript.h
This commit is contained in:
天鹿
2024-04-12 21:50:44 +08:00
committed by GitHub
parent 3a6231cb65
commit 97fc546c4b
7 changed files with 21 additions and 26 deletions

View File

@@ -19,12 +19,14 @@
#define SCRIPT_OBJECT_PLAYER_SCRIPT_H_
#include "ScriptObject.h"
#include <vector>
// TODO to remove
#include "AchievementMgr.h"
#include "KillRewarder.h"
enum PlayerHook {
enum PlayerHook
{
PLAYERHOOK_ON_PLAYER_JUST_DIED,
PLAYERHOOK_ON_PLAYER_RELEASED_GHOST,
PLAYERHOOK_ON_SEND_INITIAL_PACKETS_BEFORE_ADD_TO_MAP,