| | |
| | | && ChatCtrl.Inst.PteChatID == friendModel.tempFriendData.PlayerID)
|
| | | {
|
| | | ChatCtrl.Inst.PteChatName = friendModel.tempFriendData.PlayerName;
|
| | | LanguageVerify.toPlayerLevel = friendModel.tempFriendData.LV;
|
| | | }
|
| | | else
|
| | | {
|
| | | ChatCtrl.Inst.PteChatName = _dict != null && _dict.ContainsKey((uint)ChatCtrl.Inst.PteChatID) ?
|
| | | _dict[(uint)ChatCtrl.Inst.PteChatID].PlayerName : string.Empty;
|
| | | LanguageVerify.toPlayerLevel = _dict != null && _dict.ContainsKey((uint)ChatCtrl.Inst.PteChatID) ?
|
| | | _dict[(uint)ChatCtrl.Inst.PteChatID].LV : 0;
|
| | | }
|
| | | ChatCtrl.Inst.SelectRecentlyChat(ChatCtrl.Inst.PteChatID);
|
| | | m_RecentlyControl.m_Scorller.RefreshActiveCellViews();
|
| | |
| | | {
|
| | | ChatCtrl.Inst.PteChatID = (int)friendModel.tempFriendData.PlayerID;
|
| | | ChatCtrl.Inst.PteChatName = friendModel.tempFriendData.PlayerName;
|
| | | LanguageVerify.toPlayerLevel = friendModel.tempFriendData.LV;
|
| | | ChatCtrl.Inst.SelectRecentlyChat(ChatCtrl.Inst.PteChatID);
|
| | | return;
|
| | | }
|
| | |
| | | {
|
| | | ChatCtrl.Inst.PteChatID = (int)_dict.Keys.First();
|
| | | ChatCtrl.Inst.PteChatName = _dict[(uint)ChatCtrl.Inst.PteChatID].PlayerName;
|
| | | LanguageVerify.toPlayerLevel = _dict[(uint)ChatCtrl.Inst.PteChatID].LV;
|
| | | ChatCtrl.Inst.SelectRecentlyChat(ChatCtrl.Inst.PteChatID);
|
| | | }
|
| | | }
|