| | |
| | |
|
| | | import random
|
| | | import time
|
| | | import json
|
| | |
|
| | | # 被膜拜玩家 RecType = ShareDefine.Def_PlayerRecType_WorshipPlayer
|
| | | def GetWorshipType(recData): return recData.GetValue1() # 膜拜类型
|
| | |
| | | "VIPLV":cacheDict.get("VIPLV", 0),
|
| | | "TitleID":cacheDict.get("TitleID", 0),
|
| | | "FightPower":cacheDict.get("FightPower", 0),
|
| | | "EquipShowSwitch":cacheDict.get("EquipShowSwitch", 0),
|
| | | "EquipShowID":cacheDict.get("EquipShowID", []),
|
| | | }
|
| | | return modelShow
|
| | |
| | | infoPack.PlayerID = recPlayerID
|
| | | infoPack.WorshipType = GetWorshipType(recData)
|
| | | infoPack.WorshipValue = GetWorshipValue(recData)
|
| | | infoPack.PlayerInfo = str(modelShow).replace(" ", "")
|
| | | infoPack.PlayerInfo = json.dumps(modelShow, ensure_ascii=False).replace(" ", "")
|
| | | infoPack.InfoLen = len(infoPack.PlayerInfo)
|
| | |
|
| | | if curPlayer:
|