public static void SendCloseRenderer(long targetID)
    {
        BattleAction_CloseRenderer battleAction_CloseRenderer = new BattleAction_CloseRenderer();

        battleAction_CloseRenderer.soldierId = targetID;
        EventDispatcher.Broadcast <BattleAction_CloseRenderer, bool>(BattleActionEvent.CloseRenderer, battleAction_CloseRenderer, false);
    }
예제 #2
0
 public void CloseRenderer(BattleAction_CloseRenderer data, bool isServerData)
 {
     if (data.soldierId != this.owner.ID)
     {
         return;
     }
     this.owner.IsCloseRenderer = true;
 }