def SelectItemSlot(self, slotPos): wndMgr.OnceIgnoreMouseLeftButtonUpEvent() inventorySlotPos = self.inventorySlotPosDict[slotPos] net.SendSelectItemPacket(inventorySlotPos) self.Hide()
def Close(self): wndMgr.OnceIgnoreMouseLeftButtonUpEvent() net.SendSelectItemPacket(0) self.Hide()