def SetItemData(self, pos, itemID, itemCount, itemPrice): shop.SetItemData(pos, itemID, itemCount, itemPrice)
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)