Table of Contents

Method GetInt

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

GetInt(string, string)

Gets the stored integer with the specified key.

public int? GetInt(string prefix, string key)

Parameters

prefix string

The storage prefix/group.

key string

The storage key.

Returns

int?

The integer value stored with the specified key, otherwise null if the key has no value populated.