2020-08-10 14:48:40 +01:00

21 lines
437 B
C#

using QSB.Messaging;
using UnityEngine.Networking;
namespace QSB.Messaging
{
public class PlayerMessage : MessageBase
{
public uint SenderId { get; set; }
public override void Deserialize(NetworkReader reader)
{
SenderId = reader.ReadUInt32();
}
public override void Serialize(NetworkWriter writer)
{
writer.Write(SenderId);
}
}
}