Skip to main content

FB1CategorizedStyleData

Overview

  • Per-category style data containing multiple style slots and a representative index for auto-dressing.

Metadata

FieldValue
Kindstruct
EnvironmentB1 - Presentation
Categorystructs

Properties (7)

NameTypeDescription
ActiveSlotIndexintegerIndex of the currently worn style slot. May differ from RepresentativeIndex when changed in customization.
LastRandomPickDayintegerGame day on which LastRandomSlotIndex was picked. Used to refresh the random look only once per day (at midnight). INDEX_NONE means not yet picked. Internal cache — hidden from editor.
LastRandomSlotIndexintegerLast slot index picked by ResolveCategorizedStyleRandomSlotIndex. Used to avoid picking the same slot consecutively. INDEX_NONE means no prior pick. Internal cache — hidden from editor.
RepresentativeIndexintegerIndex of the representative style slot used for auto-dressing in gameplay.
StylesFB1StyleSetting[]Style slots for this category. Each slot holds a complete style setting. Max count is MAX_CATEGORIZED_STYLE_SLOT.
bAutoChangeCategorizedStylebooleanWhether to automatically apply this category's style when the situation changes in gameplay.
bRandomChangeCategorizedStylebooleanWhether to pick a random slot (instead of the representative one) when the situation changes in gameplay.