ActionAdventureKit 1.9.1
|
allows storing generic data alongside the item, for example ammo count, durability or upgrades
Public Member Functions | |
ItemValue (string key, string value) | |
void | SetValue< T > (T value) |
T | GetValue< T > () |
Static Public Member Functions | |
static bool | CheckValue (ItemValue[] values, string key) |
static void | SetValue< T > (ref ItemValue[] values, string key, T value) |
static T | GetValue< T > (ItemValue[] values, string key, T defaultValue) |
Public Attributes | |
string | Key |
string | Value |