StringSettingValue
A class in Root.Township, Alta.Utilities.
Serializable check that a string game setting does, or does not, equal an expected value.
- Listed in Utilities and other Alta namespaces
Constructors
| Member | What it is |
|---|---|
StringSettingValue() | Creates a StringSettingValue with default values. |
Fields
3 private and internal fields
| Member | What it is |
|---|---|
private string expectedValue | The value to compare with. |
private bool isInversed | Flips the check to not equal. |
private StringGameSettingsAccess setting | The string setting to read. |
Properties
| Member | What it is |
|---|---|
bool IsValid { get; } | True when the setting equals expectedValue, or when it doesn't if isInversed is set. |
Used in
Members of other types that take, return or hold a StringSettingValue: