Kerbal Space Program
1.12.4
|
Represents a cfg-parseable value that can be saved to file and parsed, regardless of data type This class is an abstraction for the many methods for writing and parsing the different data types More...
Public Types | |
enum | Type { Type.STRING, Type.BOOL, Type.UINT, Type.INT, Type.FLOAT, Type.DOUBLE, Type.VECTOR2, Type.VECTOR3, Type.VECTOR4, Type.QUATERNION, Type.UNKNOWN } |
Public Member Functions | |
KSPParseable (object Value, KSPParseable.Type Type) | |
KSPParseable (string Value) | |
string | Save () |
Public Attributes | |
KSPParseable.Type | type |
string | value |
Properties | |
bool | value_bool [get] |
double | value_double [get] |
float | value_float [get] |
int | value_int [get] |
Quaternion | value_quat [get] |
uint | value_uint [get] |
Vector2 | value_v2 [get] |
Vector3 | value_v3 [get] |
Vector4 | value_v4 [get] |
Represents a cfg-parseable value that can be saved to file and parsed, regardless of data type This class is an abstraction for the many methods for writing and parsing the different data types
This allows for the persistence system to blindly save data, registered for saving on other bits of code.
enum KSPParseable.Type |
|
inline |
|
inline |
|
inline |
KSPParseable.Type KSPParseable.type |
string KSPParseable.value |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |