mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-10 06:51:36 +00:00
24 lines
450 B
C#
24 lines
450 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using UnityEngine.Networking;
|
|||
|
|
|||
|
namespace QSB.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;
|
|||
|
}
|
|||
|
}
|