![]() |
Kerbal Space Program
1.12.4
|
Represents a capability of a class to do various things. Contains a category, optional name and list of values. More...
Classes | |
| class | Value |
| Representation of a capability value. Use Update() to update from underlying class object More... | |
Public Member Functions | |
| override string | ToString () |
| void | Update () |
| Updates all values from the underlying class/type More... | |
Static Public Member Functions | |
| static List< Capability > | GetCapabilities (object classObject) |
| Creates a list of capabilities from a given object More... | |
| static List< Capability > | GetCapabilities (List< object > classObjects) |
| Creates a list of capabilities from a given list of objects More... | |
Properties | |
| string | capabilityName [get] |
| The distinguishing name of this capability More... | |
| string | category [get] |
| The category of this capability More... | |
| List< Value > | values [get, set] |
| List of all values that this capability has More... | |
Represents a capability of a class to do various things. Contains a category, optional name and list of values.
Usage: Create list of capabilities with static methods GetCapabilities(obj) and GetCapabilities(list(obj))
|
inlinestatic |
Creates a list of capabilities from a given object
|
inlinestatic |
Creates a list of capabilities from a given list of objects
|
inline |
|
inline |
Updates all values from the underlying class/type
|
get |
The distinguishing name of this capability
|
get |
The category of this capability
|
getset |
List of all values that this capability has
1.8.7