少年修仙传客户端代码仓库
client_linchunjie
2018-08-14 c6689f941359227f0b99b20b9400ccbab81b671c
System/FriendSystem/New/FriendsModel.cs
@@ -252,7 +252,7 @@
    //玩家在线情况
    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;
@@ -281,7 +281,7 @@
    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>();
@@ -515,7 +515,7 @@
    public void FriendChatRedPointCtrl(ChatFriendData data)
    {
        newChatInfo = data;
        DesignDebug.Log("FriendChatRedPointCtrl");
        DebugEx.Log("FriendChatRedPointCtrl");
    }
    private void PrivateSomeone(int playerId)
@@ -572,7 +572,7 @@
    public string GetOnlineType(int onlineType)
    {
        DesignDebug.Log("在线状态:" + onlineType);
        DebugEx.Log("在线状态:" + onlineType);
        if (onlineType == 0)
        {
            return Language.Get("Friend108");