quantum-space-buddies/QuantumUNET/QSBRemovePlayerMessage.cs
2020-12-04 22:14:53 +00:00

17 lines
356 B
C#

namespace QuantumUNET
{
public class QSBRemovePlayerMessage : QSBMessageBase
{
public short PlayerControllerId;
public override void Deserialize(QSBNetworkReader reader)
{
PlayerControllerId = (short)reader.ReadUInt16();
}
public override void Serialize(QSBNetworkWriter writer)
{
writer.Write((ushort)PlayerControllerId);
}
}
}