Package com.l2jfrozen.gameserver.model.multisell

Examples of com.l2jfrozen.gameserver.model.multisell.MultiSellListContainer


                {
                        player.setMultiSellId(-1);
                        return;
                }
               
                MultiSellListContainer list = L2Multisell.getInstance().getList(_listId);

                int selectedList = player.getMultiSellId();
                if (list == null || list.getListId() != _listId || selectedList!=_listId)
                {
                        player.setMultiSellId(-1);
                        return;
                }
               
                if (player.isCastingNow()|| player.isCastingPotionNow())
                {
                        player.sendPacket(ActionFailed.STATIC_PACKET);
                        player.setMultiSellId(-1);
                        return;
                }

                for (MultiSellEntry entry : list.getEntries())
                {
                        if(entry.getEntryId() == _entryId)
                        {
                                doExchange(player, entry, list.getApplyTaxes(), list.getMaintainEnchantment(), _enchantment);
                               
                                //dnt change multisell on exchange to avoid new window open need
                                //player.setMultiSellId(-1);
                                return;
                        }
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.model.multisell.MultiSellListContainer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.