| | |
| | | import ItemControler
|
| | | import ShareDefine
|
| | | import ChConfig
|
| | | import PlayerSuccess
|
| | | import EventShell
|
| | |
|
| | | import math
|
| | |
|
| | |
| | | msgList = ["DonateItem", itemDict]
|
| | | GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(curPlayer.GetID(), 0, 0, "FamilyStore",
|
| | | '%s' % (msgList), len(str(msgList)))
|
| | | |
| | | EventShell.EventRespons_StoreDonate(curPlayer)
|
| | | return
|
| | |
|
| | | def OnFamilyStoreQueryResult(curPlayer, result):
|
| | |
| | | itemDict['IsBind'] = isBind
|
| | | ItemControler.GivePlayerEquip(curPlayer, itemDict, event=[ChConfig.ItemGive_FamilyStore, False, {}])
|
| | | else:
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, isBind, [IPY_GameWorld.rptItem], |
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, 0, [IPY_GameWorld.rptItem], |
| | | event=[ChConfig.ItemGive_FamilyStore, False, {}])
|
| | |
|
| | | # 广播战盟频道
|