mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-25 15:35:22 +00:00
20 lines
415 B
C#
20 lines
415 B
C#
using QSB.Messaging;
|
|
using UnityEngine.Networking;
|
|
|
|
namespace QSB.Messaging
|
|
{
|
|
public class SectorMessage : PlayerMessage
|
|
{
|
|
public int SectorId;
|
|
|
|
public override void Deserialize(NetworkReader reader)
|
|
{
|
|
SectorId = reader.ReadInt32();
|
|
}
|
|
|
|
public override void Serialize(NetworkWriter writer)
|
|
{
|
|
writer.Write(SectorId);
|
|
}
|
|
}
|
|
} |