Class DataModelVariant
- Namespace
- LlamaLogic.Packages.Models.Data
- Assembly
- LlamaLogic.Packages.dll
Represents a VARIANT reference in a SimData or CombinedTuning resource (🔓)
public sealed class DataModelVariant : DataModelObject
- Inheritance
-
DataModelVariant
- Inherited Members
Constructors
DataModelVariant(DataModelTable, Index, Index, DataModelType, uint)
Initializes a new DataModelVariant (🔄️🏃)
public DataModelVariant(DataModelTable table, Index rowIndex, Index columnIndex, DataModelType type, uint typeHash)
Parameters
table
DataModelTableThe table containing the variant being referenced
rowIndex
IndexThe row index within the containing table of the variant being referenced
columnIndex
IndexThe column index within the containing table of the variant being referenced
type
DataModelTypeThe type of the variant being referenced
typeHash
uintThe type hash of the variant
Properties
TypeHash
Gets/sets the type hash of the variant
public uint TypeHash { get; set; }
Property Value
Methods
CreateNullReference(uint)
Create a DataModelVariant null reference
public static DataModelVariant CreateNullReference(uint typeHash)
Parameters
typeHash
uintThe type hash of the variant