mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-06 01:00:16 +00:00
13 lines
371 B
C#
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();
|
|
}
|
|
} |