Class: NotFoundPacket

net/packets~NotFoundPacket(itemsnullable)

NotFound Packet

Constructor

new NotFoundPacket(itemsnullable)

Create a notfound packet.

Parameters:
Name Type Attributes Description
items Array.<InvItem> <nullable>
Source:

Extends

  • InvPacket

Methods

(static) fromRaw(data, encnullable) → {NotFoundPacket}

Instantiate notfound packet from serialized data.

Parameters:
Name Type Attributes Description
data Buffer
enc String <nullable>
Source:
Returns:
Type
NotFoundPacket

(static) fromReader(br) → {NotFoundPacket}

Instantiate notfound packet from buffer reader.

Parameters:
Name Type Description
br BufferReader
Source:
Returns:
Type
NotFoundPacket