mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 09:32:38 +00:00
26 lines
408 B
C#
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;
|
|
}
|
|
} |