CheckActivePlayer
function · ui · orchestration
- Address
0x494a50· 247 bytes, up to0x494b46- Meaning
- Answers whether an action of a kind may run; kinds 0 and 11 refuse a nonzero context and signal
- Confidence
- verified, proof one
- Finding
- ui/protected#protected-action-gate
Finding: Protected action gate in ui: protected actions
0x494a50(tag) answers whether an action of a kind may run. The Lua context word 0xceeac0 decides first. A nonzero (script) context
with tag 0 or 11 always returns 0, signalling the forbidden-action event. A nonzero context with
tag 2, 4 or 10 returns 1 only while one of the three input-event flags below is set; any other tag
returns 1. A zero (client) context with tag 0 or 11 returns 1 only while a flag is set; any other
tag returns 1.
The derivation is in the doc.
Callers 45
- CGGameUI::Reload ui
- CGGameUI::SelectTarget ui
- CGGameUI::TargetNearest ui
- Script::SendChatMessage ui
- CopyBindingSet ui
- SetKeyBinding ui
- SetPetBarSlot ui
- TogglePetSlotAutocast ui
- SendSpellAutocast ui
- PressPetAction ui
- SendPetAbandon ui
- CGTradeInfo::PlayerAccept ui
- PlaceOnActionSlot ui
- Script::CreateMacro ui
- Script::DeleteMacro ui
- Script::EditMacro ui
- Script::Jump input
- Script::ToggleRun input
- Script::ToggleAutoRun input
- Script::MoveForwardStart input
- Script::MoveForwardStop input
- Script::MoveBackwardStart input
- Script::MoveBackwardStop input
- Script::TurnLeftStart input
- Script::TurnLeftStop input
- Script::TurnRightStart input
- Script::TurnRightStop input
- Script::StrafeLeftStart input
- Script::StrafeLeftStop input
- Script::StrafeRightStart input
- Script::StrafeRightStop input
- Script::PitchUpStart input
- Script::PitchUpStop input
- Script::PitchDownStart input
- Script::PitchDownStop input
- Script::TurnOrActionStart input
- Script::TurnOrActionStop input
- Script::CameraOrSelectOrMoveStart input
- Script::CameraOrSelectOrMoveStop input
- CGPlayer_C::StartMeleeAttack objectlayer
- TryCastSpell spell
- BindSpellTargetObject spell
- Script::SpellTargetUnit spell
- Script::SpellStopTargeting spell
- Script::SpellStopCasting spell
Callees 6
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- FrameScript_SignalEvent ui
- FrameScript_SignalEvent2 ui
- IsButtonClickRunning ui
- IsEnterScriptRunning ui
Calls and jumps by a bare address, from tables/calls.tsv.