| | |
| | | notifyStruct.Value = value
|
| | | notifyList.append(notifyStruct)
|
| | |
|
| | | # 负值货币
|
| | | for moneyType, refreshType in ShareDefine.MoneyMinusRefreshDict.items():
|
| | | if refreshType == None:
|
| | | # 不需要通知客户端
|
| | | continue
|
| | | value = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_MoneyMinus % moneyType)
|
| | | if not value:
|
| | | continue
|
| | | notifyStruct = ChPyNetSendPack.tagRefreshType()
|
| | | notifyStruct.RefreshType = refreshType
|
| | | notifyStruct.Value = value
|
| | | notifyList.append(notifyStruct)
|
| | | |
| | | #属性组合包 通知自己
|
| | | sendPack = ChPyNetSendPack.tagObjInfoListRefresh()
|
| | | sendPack.Clear()
|
| | |
| | | sendPack.Count = len(notifyList)
|
| | | sendPack.RefreshType = notifyList
|
| | | NetPackCommon.SendFakePack(curPlayer, sendPack)
|
| | | return
|
| | |
|
| | |
|
| | | ##玩家是否有钱款
|