Exemplo n.º 1
0
 def Close(self):
     self.OnCloseQuestionDialog()
     shop.Close()
     net.SendShopEndPacket()
     self.CancelShopping()
     self.tooltipItem.HideToolTip()
     self.Hide()
 def Close(self):
     if self.itemBuyQuestionDialog:
         self.itemBuyQuestionDialog.Close()
         self.itemBuyQuestionDialog = None
         constInfo.SET_ITEM_QUESTION_DIALOG_STATUS(0)
     if self.questionDialog:
         self.OnCloseQuestionDialog()
     shop.Close()
     net.SendShopEndPacket()
     self.CancelShopping()
     self.tooltipItem.HideToolTip()
     self.Hide()
Exemplo n.º 3
0
 def Close(self):
     if app.ENABLE_OFFLINE_SHOP:
         if constInfo.SHOP_MOVE_FLAG:
             return
     if self.itemBuyQuestionDialog:
         self.itemBuyQuestionDialog.Close()
         self.itemBuyQuestionDialog = None
         constInfo.SET_ITEM_QUESTION_DIALOG_STATUS(0)
     if self.questionDialog:
         self.OnCloseQuestionDialog()
     shop.Close()
     net.SendShopEndPacket()
     self.CancelShopping()
     self.tooltipItem.HideToolTip()
     self.Hide()
Exemplo n.º 4
0
        def Close(self, isDestroy=False):
            self.interface.SetOnTopWindow(player.ON_TOP_WND_NONE)
            if not isDestroy:
                self.interface.RefreshMarkInventoryBag()

            if self.itemBuyQuestionDialog:
                self.itemBuyQuestionDialog.Close()
                self.itemBuyQuestionDialog = None
                constInfo.SET_ITEM_QUESTION_DIALOG_STATUS(0)

            self.OnCloseQuestionDialog()
            shop.Close()
            net.SendShopEndPacket()
            self.CancelShopping()
            self.tooltipItem.HideToolTip()
            self.Hide()