2021-12-17 16:53:27 -08:00

23 lines
425 B
C#

using QSB.WorldSync.Events;
using QuantumUNET.Transport;
namespace QSB.OrbSync.Events
{
public class OrbSlotMessage : WorldObjectMessage
{
public int SlotIndex;
public override void Deserialize(QNetworkReader reader)
{
base.Deserialize(reader);
SlotIndex = reader.ReadInt32();
}
public override void Serialize(QNetworkWriter writer)
{
base.Serialize(writer);
writer.Write(SlotIndex);
}
}
}