Skip to main content

StringSettingValue

A class in Root.Township, Alta.Utilities.

Serializable check that a string game setting does, or does not, equal an expected value.

Constructors​

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

Fields​

3 private and internal fields
MemberWhat it is
private string expectedValueThe value to compare with.
private bool isInversedFlips the check to not equal.
private StringGameSettingsAccess settingThe string setting to read.

Properties​

MemberWhat 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: