L2JPREMIUM  5M
com.premium.game.model.TradeList Class Reference

Classes

class  TradeItem
 

Public Member Functions

 TradeList (L2PcInstance owner)
 
synchronized TradeItem addItem (int objectId, int count)
 
synchronized TradeItem addItem (int objectId, int count, int price)
 
synchronized TradeItem addItemByItemId (int itemId, int count, int price)
 
TradeItem adjustAvailableItem (L2ItemInstance item)
 
void adjustItemRequest (ItemRequest item)
 
void adjustItemRequestByItemId (ItemRequest item)
 
int calcItemsWeight ()
 
void clear ()
 
boolean confirm ()
 
int countItemsSlots (L2PcInstance partner)
 
TradeList.TradeItem[] getAvailableItems (PcInventory inventory)
 
TradeItem getItem (int objectId)
 
int getItemCount ()
 
TradeItem[] getItems ()
 
L2PcInstance getOwner ()
 
L2PcInstance getPartner ()
 
String getTitle ()
 
void invalidateConfirmation ()
 
boolean isConfirmed ()
 
boolean isLocked ()
 
boolean isPackaged ()
 
void lock ()
 
synchronized boolean privateStoreBuy (L2PcInstance player, ItemRequest[] items, int price)
 
synchronized boolean privateStoreSell (L2PcInstance player, ItemRequest[] items)
 
synchronized TradeItem removeItem (int objectId, int itemId, int count)
 
void setPackaged (boolean value)
 
void setPartner (L2PcInstance partner)
 
void setTitle (String title)
 
synchronized void updateItems ()
 

The documentation for this class was generated from the following file: