| | |
| | |
|
| | | #默认14格子 + 开启的
|
| | | keyName = ChConfig.Def_Type_CanBuyPack_PlayerDict.get(packType)[ChConfig.Def_PlayerPackDict_Index_Key]
|
| | | count = ChConfig.Def_PlayerFirstLoginOpenBackCnt + curPlayer.NomalDictGetProperty(keyName)
|
| | | count = ItemCommon.GetPackInitCount(packType) + curPlayer.NomalDictGetProperty(keyName)
|
| | | curPack.SetCount(count)
|
| | |
|
| | | #通知客户端背包格子数目
|
| | |
| | |
|
| | | #默认42格子 + 开启的
|
| | | keyName = ChConfig.Def_Type_CanBuyPack_PlayerDict.get(packType)[ChConfig.Def_PlayerPackDict_Index_Key]
|
| | | count = ChConfig.Def_FirstLogin_OpenWareHouseCnt + curPlayer.NomalDictGetProperty(keyName)
|
| | | count = ItemCommon.GetPackInitCount(packType) + curPlayer.NomalDictGetProperty(keyName)
|
| | |
|
| | | curPack.SetCount(count)
|
| | |
|
| | |
| | | # @return None
|
| | | def Init_TreasurePack(curPlayer):
|
| | | curPack = curPlayer.GetItemManager().GetPack(ShareDefine.rptTreasure)
|
| | | curPack.SetCount(ChConfig.Def_PackCnt_Treasure)
|
| | | curPack.SetCount(ItemCommon.GetPackInitCount(ShareDefine.rptTreasure))
|
| | |
|
| | | #通知客户端
|
| | | curPack.Sync_PackCanUseCount()
|