public override Packet Read(byte[] data) { var ms = new MinecraftStream(data); var re = new LoginStart() { ID = ms.ReadVarInt() }; var l = ms.ReadVarInt(); re.Name = ms.ReadString(l); return re; }
public override Packet Read(byte[] data) { var ms = new MinecraftStream(data); var re = new LoginStart() { ID = ms.ReadVarInt() }; var l = ms.ReadVarInt(); re.Name = ms.ReadString(l); return(re); }