Table of Contents

Class EnumStateHolder

Namespace
ConfigurableWarning.API.State
Assembly
RedstoneWizard08.ContentLibrary.dll

A state holder for EnumOptions.

public sealed class EnumStateHolder
Inheritance
EnumStateHolder
Inherited Members

Methods

Get<T>(string)

Get an option's state.

public T? Get<T>(string name)

Parameters

name string

The option.

Returns

T

Its state.

Type Parameters

T

Set<T>(string, T)

Set an option's state.

public void Set<T>(string name, T value)

Parameters

name string

The option.

value T

The new state.

Type Parameters

T