Mister_Nebula 49fa4d1eeb
Nebula development (#96)
* oh my god so many things

* i came in and rewrote half the mod, sorry
2020-07-28 00:13:43 +01:00

25 lines
604 B
C#

using QSB.Messaging;
using UnityEngine.Networking;
namespace QSB.TransformSync
{
public class SectorMessage : QSBMessage
{
public override MessageType MessageType => MessageType.Sector;
public int SectorId;
public uint SenderId;
public override void Deserialize(NetworkReader reader)
{
SectorId = reader.ReadInt32();
SenderId = reader.ReadPackedUInt32();
}
public override void Serialize(NetworkWriter writer)
{
writer.Write(SectorId);
writer.Write(SenderId);
}
}
}