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

Add to a field or property to allow the Capability to parse this field into a string value More...

Inheritance diagram for KSPCapabilityValue:

Public Member Functions

 KSPCapabilityValue (string name)
 

Public Attributes

string capabilityName = ""
 If the class has more than one capability, set this string to allow fields to distinguish between them More...
 
string format = ""
 Format string for the value (only applicable to int, float and double) More...
 
string units = ""
 Additional units string to append to value More...
 

Properties

string name [get, set]
 The value name More...
 

Detailed Description

Add to a field or property to allow the Capability to parse this field into a string value

Constructor & Destructor Documentation

KSPCapabilityValue.KSPCapabilityValue ( string  name)
inline

Member Data Documentation

string KSPCapabilityValue.capabilityName = ""

If the class has more than one capability, set this string to allow fields to distinguish between them

string KSPCapabilityValue.format = ""

Format string for the value (only applicable to int, float and double)

string KSPCapabilityValue.units = ""

Additional units string to append to value

Property Documentation

string KSPCapabilityValue.name
getset

The value name


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