m ProbablePrime moved page TypeField (Component) to Component:TypeField: Creating component Namespace |
Add info |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=TypeFieldComponent.png | |Image=TypeFieldComponent.png | ||
|Name=Type Field | |Name=Type Field | ||
}} | }} | ||
The '''TypeField''' component is used to store a [[Type:Type|Type]] which is usually a reference to a C# class. | |||
<!--T:2--> | <!--T:2--> | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Type|SyncType| | |Type|{{RootFieldType|SyncType}}|TypeAdv0=true| The Type this component is storing. | ||
}} | }} | ||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
This can be used with ProtoFlux to get the color of a Type or its full name. | |||
<!--T:4--> | <!--T:4--> | ||
== Examples == | == Examples == | ||
{{stub}} | |||
<!--T:5--> | <!--T:5--> | ||
== | == See Also == | ||
* [[Component:ValueField]] | |||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Type Field]] | [[Category:Components{{#translation:}}|Type Field]] | ||
[[Category:Components:Data{{#translation:}}|Type Field]] | [[Category:Components:Data{{#translation:}}|Type Field]] |
Latest revision as of 03:34, 12 November 2024
Component image
The TypeField component is used to store a Type which is usually a reference to a C# class.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
Type
|
direct SyncType | The Type this component is storing. |
Usage
This can be used with ProtoFlux to get the color of a Type or its full name.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.