quakeball/Assets/Scripts/Net/Packets/HelloPckt.cs

17 lines
369 B
C#
Raw Normal View History

using NeonTea.Quakeball.TeaNet.Packets;
namespace NeonTea.Quakeball.Net.Packets {
public class HelloPckt : Packet {
public string Text;
public override void Read(ByteBuffer buffer) {
Text = buffer.ReadString();
}
public override void Write(ByteBuffer buffer) {
buffer.WriteString(Text);
}
}
}