mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-09 03:40:46 +00:00
23 lines
522 B
C#
23 lines
522 B
C#
using UnityEngine.Networking;
|
|
|
|
namespace QSB.Messaging
|
|
{
|
|
public class PlayerMessage : MessageBase
|
|
{
|
|
public uint FromId { get; set; }
|
|
public uint AboutId { get; set; }
|
|
|
|
public override void Deserialize(NetworkReader reader)
|
|
{
|
|
FromId = reader.ReadUInt32();
|
|
AboutId = reader.ReadUInt32();
|
|
}
|
|
|
|
public override void Serialize(NetworkWriter writer)
|
|
{
|
|
writer.Write(FromId);
|
|
writer.Write(AboutId);
|
|
}
|
|
}
|
|
}
|