def SetItemData(self, pos, itemID, itemCount, itemPrice):
     shop.SetItemData(pos, itemID, itemCount, itemPrice)
示例#2
0
 def SetItemData(self, pos, itemID, itemCount, itemPrice):
     if app.ENABLE_OFFLINE_SHOP:
         targetSlot = self.itemSlotList["ItemSlot_%d" % self.GridSize]
     shop.SetItemData(pos, itemID, itemCount, itemPrice)
     if app.ENABLE_OFFLINE_SHOP:
         targetSlot.DisableSlot(pos)