public void Receive(PacketBuffer buffer) { protocolVersion = buffer.ReadVarInt(); serverAdress = buffer.ReadString(); serverPort = buffer.ReadUShort(); nextState = buffer.ReadVarInt(); }
public void Receive(PacketBuffer buffer) { username = buffer.ReadString(); }