Example #1
0
 private void On_Send_GetChat_Req(int timerSequence)
 {
     if (this.bSendChat)
     {
         CChatNetUT.Send_GetChat_Req(EChatChannel.Lobby);
     }
 }
Example #2
0
 public bool On_InputFiled_EndEdit(string content)
 {
     if (this.view.CurTab == EChatChannel.Friend_Chat)
     {
         CChatNetUT.Send_Private_Chat(this.model.sysData.ullUid, this.model.sysData.dwLogicWorldId, content);
         CChatNetUT.Send_GetChat_Req(EChatChannel.Friend);
     }
     if (this.view.CurTab == EChatChannel.Lobby)
     {
         CChatNetUT.Send_Lobby_Chat(content);
         CChatNetUT.Send_GetChat_Req(EChatChannel.Lobby);
     }
     if (this.view.CurTab == EChatChannel.Guild)
     {
         CChatNetUT.Send_Guild_Chat(content);
         CChatNetUT.Send_GetChat_Req(EChatChannel.Guild);
     }
     if (this.view.CurTab == EChatChannel.Room)
     {
         CChatNetUT.Send_Room_Chat(content);
         CChatNetUT.Send_GetChat_Req(EChatChannel.Room);
     }
     if (this.view.CurTab == EChatChannel.Team)
     {
         CChatNetUT.Send_Team_Chat(content);
         CChatNetUT.Send_GetChat_Req(EChatChannel.Team);
     }
     return(true);
 }