Table of Contents

Struct ItemReference

Namespace
Moongate.UO.Data.Persistence.Entities
Assembly
Moongate.UO.Data.dll

Lightweight immutable item snapshot used for runtime equipment projections.

public readonly record struct ItemReference : IEquatable<ItemReference>
Implements
Inherited Members

Constructors

ItemReference(Serial, int, int)

Lightweight immutable item snapshot used for runtime equipment projections.

public ItemReference(Serial Id, int ItemId, int Hue)

Parameters

Id Serial

Item serial.

ItemId int

Item graphic identifier.

Hue int

Item hue.

Properties

Hue

Item hue.

public int Hue { get; init; }

Property Value

int

Id

Item serial.

public Serial Id { get; init; }

Property Value

Serial

ItemId

Item graphic identifier.

public int ItemId { get; init; }

Property Value

int