15 lines
361 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;
2020-12-24 16:34:24 +00:00
public QStringMessage(string v) => value = v;
2020-12-23 12:58:45 +00:00
public override void Serialize(QNetworkWriter writer) => writer.Write(value);
public override void Deserialize(QNetworkReader reader) => value = reader.ReadString();
}
}