コード例 #1
0
    public static void SendUnconspicuous(long targetID)
    {
        BattleAction_AtkProof battleAction_AtkProof = new BattleAction_AtkProof();

        battleAction_AtkProof.soldierId = targetID;
        EventDispatcher.Broadcast <BattleAction_AtkProof, bool>(BattleActionEvent.AtkProof, battleAction_AtkProof, false);
    }
コード例 #2
0
 public void AtkProof(BattleAction_AtkProof data, bool isServerData)
 {
     if (data.soldierId != this.owner.ID)
     {
         return;
     }
     this.owner.IsUnconspicuous = true;
 }