com.GameInterface.Game.ShortcutBase

Summary
com.GameInterface.Game.ShortcutBase
Functions
GetShortcutDataGet information about the item equipped at itemPos in the shortcut interface.
RefreshShortcutsForces the client to send add or remove signal for each of the slots in the range.
MoveShortcutTry to move a shortcut to a new pos.
RemoveFromShortcutBarTry to remove a shortcut.
UseShortcutTry to use a shortcut.
AddSpellAdd a spell to a slot.

Functions

GetShortcutData

public static function GetShortcutData(itemPos: Number) : Object

Get information about the item equipped at itemPos in the shortcut interface.

Parameters

fromPos:Number The position pf the item to query

RefreshShortcuts

public static function RefreshShortcuts(fromPos: Number,
count: Number) : Void

Forces the client to send add or remove signal for each of the slots in the range.

Parameters

fromPos:Number The position to start the refersh from.
count:Number Number of positions to refresh.

MoveShortcut

public static function MoveShortcut(fromPos: Number,
toPos: Number) : Void

Try to move a shortcut to a new pos.  If the move was allowed, SignalShortcutMoved will be triggered.

Parameters

fromPos:Number The position to move from.
toPos:Number The position to move to.

RemoveFromShortcutBar

public static function RemoveFromShortcutBar(itemPos: Number) : Void

Try to remove a shortcut.  SignalShortcutRemoved will be triggered if the remove was legal.

Parameters

itemPos:Number The shortcut to remove.

UseShortcut

public static function UseShortcut(itemPos: Number,
target: ID32) : Void

Try to use a shortcut.  You will not know the outcome, but you might get a SignalCooldownTime.

Parameters

itemPos:Number The shortcut to use.

AddSpell

public static function AddSpell(itemPos: Number,
spellId: Number) : Void

Add a spell to a slot.  SignalShortcutAdded will be called on success.

Parameters

itemPos:Number The position on the bar.
spellId:Number The spell to auto add.
public static function GetShortcutData(itemPos: Number) : Object
Get information about the item equipped at itemPos in the shortcut interface.
public static function RefreshShortcuts(fromPos: Number,
count: Number) : Void
Forces the client to send add or remove signal for each of the slots in the range.
public static function MoveShortcut(fromPos: Number,
toPos: Number) : Void
Try to move a shortcut to a new pos.
public static function RemoveFromShortcutBar(itemPos: Number) : Void
Try to remove a shortcut.
public static function UseShortcut(itemPos: Number,
target: ID32) : Void
Try to use a shortcut.
public static function AddSpell(itemPos: Number,
spellId: Number) : Void
Add a spell to a slot.
Close