quantum-space-buddies/QuantumUNET/QSBErrorMessage.cs
2020-12-04 22:14:53 +00:00

17 lines
328 B
C#

namespace QuantumUNET
{
public class QSBErrorMessage : QSBMessageBase
{
public override void Deserialize(QSBNetworkReader reader)
{
this.errorCode = (int)reader.ReadUInt16();
}
public override void Serialize(QSBNetworkWriter writer)
{
writer.Write((ushort)this.errorCode);
}
public int errorCode;
}
}