quantum-space-buddies/QuantumUNET/Messages/QSBErrorMessage.cs
Mister_Nebula 9f4d886903 more
2020-12-15 16:37:52 +00:00

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();
}
}