mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-10 15:53:19 +00:00
20 lines
416 B
C#
20 lines
416 B
C#
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);
|
|
}
|
|
}
|
|
}
|