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

Attribute applied to fields to make them persistant or available to the part action GUI More...

Inheritance diagram for KSPField:

Public Member Functions

 KSPField ()
 

Public Attributes

bool advancedTweakable
 Does this require advanced tweakables? More...
 
string category
 string category id More...
 
bool guiActive
 Is this field active on gui More...
 
bool guiActiveEditor
 Is this field active in the editor More...
 
string guiFormat
 The gui format string for this field (D4, F2, N0, etc). Blank if none More...
 
bool isPersistant
 Is this field persistant? More...
 

Properties

string guiName [get, set]
 The field's gui name More...
 
string guiUnits [get, set]
 

Private Attributes

string _guiName
 
string _guiUnits
 Is this field active on gui More...
 

Detailed Description

Attribute applied to fields to make them persistant or available to the part action GUI

Automatic persistance can only be applied to types which implement the IConfigNode interface or one of the following.. string, bool, int, float, Vector2, Vector3, Vector4 or Quaternion

Constructor & Destructor Documentation

KSPField.KSPField ( )
inline

Member Data Documentation

string KSPField._guiName
private
string KSPField._guiUnits
private

Is this field active on gui

bool KSPField.advancedTweakable

Does this require advanced tweakables?

string KSPField.category

string category id

bool KSPField.guiActive

Is this field active on gui

bool KSPField.guiActiveEditor

Is this field active in the editor

string KSPField.guiFormat

The gui format string for this field (D4, F2, N0, etc). Blank if none

bool KSPField.isPersistant

Is this field persistant?

Property Documentation

string KSPField.guiName
getset

The field's gui name

string KSPField.guiUnits
getset

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