2020-08-05 18:50:28 +02:00
|
|
|
|
|
|
|
using NeonTea.Quakeball.TeaNet.Packets;
|
|
|
|
|
2020-08-07 20:20:13 +02:00
|
|
|
namespace NeonTea.Quakeball.Networking.Packets {
|
2020-08-05 18:50:28 +02:00
|
|
|
public class HelloPckt : Packet {
|
|
|
|
|
|
|
|
public string Text;
|
|
|
|
|
|
|
|
public override void Read(ByteBuffer buffer) {
|
|
|
|
Text = buffer.ReadString();
|
|
|
|
}
|
|
|
|
|
|
|
|
public override void Write(ByteBuffer buffer) {
|
2020-08-05 20:38:37 +02:00
|
|
|
buffer.Write(Text);
|
2020-08-05 18:50:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|