Attribute to define slot properties
Public Types | |
enum | SlotArrayType { Unknown, Normal, Hidden } |
Defines what type of Array is used More... | |
Public Attributes | |
bool | Array |
Whether or not the slot accepts an array of CGData instances or a single instance of it More... | |
SlotArrayType | ArrayType = SlotArrayType.Normal |
When Array is true, this value defines what type of Array is used More... | |
readonly Type[] | DataTypes |
string | Name |
If empty Field's name will be used, with slight modifications More... | |
string | Tooltip |
Properties | |
string | DisplayName [get, set] |
If not null, this string will be used in the UI, while Name will be used in the data serialization and slots linking logic More... | |
Public Member Functions | |
int | CompareTo (object obj) |
Protected Member Functions | |
SlotInfo (string name, params Type[] type) | |
SlotInfo (params Type[] type) | |
|
strong |
Defines what type of Array is used
|
protected |
|
protected |
int CompareTo | ( | object | obj | ) |
bool Array |
Whether or not the slot accepts an array of CGData instances or a single instance of it
SlotArrayType ArrayType = SlotArrayType.Normal |
When Array is true, this value defines what type of Array is used
readonly Type [] DataTypes |
string Name |
If empty Field's name will be used, with slight modifications
string Tooltip |
|
getset |
If not null, this string will be used in the UI, while Name will be used in the data serialization and slots linking logic