Skip to content

EffectPack.PackStorage ​

A class to locally store pack data during and between sessions.

Kind: Class

Namespace: CrowdControl.Games

Public Member Functions

void

RemoveValue(string name)

Removes a value from the local cache and registry.

void

AddValue<T>(string name, T value)

Sets a value in the local cache.

void

AddValue<T>(string name, T value, bool persistent)

Sets a value in the local cache.

bool

TryGetValue<T>(string name, T out value)

Gets a value from the local cache.

Properties

bool

Persistent

[get, set]

true to persist values in the registry, false to only store values temporarily.