Skip to main content

AltaAccountRegistererAndLinker.LastCheckedField

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

Remembers the last username or email checked against the API on the registration screen, so the same value isn't sent again.

Constructors​

MemberWhat it is
LastCheckedField(AltaAccountRegistererAndLinker.AccountRegisteringSteps step, AltaAccountRegistererAndLinker manager)Creates an AltaAccountRegistererAndLinker.LastCheckedField from step and manager.

Fields​

MemberWhat it is
string lastCheckedValueThe value last sent for checking.
string lastGenericErrorError message shown for the last check, if any.
bool lastResultWhether the last checked value was valid.
2 private and internal fields
MemberWhat it is
private readonly AltaAccountRegistererAndLinker managerThe registration screen that owns this field.
private readonly AltaAccountRegistererAndLinker.AccountRegisteringSteps stepWhich registration field this is (username or email).

Methods​

MemberWhat it is
bool CheckActive(string newValue, out bool result)If the value is the same as last time, re-shows the last status or error and returns true with the cached result. Otherwise stores the new value and returns false.

Used in​

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