quantum-space-buddies/QuantumUNET/QSBErrorMessage.cs

17 lines
328 B
C#
Raw Normal View History

2020-12-04 22:14:53 +00:00
namespace QuantumUNET
2020-12-04 09:23:27 +00:00
{
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;
}
2020-12-04 09:29:23 +00:00
}