public void Remove_Palyer_Info(COMDT_CHAT_PLAYER_INFO info) { if (info != null) { this.playerInfos.Remove(info); } }
public static void GetUser(EChaterType type, ulong ulluid, uint logicworld_id, out string name, out string level, out string head_url, out COMDT_GAME_VIP_CLIENT stGameVip) { name = "error"; level = "-1"; head_url = string.Empty; stGameVip = null; if (type == EChaterType.Self) { CRoleInfo masterRoleInfo = Singleton <CRoleInfoManager> .get_instance().GetMasterRoleInfo(); if (masterRoleInfo != null) { name = masterRoleInfo.Name; level = masterRoleInfo.PvpLevel.ToString(); stGameVip = masterRoleInfo.GetNobeInfo().stGameVipClient; head_url = masterRoleInfo.HeadUrl.Substring(0, masterRoleInfo.HeadUrl.LastIndexOf("/")); } } else if (type == EChaterType.Friend) { COMDT_FRIEND_INFO gameOrSnsFriend = Singleton <CFriendContoller> .GetInstance().model.GetGameOrSnsFriend(ulluid, logicworld_id); if (gameOrSnsFriend != null) { name = UT.Bytes2String(gameOrSnsFriend.szUserName); int dwPvpLvl = (int)gameOrSnsFriend.dwPvpLvl; level = dwPvpLvl.ToString(); head_url = UT.Bytes2String(gameOrSnsFriend.szHeadUrl); stGameVip = gameOrSnsFriend.stGameVip; } } else if (type == EChaterType.Strenger) { COMDT_CHAT_PLAYER_INFO cOMDT_CHAT_PLAYER_INFO = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ulluid, logicworld_id); if (cOMDT_CHAT_PLAYER_INFO != null) { name = UT.Bytes2String(cOMDT_CHAT_PLAYER_INFO.szName); int dwLevel = (int)cOMDT_CHAT_PLAYER_INFO.dwLevel; level = dwLevel.ToString(); head_url = UT.Bytes2String(cOMDT_CHAT_PLAYER_INFO.szHeadUrl); stGameVip = cOMDT_CHAT_PLAYER_INFO.stVip; } } else if (type == EChaterType.Speaker || type == EChaterType.LoudSpeaker) { COMDT_CHAT_PLAYER_INFO cOMDT_CHAT_PLAYER_INFO2 = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ulluid, logicworld_id); if (cOMDT_CHAT_PLAYER_INFO2 != null) { name = UT.Bytes2String(cOMDT_CHAT_PLAYER_INFO2.szName); int dwLevel2 = (int)cOMDT_CHAT_PLAYER_INFO2.dwLevel; level = dwLevel2.ToString(); head_url = UT.Bytes2String(cOMDT_CHAT_PLAYER_INFO2.szHeadUrl); stGameVip = cOMDT_CHAT_PLAYER_INFO2.stVip; } } }
public static string Build_4_EntryString(EChatChannel type, ulong ullUid, uint iLogicWorldID, string rawText) { string str = string.Empty; if (type == EChatChannel.Friend) { COMDT_FRIEND_INFO gameOrSnsFriend = Singleton <CFriendContoller> .GetInstance().model.GetGameOrSnsFriend(ullUid, iLogicWorldID); if (gameOrSnsFriend != null) { str = string.Format(CChatController.fmt, UT.Bytes2String(gameOrSnsFriend.szUserName), rawText); } return(str); } if (type == EChatChannel.Lobby) { COMDT_CHAT_PLAYER_INFO comdt_chat_player_info = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ullUid, iLogicWorldID); if (comdt_chat_player_info != null) { str = string.Format(CChatController.fmt, UT.Bytes2String(comdt_chat_player_info.szName), rawText); } return(str); } if (type == EChatChannel.Guild) { COMDT_CHAT_PLAYER_INFO comdt_chat_player_info2 = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ullUid, iLogicWorldID); if (comdt_chat_player_info2 != null) { str = string.Format(CChatController.fmt, UT.Bytes2String(comdt_chat_player_info2.szName), rawText); } return(str); } if (type == EChatChannel.Room) { COMDT_CHAT_PLAYER_INFO comdt_chat_player_info3 = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ullUid, iLogicWorldID); if (comdt_chat_player_info3 != null) { str = string.Format(CChatController.fmt, UT.Bytes2String(comdt_chat_player_info3.szName), rawText); } return(str); } if (type == EChatChannel.Team) { COMDT_CHAT_PLAYER_INFO comdt_chat_player_info4 = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ullUid, iLogicWorldID); if (comdt_chat_player_info4 != null) { str = string.Format(CChatController.fmt, UT.Bytes2String(comdt_chat_player_info4.szName), rawText); } return(str); } return("ERROR, in Build_4_EntryString"); }
public static string Build_4_Speaker_EntryString(ulong ullUid, uint iLogicWorldID, string rawText) { COMDT_CHAT_PLAYER_INFO comdt_chat_player_info = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ullUid, iLogicWorldID); if (comdt_chat_player_info != null) { return(string.Format(CChatController.fmt, UT.Bytes2String(comdt_chat_player_info.szName), rawText)); } return("ERROR, in Build_4_EntryString"); }
public COMDT_CHAT_PLAYER_INFO Get_Palyer_Info(ulong ullUid, uint iLogicWorldID) { for (int i = 0; i < this.playerInfos.Count; i++) { COMDT_CHAT_PLAYER_INFO cOMDT_CHAT_PLAYER_INFO = this.playerInfos[i]; if (cOMDT_CHAT_PLAYER_INFO.ullUid == ullUid && (long)cOMDT_CHAT_PLAYER_INFO.iLogicWorldID == (long)((ulong)iLogicWorldID)) { return(cOMDT_CHAT_PLAYER_INFO); } } return(null); }
public void AddFriendBlack(COMDT_CHAT_PLAYER_INFO info, byte bGender, uint dwLastLoginTime) { if (info != null) { int friendBlackIndex = this.GetFriendBlackIndex(info.ullUid, (uint)info.iLogicWorldID); if (friendBlackIndex != -1) { this.m_blackList_friend.RemoveAt(friendBlackIndex); } this.m_blackList_friend.Add(this.Convert2BlackName(info, bGender, dwLastLoginTime)); } }
public int Has_PLAYER_INFO(COMDT_CHAT_PLAYER_INFO info) { int count = this.playerInfos.Count; for (int i = 0; i < count; i++) { if (this.playerInfos[i].ullUid == info.ullUid) { return(i); } } return(-1); }
public COMDT_CHAT_PLAYER_INFO Get_Palyer_Info(ulong ullUid, uint iLogicWorldID) { COMDT_CHAT_PLAYER_INFO comdt_chat_player_info = null; for (int i = 0; i < this.playerInfos.Count; i++) { comdt_chat_player_info = this.playerInfos[i]; if ((comdt_chat_player_info.ullUid == ullUid) && (comdt_chat_player_info.iLogicWorldID == iLogicWorldID)) { return(comdt_chat_player_info); } } return(null); }
public int Has_PLAYER_INFO(COMDT_CHAT_PLAYER_INFO info) { int result = -1; int count = this.playerInfos.Count; for (int i = 0; i < count; i++) { if (this.playerInfos[i].ullUid == info.ullUid) { result = i; break; } } return(result); }
public void Add_Palyer_Info(COMDT_CHAT_PLAYER_INFO info) { if (info != null) { int num = this.Has_PLAYER_INFO(info); if (num == -1) { this.playerInfos.Add(info); } else { this.playerInfos[num] = info; } } }
public static string Build_4_LoudSpeaker_EntryString(ulong ullUid, uint iLogicWorldID, string rawText) { COMDT_CHAT_PLAYER_INFO cOMDT_CHAT_PLAYER_INFO = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ullUid, iLogicWorldID); string result; if (cOMDT_CHAT_PLAYER_INFO != null) { result = string.Format(CChatController.fmt_gold_name, UT.Bytes2String(cOMDT_CHAT_PLAYER_INFO.szName), rawText); } else { result = "ERROR, in Build_4_EntryString"; } return(result); }
public void Add_Palyer_Info(COMDT_CHAT_PLAYER_INFO info) { if (info == null) { return; } int num = this.Has_PLAYER_INFO(info); if (num == -1) { this.playerInfos.Add(info); } else { this.playerInfos.set_Item(num, info); } }
public static string Build_4_ChatEntry(bool bFriend, CChatEntity ent) { string str = !bFriend ? Singleton <CTextManager> .instance.GetText("chat_title_total") : Singleton <CTextManager> .instance.GetText("chat_title_friend"); if (bFriend) { COMDT_FRIEND_INFO gameOrSnsFriend = Singleton <CFriendContoller> .GetInstance().model.GetGameOrSnsFriend(ent.ullUid, ent.iLogicWorldID); if (gameOrSnsFriend != null) { str = str + ColorString(0, UT.Bytes2String(gameOrSnsFriend.szUserName)) + ":" + ent.text; } return(str); } COMDT_CHAT_PLAYER_INFO comdt_chat_player_info = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ent.ullUid, ent.iLogicWorldID); if ((str != null) && (comdt_chat_player_info != null)) { str = str + ColorString(0, UT.Bytes2String(comdt_chat_player_info.szName)) + ":" + ent.text; } return(str); }
public static string Build_4_ChatEntry(bool bFriend, CChatEntity ent) { string text = bFriend ? Singleton <CTextManager> .instance.GetText("chat_title_friend") : Singleton <CTextManager> .instance.GetText("chat_title_total"); if (bFriend) { COMDT_FRIEND_INFO gameOrSnsFriend = Singleton <CFriendContoller> .GetInstance().model.GetGameOrSnsFriend(ent.ullUid, ent.iLogicWorldID); if (gameOrSnsFriend != null) { text = text + CChatUT.ColorString(0u, UT.Bytes2String(gameOrSnsFriend.szUserName)) + ":" + ent.text; } } else { COMDT_CHAT_PLAYER_INFO cOMDT_CHAT_PLAYER_INFO = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ent.ullUid, ent.iLogicWorldID); if (text != null && cOMDT_CHAT_PLAYER_INFO != null) { text = text + CChatUT.ColorString(0u, UT.Bytes2String(cOMDT_CHAT_PLAYER_INFO.szName)) + ":" + ent.text; } } return(text); }
public static string Build_4_EntryString(EChatChannel type, ulong ullUid, uint iLogicWorldID, string rawText) { string result = string.Empty; if (type == EChatChannel.Friend) { COMDT_FRIEND_INFO gameOrSnsFriend = Singleton <CFriendContoller> .GetInstance().model.GetGameOrSnsFriend(ullUid, iLogicWorldID); if (gameOrSnsFriend != null) { result = string.Format(CChatController.fmt, UT.Bytes2String(gameOrSnsFriend.szUserName), rawText); } } else if (type == EChatChannel.Lobby) { COMDT_CHAT_PLAYER_INFO cOMDT_CHAT_PLAYER_INFO = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ullUid, iLogicWorldID); if (cOMDT_CHAT_PLAYER_INFO != null) { result = string.Format(CChatController.fmt, UT.Bytes2String(cOMDT_CHAT_PLAYER_INFO.szName), rawText); } } else if (type == EChatChannel.Guild) { COMDT_CHAT_PLAYER_INFO cOMDT_CHAT_PLAYER_INFO2 = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ullUid, iLogicWorldID); if (cOMDT_CHAT_PLAYER_INFO2 != null) { result = string.Format(CChatController.fmt, UT.Bytes2String(cOMDT_CHAT_PLAYER_INFO2.szName), rawText); } } else if (type == EChatChannel.GuildMatchTeam) { COMDT_CHAT_PLAYER_INFO cOMDT_CHAT_PLAYER_INFO3 = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ullUid, iLogicWorldID); if (cOMDT_CHAT_PLAYER_INFO3 != null) { result = string.Format(CChatController.fmt, UT.Bytes2String(cOMDT_CHAT_PLAYER_INFO3.szName), rawText); } } else if (type == EChatChannel.Room) { COMDT_CHAT_PLAYER_INFO cOMDT_CHAT_PLAYER_INFO4 = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ullUid, iLogicWorldID); if (cOMDT_CHAT_PLAYER_INFO4 != null) { result = string.Format(CChatController.fmt, UT.Bytes2String(cOMDT_CHAT_PLAYER_INFO4.szName), rawText); } } else if (type == EChatChannel.Team) { COMDT_CHAT_PLAYER_INFO cOMDT_CHAT_PLAYER_INFO5 = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ullUid, iLogicWorldID); if (cOMDT_CHAT_PLAYER_INFO5 != null) { result = string.Format(CChatController.fmt, UT.Bytes2String(cOMDT_CHAT_PLAYER_INFO5.szName), rawText); } } else if (type == EChatChannel.Settle) { COMDT_CHAT_PLAYER_INFO cOMDT_CHAT_PLAYER_INFO6 = Singleton <CChatController> .GetInstance().model.Get_Palyer_Info(ullUid, iLogicWorldID); if (cOMDT_CHAT_PLAYER_INFO6 != null) { result = string.Format(CChatController.fmt, UT.Bytes2String(cOMDT_CHAT_PLAYER_INFO6.szName), rawText); } } else { result = "ERROR, in Build_4_EntryString"; } return(result); }
private void On_Chat_GetMsg_NTF(CSPkg msg) { SCPKG_CMD_CHAT_NTF stChatNtf = msg.stPkgData.stChatNtf; if (stChatNtf.dwTimeStamp != 0) { Singleton <CChatController> .GetInstance().model.SetTimeStamp(EChatChannel.Lobby, stChatNtf.dwTimeStamp); } Singleton <CChatController> .GetInstance().model.SetRestFreeCnt(EChatChannel.Lobby, stChatNtf.dwRestChatFreeCnt); int num = Mathf.Min(stChatNtf.astChatMsg.Length, stChatNtf.bMsgCnt); if (num == 0) { this.cur_chatTimer_totalTime += step_time; if (this.cur_chatTimer_totalTime >= max_ChatTime) { this.cur_chatTimer_totalTime = max_ChatTime; } Singleton <CTimerManager> .instance.ResetTimerTotalTime(this.chatTimer, this.cur_chatTimer_totalTime * 0x3e8); } else { this.cur_chatTimer_totalTime = init_chatTime; Singleton <CTimerManager> .instance.ResetTimerTotalTime(this.chatTimer, this.cur_chatTimer_totalTime * 0x3e8); bool flag = false; bool flag2 = false; bool flag3 = false; bool flag4 = false; bool flag5 = false; for (int i = num - 1; i >= 0; i--) { COMDT_CHAT_MSG comdt_chat_msg = stChatNtf.astChatMsg[i]; if (CChatUT.Convert_ChatMsgType_Channel(comdt_chat_msg.bType) == EChatChannel.Friend) { COMDT_CHAT_PLAYER_INFO stFrom = comdt_chat_msg.stContent.stPrivate.stFrom; CChatEntity chatEnt = null; if (stFrom.ullUid == Singleton <CRoleInfoManager> .GetInstance().GetMasterRoleInfo().playerUllUID) { string content = UT.Bytes2String(comdt_chat_msg.stContent.stPrivate.szContent); chatEnt = CChatUT.Build_4_Self(content); this.model.channelMgr.Add_CurChatFriend(chatEnt); string a = string.Format(fmt, Singleton <CRoleInfoManager> .GetInstance().GetMasterRoleInfo().Name, content); this.model.sysData.Add_NewContent_Entry(a, EChatChannel.Friend); Singleton <EventRouter> .GetInstance().BroadCastEvent("Chat_FriendChatData_Change"); Singleton <EventRouter> .GetInstance().BroadCastEvent("Chat_ChatEntry_Change"); flag = true; } else { string rawText = UT.Bytes2String(comdt_chat_msg.stContent.stPrivate.szContent); chatEnt = CChatUT.Build_4_Friend(comdt_chat_msg.stContent.stPrivate); this.model.channelMgr.Add_ChatEntity(chatEnt, EChatChannel.Friend, stFrom.ullUid, (uint)stFrom.iLogicWorldID); string str4 = CChatUT.Build_4_EntryString(EChatChannel.Friend, stFrom.ullUid, (uint)stFrom.iLogicWorldID, rawText); this.model.sysData.Add_NewContent_Entry(str4, EChatChannel.Friend); this.model.sysData.LastChannel = EChatChannel.Friend; flag = true; } } else if (CChatUT.Convert_ChatMsgType_Channel(comdt_chat_msg.bType) == EChatChannel.Lobby) { if (this.view != null) { this.view.bRefreshNew = !this.view.IsCheckHistory(); } COMDT_CHAT_PLAYER_INFO comdt_chat_player_info2 = comdt_chat_msg.stContent.stLogicWord.stFrom; this.model.Add_Palyer_Info(comdt_chat_msg.stContent.stLogicWord.stFrom); CChatEntity entity2 = CChatUT.Build_4_Lobby(comdt_chat_msg.stContent.stLogicWord); if (comdt_chat_player_info2.ullUid == Singleton <CRoleInfoManager> .GetInstance().GetMasterRoleInfo().playerUllUID) { entity2.type = EChaterType.Self; } this.model.channelMgr.Add_ChatEntity(entity2, EChatChannel.Lobby, 0L, 0); string str5 = UT.Bytes2String(comdt_chat_msg.stContent.stLogicWord.szContent); string str6 = CChatUT.Build_4_EntryString(EChatChannel.Lobby, comdt_chat_player_info2.ullUid, (uint)comdt_chat_player_info2.iLogicWorldID, str5); this.model.sysData.Add_NewContent_Entry(str6, EChatChannel.Lobby); this.model.sysData.LastChannel = EChatChannel.Lobby; flag2 = true; } else if (CChatUT.Convert_ChatMsgType_Channel(comdt_chat_msg.bType) == EChatChannel.Guild) { COMDT_CHAT_PLAYER_INFO comdt_chat_player_info3 = comdt_chat_msg.stContent.stGuild.stFrom; this.model.Add_Palyer_Info(comdt_chat_msg.stContent.stGuild.stFrom); CChatEntity entity3 = CChatUT.Build_4_Guild(comdt_chat_msg.stContent.stGuild); if (comdt_chat_player_info3.ullUid == Singleton <CRoleInfoManager> .GetInstance().GetMasterRoleInfo().playerUllUID) { entity3.type = EChaterType.Self; } this.model.channelMgr.Add_ChatEntity(entity3, EChatChannel.Guild, 0L, 0); string str7 = UT.Bytes2String(comdt_chat_msg.stContent.stGuild.szContent); string str8 = CChatUT.Build_4_EntryString(EChatChannel.Guild, comdt_chat_player_info3.ullUid, (uint)comdt_chat_player_info3.iLogicWorldID, str7); this.model.sysData.Add_NewContent_Entry(str8, EChatChannel.Guild); this.model.sysData.LastChannel = EChatChannel.Guild; flag4 = true; } else if (CChatUT.Convert_ChatMsgType_Channel(comdt_chat_msg.bType) == EChatChannel.Room) { COMDT_CHAT_PLAYER_INFO info = comdt_chat_msg.stContent.stRoom.stFrom; this.model.Add_Palyer_Info(info); CChatEntity entity4 = CChatUT.Build_4_Room(comdt_chat_msg.stContent.stRoom); if (info.ullUid == Singleton <CRoleInfoManager> .GetInstance().GetMasterRoleInfo().playerUllUID) { entity4.type = EChaterType.Self; } this.model.channelMgr.Add_ChatEntity(entity4, EChatChannel.Room, 0L, 0); string str9 = UT.Bytes2String(comdt_chat_msg.stContent.stRoom.szContent); string str10 = CChatUT.Build_4_EntryString(EChatChannel.Room, info.ullUid, (uint)info.iLogicWorldID, str9); this.model.sysData.Add_NewContent_Entry(str10, EChatChannel.Room); flag3 = true; Singleton <EventRouter> .GetInstance().BroadCastEvent("Chat_RoomChatData_Change"); } else if (CChatUT.Convert_ChatMsgType_Channel(comdt_chat_msg.bType) == EChatChannel.Select_Hero) { COMDT_CHAT_PLAYER_INFO comdt_chat_player_info5 = comdt_chat_msg.stContent.stBattle.stFrom; this.model.Add_Palyer_Info(comdt_chat_msg.stContent.stBattle.stFrom); CChatEntity entity5 = CChatUT.Build_4_SelectHero(comdt_chat_msg.stContent.stBattle); this.model.channelMgr.Add_ChatEntity(entity5, EChatChannel.Select_Hero, 0L, 0); Singleton <EventRouter> .instance.BroadCastEvent("Chat_HeorSelectChatData_Change"); } else if (CChatUT.Convert_ChatMsgType_Channel(comdt_chat_msg.bType) == EChatChannel.Team) { COMDT_CHAT_PLAYER_INFO comdt_chat_player_info6 = comdt_chat_msg.stContent.stTeam.stFrom; this.model.Add_Palyer_Info(comdt_chat_msg.stContent.stTeam.stFrom); CChatEntity entity6 = CChatUT.Build_4_Team(comdt_chat_msg.stContent.stTeam); if (comdt_chat_player_info6.ullUid == Singleton <CRoleInfoManager> .GetInstance().GetMasterRoleInfo().playerUllUID) { entity6.type = EChaterType.Self; } this.model.channelMgr.Add_ChatEntity(entity6, EChatChannel.Team, 0L, 0); string str11 = UT.Bytes2String(comdt_chat_msg.stContent.stTeam.szContent); string str12 = CChatUT.Build_4_EntryString(EChatChannel.Team, comdt_chat_player_info6.ullUid, (uint)comdt_chat_player_info6.iLogicWorldID, str11); this.model.sysData.Add_NewContent_Entry(str12, EChatChannel.Team); this.model.sysData.LastChannel = EChatChannel.Team; flag5 = true; Singleton <EventRouter> .instance.BroadCastEvent("Chat_TeamChat_Change"); } else if (comdt_chat_msg.bType == 7) { Singleton <InBattleMsgMgr> .instance.Handle_InBattleMsg_Ntf(comdt_chat_msg.stContent.stInBattle); } } if (flag2) { Singleton <EventRouter> .GetInstance().BroadCastEvent("Chat_LobbyChatData_Change"); } if (flag) { Singleton <EventRouter> .GetInstance().BroadCastEvent("Chat_FriendChatData_Change"); } if (flag4) { Singleton <EventRouter> .GetInstance().BroadCastEvent("Chat_GuildChatData_Change"); } if (((flag2 || flag) || flag4) && (this.model.channelMgr.ChatTab == CChatChannelMgr.EChatTab.Normal)) { Singleton <EventRouter> .GetInstance().BroadCastEvent("Chat_ChatEntry_Change"); } if (flag3 && (this.model.channelMgr.ChatTab == CChatChannelMgr.EChatTab.Room)) { Singleton <EventRouter> .GetInstance().BroadCastEvent("Chat_ChatEntry_Change"); } if (((flag2 || flag) || flag5) && (this.model.channelMgr.ChatTab == CChatChannelMgr.EChatTab.Team)) { Singleton <EventRouter> .GetInstance().BroadCastEvent("Chat_ChatEntry_Change"); } } }
public stBlackName Convert2BlackName(COMDT_CHAT_PLAYER_INFO info, byte bGender, uint dwLastLoginTime) { return(new stBlackName { ullUid = info.ullUid, dwLogicWorldId = (uint)info.iLogicWorldID, name = UT.Bytes2String(info.szName), bIsOnline = 0, bGender = bGender, szHeadUrl = UT.Bytes2String(info.szHeadUrl), dwPvpLvl = info.dwLevel, dwLastLoginTime = dwLastLoginTime }); }
public void GetUser(ulong ullUid, uint dwLogicWorldId, out COMDT_FRIEND_INFO friendInfo, out COMDT_CHAT_PLAYER_INFO chatInfo) { friendInfo = this.GetGameOrSnsFriend(ullUid, dwLogicWorldId); if (friendInfo == null) { chatInfo = Singleton <CChatController> .instance.model.Get_Palyer_Info(ullUid, dwLogicWorldId); } else { chatInfo = null; } }