AbilityItemWindow

Parent: Window

Table of Content


Event

AbilitySelected

Params

  • wndHandler (Window) - The window that fires the event
  • wndControl (Window) - The window control with the event happened

Method

GetAbilityDescription()

Description

Does a lua_pushwstring of the ability's description from the tool tip id, or "" if the ability is not found.


Method

GetAbilityId()

Description

Does a lua_pushinteger of the caller's m_iSpellId.


Method

GetAbilityName()

Description

Does a lua_pushwstring of the ability's name from the name id, or "" if the ability is not found.


Method

GetAbilityTierId()


Method

SetAbilityId(nSpellId)

Description

Sets the caller's ability id to nSpellId.

Params

  • nSpellId (Integer) - (Default value: -1)

Method

SetSelected(bSelected)

Description

Sets the caller's m_bSelected boolean to bSelected.

Params

  • bSelected (Boolean)

results matching ""

    No results matching ""