quantum-space-buddies/QuantumUNET/Messages/QStringMessage.cs
Mister_Nebula 34bb233cf5 cleanup
2020-12-24 16:34:24 +00:00

15 lines
361 B
C#

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();
}
}