Table of Contents

Method Set

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

Set(string, string, int, bool)

Stores the specified value using the specified unique key.

public void Set(string prefix, string key, int value, bool persist = false)

Parameters

prefix string

The storage prefix/group.

key string

The storage key.

value int

The value to store.

persist bool

Set to true to include this value when the object is serialized.

Set(string, string, float, bool)

Stores the specified value using the specified unique key.

public void Set(string prefix, string key, float value, bool persist = false)

Parameters

prefix string

The storage prefix/group.

key string

The storage key.

value float

The value to store.

persist bool

Set to true to include this value when the object is serialized.

Set(string, string, string, bool)

Stores the specified value using the specified unique key.

public void Set(string prefix, string key, string value, bool persist = false)

Parameters

prefix string

The storage prefix/group.

key string

The storage key.

value string

The value to store.

persist bool

Set to true to include this value when the object is serialized.