2020-02-13 21:53:38 +01:00

18 lines
479 B
C#

using UnityEngine.Networking;
namespace QSB {
public class SectorMessage: MessageBase {
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);
}
}
}