Class: NotFoundPacket

net/packets~NotFoundPacket

new NotFoundPacket(itemsnullable)

Represents 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