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

26 lines
408 B
C#

namespace QuantumUNET
{
public class QSBStringMessage : QSBMessageBase
{
public QSBStringMessage()
{
}
public QSBStringMessage(string v)
{
this.value = v;
}
public override void Deserialize(QSBNetworkReader reader)
{
this.value = reader.ReadString();
}
public override void Serialize(QSBNetworkWriter writer)
{
writer.Write(this.value);
}
public string value;
}
}