![]() |
Kerbal Space Program
1.12.4
|
Container class, this contains the reference to the KSPField attribute and the affected host object More...
Public Member Functions | |
| BaseField (K fieldAttrib, MemberInfo memberInfo, object host) | |
| object | GetValue (object host) |
| T | GetValue< T > (object host) |
| virtual void | SetOriginalValue () |
| bool | SetValue (object newValue, object host) |
Protected Member Functions | |
| BaseField () | |
Static Protected Attributes | |
| static Dictionary< System.Type, bool > | hasInterfaceDictionary = new Dictionary<System.Type, bool>() |
Properties | |
| K | Attribute [get] |
| The field attribute object More... | |
| FieldInfo | FieldInfo [get, set] |
| The reflected field info More... | |
| string | guiName [get, set] |
| The field's gui name More... | |
| bool | hasInterface [get, set] |
| Is this field representing a value which implements IConfigNode More... | |
| object | host [get, set] |
| object host More... | |
| MemberInfo | MemberInfo [get, set] |
| The generic reflected info More... | |
| string | name [get, set] |
| The external name of this field More... | |
| object | originalValue [get, set] |
| initial value for this field More... | |
Events | |
| Callback< object > | OnValueModified = o => { } |
| Called whenever the field value is modified through SetValue More... | |
Container class, this contains the reference to the KSPField attribute and the affected host object
| K | Type of the KSPField attribute to be handled |
| K | : | FieldAttribute |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in Expansions.Missions.Editor.BaseAPField.
|
inline |
|
staticprotected |
|
get |
The field attribute object
|
getset |
The reflected field info
|
getset |
The field's gui name
|
getset |
Is this field representing a value which implements IConfigNode
|
getset |
object host
|
getset |
The generic reflected info
|
getset |
The external name of this field
|
getset |
initial value for this field
Called whenever the field value is modified through SetValue
1.8.7