quantum-space-buddies/QSB/MessagesCore/PlayerMessage.cs
2020-12-04 09:29:23 +00:00

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);
}
}
}