quantum-space-buddies/QuantumUNET/Messages/QRemovePlayerMessage.cs
2020-12-23 12:58:45 +00:00

13 lines
371 B
C#

using QuantumUNET.Transport;
namespace QuantumUNET.Messages
{
public class QRemovePlayerMessage : QMessageBase
{
public short PlayerControllerId;
public override void Serialize(QNetworkWriter writer) => writer.Write((ushort)PlayerControllerId);
public override void Deserialize(QNetworkReader reader) => PlayerControllerId = (short)reader.ReadUInt16();
}
}