Table of Contents

Struct ObjectModificationRow

Namespace
TdbIO
Assembly
TdbIO.dll

Decoded row of table 132 (object_modification, size 20): object modification timestamp and dependency.

public readonly record struct ObjectModificationRow : IEquatable<ObjectModificationRow>

Implements

Inherited Members

Constructors

ObjectModificationRow(int, int, int, int, int)

Decoded row of table 132 (object_modification, size 20): object modification timestamp and dependency.

public ObjectModificationRow(int ModificationId, int Id, int ModType, int DependencyId, int ModTime)

Parameters

ModificationId int

The modification event identifier (primary key).

Id int

The object identifier that was modified.

ModType int

The modification type code.

DependencyId int

The dependency object identifier.

ModTime int

The modification timestamp identifier.

Fields

ExpectedRowSize

The expected row body size in bytes: 20.

public const int ExpectedRowSize = 20

Field Value

int

TableKey

The table key in model database sections: 132.

public const int TableKey = 132

Field Value

int

Properties

DependencyId

The dependency object identifier.

public int DependencyId { get; init; }

Property Value

int

Id

The object identifier that was modified.

public int Id { get; init; }

Property Value

int

ModTime

The modification timestamp identifier.

public int ModTime { get; init; }

Property Value

int

ModType

The modification type code.

public int ModType { get; init; }

Property Value

int

ModificationId

The modification event identifier (primary key).

public int ModificationId { get; init; }

Property Value

int

Methods

Decode(ReadOnlySpan<byte>)

Decodes a row body into an TdbIO.ObjectModificationRow.

public static ObjectModificationRow Decode(ReadOnlySpan<byte> body)

Parameters

body ReadOnlySpan<byte>

Returns

ObjectModificationRow

Decode(TableRow)

Decodes the body of row into an TdbIO.ObjectModificationRow.

public static ObjectModificationRow Decode(TableRow row)

Parameters

row TableRow

Returns

ObjectModificationRow