mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-08 09:41:07 +00:00
13 lines
328 B
C#
13 lines
328 B
C#
|
using QuantumUNET.Transport;
|
|||
|
|
|||
|
namespace QuantumUNET.Messages
|
|||
|
{
|
|||
|
public class QErrorMessage : QMessageBase
|
|||
|
{
|
|||
|
public int errorCode;
|
|||
|
|
|||
|
public override void Serialize(QNetworkWriter writer) => writer.Write((ushort)errorCode);
|
|||
|
|
|||
|
public override void Deserialize(QNetworkReader reader) => errorCode = reader.ReadUInt16();
|
|||
|
}
|
|||
|
}
|