Table of Contents

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 DataModelTable

The table containing the variant being referenced

rowIndex Index

The row index within the containing table of the variant being referenced

columnIndex Index

The column index within the containing table of the variant being referenced

type DataModelType

The type of the variant being referenced

typeHash uint

The type hash of the variant

Properties

TypeHash

Gets/sets the type hash of the variant

public uint TypeHash { get; set; }

Property Value

uint

Methods

CreateNullReference(uint)

Create a DataModelVariant null reference

public static DataModelVariant CreateNullReference(uint typeHash)

Parameters

typeHash uint

The type hash of the variant

Returns

DataModelVariant