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

This PropertyAttribute will allow enums to have multiple selectable values. More...

Inheritance diagram for UI_EnumAttribute:

Public Member Functions

 UI_EnumAttribute (Type objectType, int bitoffset)
 Add an enum attribute to a field. More...
 

Public Attributes

readonly int bitoffset
 
readonly Type objectType
 

Detailed Description

This PropertyAttribute will allow enums to have multiple selectable values.

Constructor & Destructor Documentation

UI_EnumAttribute.UI_EnumAttribute ( Type  objectType,
int  bitoffset 
)
inline

Add an enum attribute to a field.

Parameters
objectTypeThe type of the Enum
bitoffsetThe bit offset between the value of the Enum and the inspector value

Member Data Documentation

readonly int UI_EnumAttribute.bitoffset
readonly Type UI_EnumAttribute.objectType

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