23 lines
430 B
C#
Raw Normal View History

2021-12-13 21:18:16 -08:00
using QSB.WorldSync.Events;
using QuantumUNET.Transport;
2020-12-07 18:49:51 +00:00
namespace QSB.OrbSync.Events
{
2021-12-14 20:24:02 -08:00
public class OrbSlotMessage : BoolWorldObjectMessage
2020-12-07 18:49:51 +00:00
{
public int OrbId { get; set; }
2020-12-23 12:58:45 +00:00
public override void Deserialize(QNetworkReader reader)
2020-12-07 18:49:51 +00:00
{
base.Deserialize(reader);
OrbId = reader.ReadInt32();
}
2020-12-23 12:58:45 +00:00
public override void Serialize(QNetworkWriter writer)
2020-12-07 18:49:51 +00:00
{
base.Serialize(writer);
writer.Write(OrbId);
}
}
}