Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
Capability.Value Class Reference

Representation of a capability value. Use Update() to update from underlying class object More...

Public Member Functions

override string ToString ()
 
void Update ()
 Updates the value from underlying class and field/property More...
 
 Value (object classObject, KSPCapabilityValue capability, FieldInfo field)
 Create a capability value for a reflected field More...
 
 Value (object classObject, KSPCapabilityValue capability, PropertyInfo property)
 Create a capability value for a reflected property More...
 

Properties

string name [get]
 Name of this value More...
 
string value [get, set]
 Formatted value (with any units appended) More...
 

Detailed Description

Representation of a capability value. Use Update() to update from underlying class object

Constructor & Destructor Documentation

Capability.Value.Value ( object  classObject,
KSPCapabilityValue  capability,
FieldInfo  field 
)
inline

Create a capability value for a reflected field

Capability.Value.Value ( object  classObject,
KSPCapabilityValue  capability,
PropertyInfo  property 
)
inline

Create a capability value for a reflected property

Member Function Documentation

override string Capability.Value.ToString ( )
inline
void Capability.Value.Update ( )
inline

Updates the value from underlying class and field/property

Property Documentation

string Capability.Value.name
get

Name of this value

string Capability.Value.value
getset

Formatted value (with any units appended)


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