public void Store <T>(string key, T value) { PluginData.Named.DataMap.Add(key, ToDataConvertors[typeof(T)](value, Level)); }
public void Store <T>(int index, T value) { PluginData.Indexed.DataMap.Add(index, ToDataConvertors[typeof(T)](value, Level)); }
public bool CanStoreAndLoad <T>() { return(FromDataConvertors.ContainsKey(typeof(T)) && ToDataConvertors.ContainsKey(typeof(T))); }
public void StoreNext <T>(T value) { PluginData.Sequential.Data.Add(ToDataConvertors[typeof(T)](value, Level)); }