| JASS Tools |
|
Global Variables | Functions That Return | Functions That Take
| |||||||||||
Global variables of type item:
|
Functions that return type item (   common.j,   common.ai,   Blizzard.j):
| native CreateItem (integer itemid, real x, real y) returns item |
| function CreateItemLoc (integer itemId, location loc) returns item |
| constant native GetEnumItem () returns item |
| constant native GetFilterItem () returns item |
| function GetItemOfTypeFromUnitBJ (unit whichUnit, integer itemId) returns item |
| function GetLastCreatedItem () returns item |
| function GetLastRemovedItem () returns item |
| constant native GetManipulatedItem () returns item |
| constant native GetOrderTargetItem () returns item |
| constant native GetSoldItem () returns item |
| constant native GetSpellTargetItem () returns item |
| native LoadItemHandle (hashtable table, integer parentKey, integer childKey) returns item |
| function LoadItemHandleBJ (integer key, integer missionKey, hashtable table) returns item |
| native PlaceRandomItem (itempool whichItemPool, real x, real y) returns item |
| function RandomItemInRectBJ (rect r, boolexpr filter) returns item |
| function RandomItemInRectSimpleBJ (rect r) returns item |
| native UnitAddItemById (unit whichUnit, integer itemId) returns item |
| function UnitAddItemByIdSwapped (integer itemId, unit whichHero) returns item |
| function UnitDropItem (unit inUnit, integer inItemID) returns item |
| native UnitItemInSlot (unit whichUnit, integer itemSlot) returns item |
| function UnitItemInSlotBJ (unit whichUnit, integer itemSlot) returns item |
| native UnitRemoveItemFromSlot (unit whichUnit, integer itemSlot) returns item |
| function UnitRemoveItemFromSlotSwapped (integer itemSlot, unit whichHero) returns item |
| function WidgetDropItem (widget inWidget, integer inItemID) returns item |
Functions that take type item as a parameter (   common.j,   common.ai,   Blizzard.j):
| function CheckItemStatus (item whichItem, integer status) returns boolean |
| native GetItemCharges (item whichItem) returns integer |
| native GetItemLevel (item whichItem) returns integer |
| function GetItemLoc (item whichItem) returns location |
| constant native GetItemName (item whichItem) returns string |
| native GetItemPlayer (item whichItem) returns player |
| native GetItemType (item whichItem) returns itemtype |
| native GetItemTypeId (item i) returns integer |
| native GetItemUserData (item whichItem) returns integer |
| native GetItemX (item i) returns real |
| native GetItemY (item i) returns real |
| function IsItemHiddenBJ (item whichItem) returns boolean |
| native IsItemInvulnerable (item whichItem) returns boolean |
| native IsItemOwned (item whichItem) returns boolean |
| native IsItemPawnable (item whichItem) returns boolean |
| native IsItemPowerup (item whichItem) returns boolean |
| native IsItemSellable (item whichItem) returns boolean |
| native IsItemVisible (item whichItem) returns boolean |
| function ItemAddIndicatorBJ (item whichItem, real red, real green, real blue, real transparency) returns nothing |
| function RectContainsItem (item whichItem, rect r) returns boolean |
| native RemoveItem (item whichItem) returns nothing |
| native SaveItemHandle (hashtable table, integer parentKey, integer childKey, item whichItem) returns boolean |
| function SaveItemHandleBJ (item whichItem, integer key, integer missionKey, hashtable table) returns boolean |
| native SetItemCharges (item whichItem, integer charges) returns nothing |
| native SetItemDropID (item whichItem, integer unitId) returns nothing |
| native SetItemDropOnDeath (item whichItem, boolean flag) returns nothing |
| function SetItemDropOnDeathBJ (item whichItem, boolean flag) returns nothing |
| native SetItemDroppable (item i, boolean flag) returns nothing |
| function SetItemDroppableBJ (item whichItem, boolean flag) returns nothing |
| native SetItemInvulnerable (item whichItem, boolean flag) returns nothing |
| function SetItemInvulnerableBJ (item whichItem, boolean flag) returns nothing |
| native SetItemPawnable (item i, boolean flag) returns nothing |
| native SetItemPlayer (item whichItem, player whichPlayer, boolean changeColor) returns nothing |
| function SetItemPlayerBJ (item whichItem, player whichPlayer, boolean changeColor) returns nothing |
| native SetItemPosition (item i, real x, real y) returns nothing |
| function SetItemPositionLoc (item whichItem, location loc) returns nothing |
| native SetItemUserData (item whichItem, integer data) returns nothing |
| native SetItemVisible (item whichItem, boolean show) returns nothing |
| function SetItemVisibleBJ (boolean show, item whichItem) returns nothing |
| native UnitAddItem (unit whichUnit, item whichItem) returns boolean |
| function UnitAddItemSwapped (item whichItem, unit whichHero) returns boolean |
| native UnitDropItemPoint (unit whichUnit, item whichItem, real x, real y) returns boolean |
| function UnitDropItemPointBJ (unit whichUnit, item whichItem, real x, real y) returns boolean |
| function UnitDropItemPointLoc (unit whichUnit, item whichItem, location loc) returns boolean |
| native UnitDropItemSlot (unit whichUnit, item whichItem, integer slot) returns boolean |
| function UnitDropItemSlotBJ (unit whichUnit, item whichItem, integer slot) returns boolean |
| native UnitDropItemTarget (unit whichUnit, item whichItem, widget target) returns boolean |
| function UnitDropItemTargetBJ (unit whichUnit, item whichItem, widget target) returns boolean |
| native UnitHasItem (unit whichUnit, item whichItem) returns boolean |
| native UnitRemoveItem (unit whichUnit, item whichItem) returns nothing |
| function UnitRemoveItemSwapped (item whichItem, unit whichHero) returns nothing |
| native UnitUseItem (unit whichUnit, item whichItem) returns boolean |
| function UnitUseItemDestructable (unit whichUnit, item whichItem, widget target) returns boolean |
| native UnitUseItemPoint (unit whichUnit, item whichItem, real x, real y) returns boolean |
| function UnitUseItemPointLoc (unit whichUnit, item whichItem, location loc) returns boolean |
| native UnitUseItemTarget (unit whichUnit, item whichItem, widget target) returns boolean |
| function UpdateStockAvailability (item whichItem) returns nothing |
![]()
| Copyright (c) 2003 Jeff Pang Not affiliated or endorsed by Blizzard Entertainment |
|