Reference Field is a component that is able to store a reference for later use, as long as the reference still exists by then. This can be used in tandem with a [[Component:ReferenceGrabReceiver|Reference Grab Receiver Component]] as a place to store the value received by said component. This component's <code>Reference</code> field can be accessed with ProtoFlux. Using this as a [[ProtoFlux:Data Model Store|Data Model Store]] is considered bad practice due to it making your code harder to read, use, and transfer.
{{Infobox Component
{{Infobox Component
|Image=ReferenceField`1Component.png
|Image=ReferenceField`1Component.png
Line 11:
Line 11:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Reference|'''T'''|TypeAdv0=true|
|Reference|'''T'''|TypeAdv0=true| A field that can be used to store any reference [[:Category:Type|type]].
Reference Field is a component that is able to store a reference for later use, as long as the reference still exists by then. This can be used in tandem with a Reference Grab Receiver Component as a place to store the value received by said component. This component's Reference field can be accessed with ProtoFlux. Using this as a Data Model Store is considered bad practice due to it making your code harder to read, use, and transfer.