|
|||||||||
Atavism Version 2018.1 | AGIS API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatavism.agis.util.EquipHelper
public class EquipHelper
Contains static functions that assist with Equipping and Unequipping items.
Constructor Summary | |
---|---|
EquipHelper()
|
Method Summary | |
---|---|
static void |
ItemAcquiredStatHelper(OID oid,
AgisItem item,
boolean acquired,
CombatInfo obj)
Updates the stats and other properties of the character who has just acquired or lost an item. |
static void |
updateDisplay(OID mobOid,
java.lang.String displayVal,
AgisEquipSlot slot)
Sets the displayID on the player for the specified slot. |
static void |
UpdateEquiperStats(OID oid,
AgisItem itemToEquip,
AgisItem itemToUnequip,
CombatInfo obj)
Updates the stats and other properties of the character equipping or unequipping an item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EquipHelper()
Method Detail |
---|
public static void ItemAcquiredStatHelper(OID oid, AgisItem item, boolean acquired, CombatInfo obj)
oid
- item:
- The item acquired or lostacquired:
- True means the player now has the item, false means they lost it.obj
- public static void UpdateEquiperStats(OID oid, AgisItem itemToEquip, AgisItem itemToUnequip, CombatInfo obj)
oid:
- the identifier of the equipersitem:
- the item being equippedequipping:
- whether the item is being equipped or unequippedobj:
- the equipers combat objectpublic static void updateDisplay(OID mobOid, java.lang.String displayVal, AgisEquipSlot slot)
mobOid
- displayVal
- slot
-
|
Copyright © 2018 Dragonsan Studios Sp. z o.o. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |