| | |
| | | //玩家在线情况
|
| | | public void RefreshOnlineType(HB306_tagGCSocialOnline onlineType)
|
| | | {
|
| | | DesignDebug.Log("RefreshOnlineType:ID" + onlineType.PlayerID + "在线情况:" + onlineType.OnlineType);
|
| | | DebugEx.Log("RefreshOnlineType:ID" + onlineType.PlayerID + "在线情况:" + onlineType.OnlineType);
|
| | | if(_socialPlayerDict.ContainsKey(onlineType.PlayerID))
|
| | | {
|
| | | _socialPlayerDict[onlineType.PlayerID].OnlineType = onlineType.OnlineType;
|
| | |
| | | public void AddFriend(HB301_tagGCAddSocialPlayer addfriend)
|
| | | {
|
| | | tempFriendData = null;
|
| | | DesignDebug.Log("AddFriend");
|
| | | DebugEx.Log("AddFriend");
|
| | | if (!_groupDict.ContainsKey(addfriend.GroupType))
|
| | | {
|
| | | Dictionary<uint, FriendPlayer> friendInfoDict = new Dictionary<uint, FriendPlayer>();
|
| | |
| | | public void FriendChatRedPointCtrl(ChatFriendData data)
|
| | | {
|
| | | newChatInfo = data;
|
| | | DesignDebug.Log("FriendChatRedPointCtrl");
|
| | | DebugEx.Log("FriendChatRedPointCtrl");
|
| | | }
|
| | |
|
| | | private void PrivateSomeone(int playerId)
|
| | |
| | |
|
| | | public string GetOnlineType(int onlineType)
|
| | | {
|
| | | DesignDebug.Log("在线状态:" + onlineType);
|
| | | DebugEx.Log("在线状态:" + onlineType);
|
| | | if (onlineType == 0)
|
| | | {
|
| | | return Language.Get("Friend108");
|