Skip to content

ActionType for ActionBarSlotNumberArray - #1950

Merged
Haselnussbomber merged 8 commits into
aers:mainfrom
MidoriKami:ActionBarNumberArray-Enhancements
Sep 19, 2026
Merged

Haselnussbomber merged 8 commits into
aers:mainfrom
MidoriKami:ActionBarNumberArray-Enhancements

Conversation

@MidoriKami

Copy link
Copy Markdown
Contributor

No description provided.

@Zeffuro

Zeffuro commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Looks good to me. I did a bit more mapping based on this


public enum ActionType {
    None = 0,
    Macro = 47,
    Action = 48,
    Emote = 49,
    Item = 50,
    InventoryItem = 51,
    EventItem = 52,
    KeyItem = 53,
    Crystal = 54,
    Marker = 55,
    CraftAction = 56,
    GeneralAction = 57,
    BuddyAction = 58,
    MainCommand = 59,
    Companion = 60,
    GearSet = 61,
    PetAction = 62,
    Mount = 63,
    FieldMarker = 64,
    Recipe = 65,
    ChocoboRaceAbility = 66,
    ChocoboRaceItem = 67,
    Unknown23 = 68,
    ExtraCommand = 69,
    PvPQuickChat = 70,
    PvPCombo = 71,
    BgcArmyAction = 72,
    Unknown28 = 73,
    PerformanceInstrument = 74,
    McGuffin = 75,
    Ornament = 76,
    LostFindsItem = 77,
    Glasses = 78,
    QuickPanel = 79,
    Unknown36 = 80, // XBM related (AgentXBMContentsMainHUD), maybe BeastMasterAction, I haven't leveled to check this one
}

[FieldOffset(1 * 4)] private bool Unk1; This should be public int CostType

Another interesting one is [FieldOffset(0xCA)] public bool UsesAlternateActionTypeMapping;, when it sets this it uses an alternate mapping, like Action becomes 7, CraftAction becomes 12 etc. (see Client::UI::Misc::RaptureHotbarModule::HotbarSlot_GetIntermediateActionType)

@MidoriKami

Copy link
Copy Markdown
Contributor Author

Added your enum values, donno what you mean by UsesAlternateActionTypeMapping

Comment thread FFXIVClientStructs/FFXIV/Client/UI/Arrays/Common/ActionBarSlotNumberArray.cs Outdated
@github-actions github-actions Bot added the breaking change PR contains breaking changes and wont be merged before a new patch label Sep 15, 2026
@github-actions github-actions Bot removed the breaking change PR contains breaking changes and wont be merged before a new patch label Sep 15, 2026
@Haselnussbomber
Haselnussbomber merged commit d08a2ee into aers:main Sep 19, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants