Skip to main content

SetSwitch

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

Internal helper that keeps at most one ModifierSet applied at a time.

Constructors​

MemberWhat it is
SetSwitch()Creates a SetSwitch with default values.

Fields​

1 private and internal field
MemberWhat it is
private ModifierSet activeThe set that is applied now.

Methods​

MemberWhat it is
void Set(ModifierSet set)Removes the current set and applies the new one, if it is different. Null clears it.