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