Table of Contents

Struct StrAttrRow

Namespace
TdbIO
Assembly
TdbIO.dll

Decoded row of table 39 (strattr, size 24): string attribute association.

public readonly record struct StrAttrRow : IEquatable<StrAttrRow>

Implements

Inherited Members

Constructors

StrAttrRow(int, int, int, int, int, int)

Decoded row of table 39 (strattr, size 24): string attribute association.

public StrAttrRow(int Id, int AttrId, int FatherId, int OwnerId, int Flags, int NameId)

Parameters

Id int

The string attribute row identifier (primary key).

AttrId int

Identifier of the attribute value in table 49 (strattr_attr).

FatherId int

Identifier of the object owning the attribute.

OwnerId int

Attribute owner identifier.

Flags int

Attribute flags.

NameId int

Identifier of the attribute name.

Fields

ExpectedRowSize

The expected row body size in bytes: 24.

public const int ExpectedRowSize = 24

Field Value

int

TableKey

The table key in model database sections: 39.

public const int TableKey = 39

Field Value

int

Properties

AttrId

Identifier of the attribute value in table 49 (strattr_attr).

public int AttrId { get; init; }

Property Value

int

FatherId

Identifier of the object owning the attribute.

public int FatherId { get; init; }

Property Value

int

Flags

Attribute flags.

public int Flags { get; init; }

Property Value

int

Id

The string attribute row identifier (primary key).

public int Id { get; init; }

Property Value

int

NameId

Identifier of the attribute name.

public int NameId { get; init; }

Property Value

int

OwnerId

Attribute owner identifier.

public int OwnerId { get; init; }

Property Value

int

Methods

Decode(ReadOnlySpan<byte>)

Decodes a row body into a TdbIO.StrAttrRow.

public static StrAttrRow Decode(ReadOnlySpan<byte> body)

Parameters

body ReadOnlySpan<byte>

Returns

StrAttrRow

Decode(TableRow)

Decodes the body of row into a TdbIO.StrAttrRow.

public static StrAttrRow Decode(TableRow row)

Parameters

row TableRow

Returns

StrAttrRow