18 lines
369 B
C#
Raw Normal View History

2020-12-23 12:58:45 +00:00
using QuantumUNET.Transport;
namespace QuantumUNET.Messages
{
public class QStringMessage : QMessageBase
{
public string value;
public QStringMessage(string v)
{
value = v;
}
public override void Serialize(QNetworkWriter writer) => writer.Write(value);
public override void Deserialize(QNetworkReader reader) => value = reader.ReadString();
}
}