Skip to main content
Version: 1.0.0

Struct ItemStackData

Namespace: ReadyM.Relay.Common.Oblivion.Rpc
Assembly: ReadyM.Relay.Common.Oblivion.dll

A stack of one kind of item, matched by form, durability and charge together.

public struct ItemStackData : INetSerializable

Implements​

INetSerializable

Inherited Members​

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Fields​

BaseId​

The base form of the items.

public NetworkFormId BaseId

Field Value​

NetworkFormId

Charge​

Enchantment charge of the items, or -1 when they have the default value or no charge.

public float Charge

Field Value​

float

Count​

How many items the stack holds.

public int Count

Field Value​

int

Durability​

Durability of the items, or -1 when they have the default value or no durability.

public float Durability

Field Value​

float

  • Fields
    • BaseId
    • Charge
    • Count
    • Durability