quantum-space-buddies/QuantumUNET/Messages/QErrorMessage.cs
2020-12-23 12:58:45 +00:00

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