XRef<V, T>
Namespace: Shadop.Archmage.Sdk
Represents a cross-table reference using a config ID and a resolved object reference.
public struct XRef<V, T>Inheritance Object → ValueType → XRef<V, T>
Remarks:
XRef is a two-part structure: it stores both the config ID (serialized to JSON) and the resolved reference (set during the binding phase). This enables lazy resolution of references after all data is loaded.
Properties
Section titled “Properties”Config ID serialized to JSON; key for lookup during binding phase.
public V CfgId { get; set; }Property Value
Section titled “Property Value”V
Resolved object (not serialized). Populated by Atlas.BindRefs(); may be null if unresolved.
public T Ref { get; set; }Property Value
Section titled “Property Value”T
Constructors
Section titled “Constructors”XRef(V, T)
Section titled “XRef(V, T)”XRef(V cfgId, T refValue)Parameters
Section titled “Parameters”cfgId V
refValue T