quantum-space-buddies/QuantumUNET/QSBStringMessage.cs

26 lines
408 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 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;
}
2020-12-04 09:29:23 +00:00
}