23 lines
425 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-17 16:53:23 -08:00
public class OrbSlotMessage : WorldObjectMessage
2020-12-07 18:49:51 +00:00
{
2021-12-14 23:57:21 -08:00
public int SlotIndex;
2020-12-07 18:49:51 +00:00
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);
2021-12-14 23:57:21 -08:00
SlotIndex = reader.ReadInt32();
2020-12-07 18:49:51 +00:00
}
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);
2021-12-14 23:57:21 -08:00
writer.Write(SlotIndex);
2020-12-07 18:49:51 +00:00
}
}
}