Table of Contents

Class GameSetting

Namespace
Root
Assembly
SPZGameAssembly.dll
public abstract class GameSetting
Inheritance
object
GameSetting
Derived
Extension Methods

Constructors

GameSetting(string)

protected GameSetting(string partialId)

Parameters

partialId string

Fields

Id

public readonly string Id

Field Value

string

_OnChange

protected MultiRegisterEvent _OnChange

Field Value

MultiRegisterEvent

Properties

Description

public IText Description { get; }

Property Value

IText

IsModified

public abstract bool IsModified { get; }

Property Value

bool

OnChange

public IEvent OnChange { get; }

Property Value

IEvent

RequiresRestart

public virtual bool RequiresRestart { get; }

Property Value

bool

ShowInUI

public virtual bool ShowInUI { get; }

Property Value

bool

Title

public IText Title { get; }

Property Value

IText

Methods

CopyFrom(GameSetting)

public abstract void CopyFrom(GameSetting other)

Parameters

other GameSetting

Equals(GameSetting)

public abstract bool Equals(GameSetting other)

Parameters

other GameSetting

Returns

bool

GetHelpText()

public virtual string GetHelpText()

Returns

string

GetValueText()

public abstract IText GetValueText()

Returns

IText

ResetToDefault()

public abstract void ResetToDefault()

TrySetFromString(string)

public abstract bool TrySetFromString(string value)

Parameters

value string

Returns

bool