mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-09 03:40:46 +00:00
13 lines
336 B
C#
13 lines
336 B
C#
using QuantumUNET.Transport;
|
|
|
|
namespace QuantumUNET.Messages
|
|
{
|
|
public class QSBErrorMessage : QSBMessageBase
|
|
{
|
|
public int errorCode;
|
|
|
|
public override void Serialize(QSBNetworkWriter writer) => writer.Write((ushort)errorCode);
|
|
|
|
public override void Deserialize(QSBNetworkReader reader) => errorCode = reader.ReadUInt16();
|
|
}
|
|
} |