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

21 lines
436 B
C#

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