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); }
public void AtkProof(BattleAction_AtkProof data, bool isServerData) { if (data.soldierId != this.owner.ID) { return; } this.owner.IsUnconspicuous = true; }