Skip to main content

BodyController.BodyControllerSettingsOverride

A private class in Root.Township, Alta.Character. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

A temporary BodyControllerSettings override on a BodyController, kept while a check returns true. Added with AddOverrideSetting.

Constructors​

MemberWhat it is
BodyControllerSettingsOverride(BodyControllerSettings settings, Func<bool> relevantCheck)Creates a BodyController.BodyControllerSettingsOverride from settings and relevantCheck.

Fields​

1 private and internal field
MemberWhat it is
private Func<bool> relevantCheckThe function that says whether the override still applies.

Properties​

MemberWhat it is
bool IsRelevant { get; }Runs the check. Once it returns false, BodyController.Settings drops this override.
BodyControllerSettings Settings { get; private set; }The settings to use while the override is relevant.

Used in​

Members of other types that take, return or hold a BodyControllerSettingsOverride: