ActionSlotIsCurrent
function · ui · primitive
- Address
0x4e53a0· 513 bytes, up to0x4e55a0- Signature
bool __fastcall (uint32_t slot)- Meaning
- Answers whether a slot's item, attack, spell, trade skill or form is the current one
- Confidence
- verified, proof one
- Finding
- ui/actionbar#checked-state
Finding: Checked state in ui: action bars
IsCurrentAction pushes 1 or nil from 0x4e53a0. An item slot is current while the item of the
in-flight item cast has the slot's entry. An attack slot is current while the player's attack target
(+0xc48) is set. Any other slot needs a spell with book flag 0 and is current when its spell is the
in-flight spell or the spell awaiting a target; or, for a spell whose first effect is 47, when the
open craft or trade-skill window names it; or, for a spell with a shapeshift aura effect (aura 36),
when that effect's misc value equals the player's form byte.
The derivation is in the doc.
Callers 1
Callees 9
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- ReadGuidAt objectlayer
- ActionSlotIsAttack ui
- GetActionSlotSpell ui
- FindSkillLineAbility spell
- GetCastSpellId spell
- GetCastItemGuidPtr spell
- GetTargetingSpellId spell
Calls and jumps by a bare address, from tables/calls.tsv.