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