Table of Contents

Class ItemSnapshot

Namespace
Moongate.Persistence.Data.Persistence
Assembly
Moongate.Persistence.dll

Serialized item state used inside world snapshots and journal payloads.

[MemoryPackable(GenerateType.Object)]
public sealed class ItemSnapshot : IMemoryPackable<ItemSnapshot>, IMemoryPackFormatterRegister
Inheritance
ItemSnapshot
Implements
IMemoryPackable<ItemSnapshot>
IMemoryPackFormatterRegister
Inherited Members

Remarks

MemoryPack GenerateType: Object

uint Id
int X
int Y
int Z
string Name
int Weight
int Amount
bool IsStackable
byte Rarity
int ItemId
int Hue
int? GumpId
uint ParentContainerId
int ContainerX
int ContainerY
uint EquippedMobileId
byte? EquippedLayer
uint[] ContainedItemIds

Properties

Amount

public int Amount { get; set; }

Property Value

int

ContainedItemIds

public uint[] ContainedItemIds { get; set; }

Property Value

uint[]

ContainerX

public int ContainerX { get; set; }

Property Value

int

ContainerY

public int ContainerY { get; set; }

Property Value

int

EquippedLayer

public byte? EquippedLayer { get; set; }

Property Value

byte?

EquippedMobileId

public uint EquippedMobileId { get; set; }

Property Value

uint

GumpId

public int? GumpId { get; set; }

Property Value

int?

Hue

public int Hue { get; set; }

Property Value

int

Id

public uint Id { get; set; }

Property Value

uint

IsStackable

public bool IsStackable { get; set; }

Property Value

bool

ItemId

public int ItemId { get; set; }

Property Value

int

Name

public string? Name { get; set; }

Property Value

string

ParentContainerId

public uint ParentContainerId { get; set; }

Property Value

uint

Rarity

public byte Rarity { get; set; }

Property Value

byte

Weight

public int Weight { get; set; }

Property Value

int

X

public int X { get; set; }

Property Value

int

Y

public int Y { get; set; }

Property Value

int

Z

public int Z { get; set; }

Property Value

int