WKLib 0.0.1
A modding library for White Knuckle
Loading...
Searching...
No Matches
WKLib.API.Config.ConfigValue< T > Class Template Reference
Inheritance diagram for WKLib.API.Config.ConfigValue< T >:
WKLib.API.Config.ConfigValueBase

Public Member Functions

 ConfigValue (ConfigFile file, string key, T currentValue, bool loadOnCreation=true)
 
 ConfigValue (WKLibAPI API, string key, T currentValue, bool loadOnCreation=true)
 
override object GetBoxedValue ()
 
override void LoadFromJToken (JToken token)
 
- Public Member Functions inherited from WKLib.API.Config.ConfigValueBase
object GetBoxedValue ()
 
void LoadFromJToken (JToken token)
 

Static Public Member Functions

static implicit operator T (ConfigValue< T > cfg)
 

Properties

Value [get, set]
 
ref T RefValue [get]
 
- Properties inherited from WKLib.API.Config.ConfigValueBase
string Key [get]
 
ConfigFile File [get]
 

Additional Inherited Members

- Protected Member Functions inherited from WKLib.API.Config.ConfigValueBase
 ConfigValueBase (ConfigFile file, string key)
 

Constructor & Destructor Documentation

◆ ConfigValue() [1/2]

WKLib.API.Config.ConfigValue< T >.ConfigValue ( ConfigFile file,
string key,
T currentValue,
bool loadOnCreation = true )

◆ ConfigValue() [2/2]

WKLib.API.Config.ConfigValue< T >.ConfigValue ( WKLibAPI API,
string key,
T currentValue,
bool loadOnCreation = true )

Member Function Documentation

◆ GetBoxedValue()

override object WKLib.API.Config.ConfigValue< T >.GetBoxedValue ( )

◆ LoadFromJToken()

override void WKLib.API.Config.ConfigValue< T >.LoadFromJToken ( JToken token)

◆ operator T()

static implicit WKLib.API.Config.ConfigValue< T >.operator T ( ConfigValue< T > cfg)
static

Property Documentation

◆ RefValue

ref T WKLib.API.Config.ConfigValue< T >.RefValue
get

◆ Value

T WKLib.API.Config.ConfigValue< T >.Value
getset

The documentation for this class was generated from the following file: