Struct CharacterSheetOptions
What a given viewer of a character sheet is allowed to see.
public readonly struct CharacterSheetOptions
- Inherited Members
Remarks
The panel decides, the sheet renders. That split is the whole point of this type: the two windows that mount the sheet — the player's own equipment and an inspected character — differ only in what may be shown, never in how it is drawn, and a future profession that reveals more of an inspected character changes one of these values rather than forking the markup.
Read-only and defaulted by construction, so a caller cannot half-describe a sheet: there is no public setter and no parameterless constructor, which means every construction site says out loud which of the three regions it wants. The presets below are the two that exist today.
Constructors
CharacterSheetOptions(bool, bool, bool)
Describes a sheet.
public CharacterSheetOptions(bool showPreview, bool showStatusBar, bool showAttributes)
Parameters
showPreviewboolWhether to draw the character preview.
showStatusBarboolWhether to draw the status bar.
showAttributesboolWhether to build the attribute list.
Fields
ShowAttributes
Whether the attribute list is built and subscribed to.
public readonly bool ShowAttributes
Field Value
Remarks
False for an inspected character: their attributes are not theirs to show, and the panel the player compares against is already on screen beside it.
ShowPreview
Whether the 3D character preview is drawn.
public readonly bool ShowPreview
Field Value
ShowStatusBar
Whether the HP / MP / Stamina status bar is drawn.
public readonly bool ShowStatusBar
Field Value
Properties
Equipment
The player's own sheet: everything.
public static CharacterSheetOptions Equipment { get; }
Property Value
Inspect
Another character's sheet: gear, preview and vitals, and no attributes.
public static CharacterSheetOptions Inspect { get; }