| | |
| | | "LV":cacheDict["LV"],
|
| | | "RealmLV":cacheDict["RealmLV"],
|
| | | }
|
| | | if "PlayerID" in exAttrs:
|
| | | for attrName in exAttrs:
|
| | | if attrName == "PlayerID":
|
| | | shotCacheDict["PlayerID"] = playerID
|
| | | if "FightPower" in exAttrs:
|
| | | shotCacheDict["FightPower"] = cacheDict["FightPower"]
|
| | | if "ServerID" in exAttrs:
|
| | | elif attrName == "ServerID":
|
| | | shotCacheDict["ServerID"] = GameWorld.GetAccIDServerID(cacheDict["AccID"])
|
| | | if "OfflineValue" in exAttrs:
|
| | | elif attrName == "OfflineValue":
|
| | | olMgr = ChPlayer.GetOnlinePlayerMgr()
|
| | | shotCacheDict["OfflineValue"] = olMgr.GetOfflineValue(playerID, viewCache)
|
| | | # 附带外观模型展示相关
|
| | | if "Model" in exAttrs:
|
| | | elif attrName == "Model":
|
| | | shotCacheDict.update({
|
| | | "TitleID":cacheDict.get("TitleID", 0),
|
| | | "EquipShowSwitch":cacheDict.get("EquipShowSwitch", 0),
|
| | | "EquipShowID":cacheDict.get("EquipShowID", []),
|
| | | })
|
| | | elif attrName in cacheDict:
|
| | | shotCacheDict[attrName] = cacheDict[attrName]
|
| | | return shotCacheDict
|
| | |
|
| | | def GetSyncCrossCacheBase(curPlayer):
|