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
ContainedItemIds
public uint[] ContainedItemIds { get; set; }
Property Value
- uint[]
ContainerX
public int ContainerX { get; set; }
Property Value
ContainerY
public int ContainerY { get; set; }
Property Value
EquippedLayer
public byte? EquippedLayer { get; set; }
Property Value
- byte?
EquippedMobileId
public uint EquippedMobileId { get; set; }
Property Value
GumpId
public int? GumpId { get; set; }
Property Value
- int?
Hue
public int Hue { get; set; }
Property Value
Id
public uint Id { get; set; }
Property Value
IsStackable
public bool IsStackable { get; set; }
Property Value
ItemId
public int ItemId { get; set; }
Property Value
Name
public string? Name { get; set; }
Property Value
ParentContainerId
public uint ParentContainerId { get; set; }
Property Value
Rarity
public byte Rarity { get; set; }
Property Value
Weight
public int Weight { get; set; }
Property Value
X
public int X { get; set; }
Property Value
Y
public int Y { get; set; }
Property Value
Z
public int Z { get; set; }