Beispiel #1
0
 private void SetCurChatCamp(InBattleInputChat.EChatCamp v)
 {
     if (this.m_curChatCamp == v)
     {
         return;
     }
     this.m_curChatCamp = v;
     if (this.m_view != null)
     {
         this.m_view.ShowCamp(this.m_curChatCamp);
     }
 }
 public void ShowCamp(InBattleInputChat.EChatCamp v)
 {
     if (v != InBattleInputChat.EChatCamp.None)
     {
         if (v == InBattleInputChat.EChatCamp.Alice)
         {
             this.m_campTxt.text = "我方";
         }
         else
         {
             this.m_campTxt.text = "全部";
         }
     }
 }
Beispiel #3
0
 public void ShowCamp(InBattleInputChat.EChatCamp v)
 {
     if (v == InBattleInputChat.EChatCamp.None)
     {
         return;
     }
     if (v == InBattleInputChat.EChatCamp.Alice)
     {
         this.m_campTxt.set_text("我方");
     }
     else
     {
         this.m_campTxt.set_text("全部");
     }
 }