public static void OnFinishNeutralize(PhxLuaRuntime.LFunction callback) { GameLuaEvents.Register(GameLuaEvents.Event.OnFinishNeutralize, callback); // callback paramters: // - postPtr }
public static void OnFinishCaptureName(PhxLuaRuntime.LFunction callback, string cpName) { GameLuaEvents.Register(GameLuaEvents.Event.OnFinishCaptureName, callback, cpName); // callback paramters: // - postPtr }
public static void OnEnterRegionTeam(PhxLuaRuntime.LFunction callback, string regionName, int teamIdx) { GameLuaEvents.Register(GameLuaEvents.Event.OnEnterRegionTeam, callback, (regionName, teamIdx)); }
public static void OnLeaveRegion(PhxLuaRuntime.LFunction callback, string regionName) { GameLuaEvents.Register(GameLuaEvents.Event.OnLeaveRegion, callback, regionName); }
public static void OnTimerElapse(PhxLuaRuntime.LFunction callback, int timer) { GameLuaEvents.Register(GameLuaEvents.Event.OnTimerElapse, callback, timer); }