コード例 #1
0
    public static void SendEndSuperArmor(long targetID)
    {
        BattleAction_EndSuperArmor battleAction_EndSuperArmor = new BattleAction_EndSuperArmor();

        battleAction_EndSuperArmor.soldierId = targetID;
        EventDispatcher.BroadcastAsync <BattleAction_EndSuperArmor, bool>(BattleActionEvent.EndSuperArmor, battleAction_EndSuperArmor, false);
    }
コード例 #2
0
 public void EndSuperArmor(BattleAction_EndSuperArmor data, bool isServerData)
 {
     if (data.soldierId != this.owner.ID)
     {
         return;
     }
     this.owner.IsEndure = false;
 }