public static void SendEndFix(long targetID)
    {
        BattleAction_EndFix battleAction_EndFix = new BattleAction_EndFix();

        battleAction_EndFix.soldierId = targetID;
        EventDispatcher.BroadcastAsync <BattleAction_EndFix, bool>(BattleActionEvent.EndFix, battleAction_EndFix, false);
    }
예제 #2
0
 public void EndFixed(BattleAction_EndFix data, bool isServerData)
 {
     if (data.soldierId != this.owner.ID)
     {
         return;
     }
     this.owner.IsFixed = false;
 }