ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerSocial.py
@@ -26,7 +26,7 @@
import IpyGameDataPY
import PlayerViewCache
import PyGameData
import json
#--------------------社交圈基本结构-------------------
# 社交圈
class SocialPlayers(object):
@@ -98,6 +98,8 @@
        
    def GetCount(self):
        return len(self.SocialDict)
    def GetSocialIDList(self): return self.SocialDict.keys()
    
    def Find(self, tagID):
        return self.SocialDict.get(tagID, None)
@@ -721,7 +723,7 @@
            playerSocial.RealmLV = 1
            playerSocial.OnlineType = ChConfig.Def_Offline
        else:
            cacheDict = eval(curCache.GetPropData())
            cacheDict = json.loads(curCache.GetPropData())
    
            playerSocial.clear()
            playerSocial.PlayerID = playerID