public class InventoryClient
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
InventoryClient.ActivateMessage
the obj is the "main" oid for the message since that is what the
InventoryPlugin is subscribing on
|
static class |
InventoryClient.AddItemMessage |
static class |
InventoryClient.InvUpdateMessage |
static class |
InventoryClient.ItemInfo |
static class |
InventoryClient.LootAllMessage
message is asking the inventory plugin to execute looting by looter of
the passed in container
|
static class |
InventoryClient.RemoveOrFindItemMessage |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INV_METHOD_OID |
static java.lang.String |
INV_METHOD_TEMPLATE |
static java.lang.String |
INV_METHOD_TEMPLATE_LIST |
static Namespace |
ITEM_NAMESPACE |
static MessageType |
MSG_TYPE_ACTIVATE |
static MessageType |
MSG_TYPE_ADD_ITEM |
static MessageType |
MSG_TYPE_CREATE_INV |
static MessageType |
MSG_TYPE_DESTROY_ITEM |
static MessageType |
MSG_TYPE_INV_FIND |
static MessageType |
MSG_TYPE_INV_REMOVE |
static MessageType |
MSG_TYPE_INV_UPDATE |
static MessageType |
MSG_TYPE_LOOTALL |
static MessageType |
MSG_TYPE_RELOAD_PLAYER_INVENTORY |
static Namespace |
NAMESPACE |
static java.lang.String |
TEMPL_ACTIVATE_HOOK |
static java.lang.String |
TEMPL_DCMAP |
static java.lang.String |
TEMPL_EQUIP_INFO |
static java.lang.String |
TEMPL_ICON |
static java.lang.String |
TEMPL_ICON2 |
static java.lang.String |
TEMPL_ITEMS
template starting items
|
static java.lang.String |
TEMPL_PARRY_EFFECT |
static java.lang.String |
TEMPL_VALUE |
Constructor and Description |
---|
InventoryClient() |
Modifier and Type | Method and Description |
---|---|
static void |
activateObject(OID objOid,
OID activatorOid,
OID targetOid) |
static boolean |
addItem(OID containerOid,
OID mobOid,
OID rootContainerOid,
OID itemOid) |
static OID |
findItem(OID mobOid,
int templateID) |
static java.util.List<OID> |
findItems(OID mobOid,
java.util.ArrayList<java.lang.Integer> templateIDs) |
static void |
getInventory(OID objOid)
Requests a full inventory update from the InventoryPlugin
|
static boolean |
lootAll(OID looterOid,
OID containerOid) |
static void |
reloadPlayerInventory(OID palyerOid) |
static OID |
removeItem(OID mobOid,
int templateID) |
static OID |
removeItem(OID mobOid,
OID itemOid) |
static java.util.List<OID> |
removeItems(OID mobOid,
java.util.ArrayList<java.lang.Integer> templateNames) |
public static final MessageType MSG_TYPE_RELOAD_PLAYER_INVENTORY
public static final MessageType MSG_TYPE_ADD_ITEM
public static final MessageType MSG_TYPE_CREATE_INV
public static final MessageType MSG_TYPE_INV_UPDATE
public static final MessageType MSG_TYPE_ACTIVATE
public static final MessageType MSG_TYPE_LOOTALL
public static final MessageType MSG_TYPE_INV_FIND
public static final MessageType MSG_TYPE_INV_REMOVE
public static final MessageType MSG_TYPE_DESTROY_ITEM
public static final java.lang.String INV_METHOD_OID
public static final java.lang.String INV_METHOD_TEMPLATE
public static final java.lang.String INV_METHOD_TEMPLATE_LIST
public static final java.lang.String TEMPL_ITEMS
public static final java.lang.String TEMPL_EQUIP_INFO
public static final java.lang.String TEMPL_ACTIVATE_HOOK
public static final java.lang.String TEMPL_ICON
public static final java.lang.String TEMPL_ICON2
public static final java.lang.String TEMPL_DCMAP
public static final java.lang.String TEMPL_VALUE
public static final java.lang.String TEMPL_PARRY_EFFECT
public static Namespace NAMESPACE
public static Namespace ITEM_NAMESPACE
public static void getInventory(OID objOid)
public static boolean addItem(OID containerOid, OID mobOid, OID rootContainerOid, OID itemOid)
public static java.util.List<OID> removeItems(OID mobOid, java.util.ArrayList<java.lang.Integer> templateNames)
public static java.util.List<OID> findItems(OID mobOid, java.util.ArrayList<java.lang.Integer> templateIDs)
public static void reloadPlayerInventory(OID palyerOid)