mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-11 00:52:19 +00:00
22 lines
430 B
C#
22 lines
430 B
C#
using QSB.QuantumUNET;
|
|
|
|
namespace QSB.Messaging
|
|
{
|
|
public class PlayerMessage : QSBMessageBase
|
|
{
|
|
public uint FromId { get; set; }
|
|
public uint AboutId { get; set; }
|
|
|
|
public override void Deserialize(QSBNetworkReader reader)
|
|
{
|
|
FromId = reader.ReadUInt32();
|
|
AboutId = reader.ReadUInt32();
|
|
}
|
|
|
|
public override void Serialize(QSBNetworkWriter writer)
|
|
{
|
|
writer.Write(FromId);
|
|
writer.Write(AboutId);
|
|
}
|
|
}
|
|
} |