Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DataPacket

A packet which can be both received from the server and sent to the server.

Hierarchy

Implemented by

Index

Methods

Methods

read

  • Reads data from the reader according to the structure of the packet.

    Parameters

    • reader: Reader

      The reader to read from.

    Returns void

write

  • Writes the packet to the writer according to the packet's structure.

    Parameters

    • writer: Writer

      The writer to write to.

    Returns void

Generated using TypeDoc