Vixen
02b45cc4
csharp
public readonly record struct InputRow

What a row of the action tree is.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ Its members are nullable and every reader has to say so. default(InputRow) is what a tree with nothing selected produces — TreeNode.Tag is null then — and a struct's default runs no constructor and no property initializer, so a string member is genuinely null however the declaration is written. Coalescing in an accessor looks like it fixes this and does not; the readers use is { Length: > 0 }, which is correct for both null and empty and is the only shape that stays correct.

Fields and properties (4)

  • public string? Map

    The map it belongs to, by name.

  • public string? Action

    The action, by name, or empty for the map's own row.

  • public int Binding

    Which binding, or −1 for the action's own row.

  • public string? Scheme

    The control scheme, by name, or empty.

Methods (1)

  • public InputRow(string? Map, string? Action = null, int Binding = -1, string? Scheme = null)

    What a row of the action tree is.

Used by (1)

  • InputActionsViewVixen.Editor.AssetEditors