Example #1
0
	def __SendDropItemPacket(self, itemVNum, itemCount, itemInvenType = player.INVENTORY):
		if uiPrivateShopBuilder.IsBuildingPrivateShop():
			chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.DROP_ITEM_FAILURE_PRIVATE_SHOP)
			return
			
		if (uiOfflineShopBuilder.IsBuildingOfflineShop()):
			chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.DROP_ITEM_FAILURE_OFFLINE_SHOP)
			return
			
		if (uiOfflineShop.IsEditingOfflineShop()):
			chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.DROP_ITEM_FAILURE_OFFLINE_SHOP)
			return

		net.SendItemDropPacketNew(itemInvenType, itemVNum, itemCount)
Example #2
0
    def __SendMoveItemPacket(self, srcSlotPos, dstSlotPos, srcItemCount):
        # 개인상점 열고 있는 동안 아이템 사용 방지
        if uiPrivateShopBuilder.IsBuildingPrivateShop():
            chat.AppendChat(chat.CHAT_TYPE_INFO,
                            localeInfo.MOVE_ITEM_FAILURE_PRIVATE_SHOP)
            return

        if (uiOfflineShopBuilder.IsBuildingOfflineShop()):
            chat.AppendChat(chat.CHAT_TYPE_INFO,
                            localeInfo.MOVE_ITEM_FAILURE_OFFLINE_SHOP)
            return

        if (uiOfflineShop.IsEditingOfflineShop()):
            chat.AppendChat(chat.CHAT_TYPE_INFO,
                            localeInfo.MOVE_ITEM_FAILURE_OFFLINE_SHOP)
            return

        net.SendItemMovePacket(srcSlotPos, dstSlotPos, srcItemCount)
Example #3
0
    def __SendUseItemPacket(self, slotPos):
        # 개인상점 열고 있는 동안 아이템 사용 방지
        if uiPrivateShopBuilder.IsBuildingPrivateShop():
            chat.AppendChat(chat.CHAT_TYPE_INFO,
                            localeInfo.USE_ITEM_FAILURE_PRIVATE_SHOP)
            return

        if (uiOfflineShopBuilder.IsBuildingOfflineShop()):
            chat.AppendChat(chat.CHAT_TYPE_INFO,
                            localeInfo.USE_ITEM_FAILURE_OFFLINE_SHOP)
            return

        if (uiOfflineShop.IsEditingOfflineShop()):
            chat.AppendChat(chat.CHAT_TYPE_INFO,
                            localeInfo.USE_ITEM_FAILURE_OFFLINE_SHOP)
            return

        net.SendItemUsePacket(slotPos)
Example #4
0
			elif player.SLOT_TYPE_OFFLINE_SHOP == attachedSlotType:
				mouseModule.mouseController.RunCallBack("INVENTORY")

A??a?©¥daki kodu arat©¥n ;

		if uiPrivateShopBuilder.IsBuildingPrivateShop():
			chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.USE_ITEM_FAILURE_PRIVATE_SHOP)
			return

Yukardaki kodun alt©¥na a??a?©¥daki kodu ekleyin ;

		if (uiOfflineShopBuilder.IsBuildingOfflineShop()):
			chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.USE_ITEM_FAILURE_OFFLINE_SHOP)
			return
			
		if (uiOfflineShop.IsEditingOfflineShop()):
			chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.USE_ITEM_FAILURE_OFFLINE_SHOP)
			return

A??a?©¥daki kodu arat©¥n ;

		if uiPrivateShopBuilder.IsBuildingPrivateShop():
			chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.USE_ITEM_FAILURE_PRIVATE_SHOP)
			return

Yukardaki kodun alt©¥na a??a?©¥daki kodu ekleyin ;

		if (uiOfflineShopBuilder.IsBuildingOfflineShop()):
			chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.USE_ITEM_FAILURE_OFFLINE_SHOP)
			return