Skip to main content
Version: 0.1.0

Struct StackCountComponent

Namespace: ReadyM.Relay.Common.Oblivion.ECS.Components
Assembly: ReadyM.Relay.Common.Oblivion.dll

Holds the number of items in a dropped item stack.

public struct StackCountComponent : IComponent, INetSerializable

Implements

IComponent, INetSerializable

Inherited Members

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

Constructors

StackCountComponent(int)

public StackCountComponent(int count)

Parameters

count int

Properties

Count

public int Count { get; set; }

Property Value

int

Methods

Assign(in StackCountComponent)

public void Assign(in StackCountComponent value)

Parameters

value StackCountComponent

Deserialize(NetDataReader)

public void Deserialize(NetDataReader reader)

Parameters

reader NetDataReader

Serialize(NetDataWriter)

public void Serialize(NetDataWriter writer)

Parameters

writer NetDataWriter