| | |
| | |
|
| | | import GameWorld
|
| | | import ShareDefine
|
| | | import PlayerControl
|
| | | import ChPyNetSendPack
|
| | | import NetPackCommon
|
| | | import IpyGameDataPY
|
| | |
| | | #
|
| | | # return True
|
| | |
|
| | | def UpdatePlayerBillboard(curPlayer, bType, cmpValue, cmpValue2=0, cmpValue3=0, value1=None, value2=0, autoSort=False, **kwargs):
|
| | | def UpdatePlayerBillboard(curPlayer, bType, cmpValue, cmpValue2=0, cmpValue3=0, autoSort=False, **kwargs):
|
| | | ## 更新玩家排行榜
|
| | |
|
| | | #if not cmpValue and not cmpValue2 and not cmpValue3:
|
| | |
| | | playerID = curPlayer.GetID()
|
| | | playerName = curPlayer.GetPlayerName()
|
| | | playerOpInfo = GetBillboardOperateInfo(curPlayer)
|
| | | if value1 == None:
|
| | | value1 = curPlayer.GetOfficialRank()
|
| | | value1 = curPlayer.GetOfficialRank()
|
| | | value2 = PlayerControl.GetTitleID(curPlayer)
|
| | | kwargs["value3"] = curPlayer.GetFace()
|
| | | kwargs["value4"] = curPlayer.GetFacePic()
|
| | | kwargs["value5"] = curPlayer.GetModelMark()
|