Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MatchAbortedBackInMatchingQueuePacket

Hierarchy

  • BasePacket
    • MatchAbortedBackInMatchingQueuePacket

Index

Constructors

constructor

Methods

getConstructor

  • getConstructor(): Function
  • Returns Function

getNiceData

  • getNiceData(): any
  • INTERNAL: Returns nice data to show

    Returns any

getNiceString

  • getNiceString(): string
  • Returns a nice string of this packet

    Returns string

getTransformedDataBeforeSend

  • getTransformedDataBeforeSend(): any

serialize

  • serialize(): Uint8Array
  • Serializes this packet into an array buffer

    Returns Uint8Array

Static getHeaderPacketId

  • getHeaderPacketId(): any
  • Returns the number id used for serializing / deserializing

    Returns any

Static getId

  • getId(): string
  • Returns string

Static getMaxSerializedLength

  • getMaxSerializedLength(): 0 | 1024
  • Returns the maximum length of the payload

    Returns 0 | 1024

Static getSchemaUnprocessed

  • getSchemaUnprocessed(): any
  • INTERNAL, returns the json schema

    Returns any

Static getSerializers

  • getSerializers(): any
  • Returns the schema used for serialization / deserialization

    Returns any

Static hasPayload

  • hasPayload(): boolean
  • Returns if the packet has some payload

    Returns boolean

Static precompileSchema

  • precompileSchema(): object
  • Precompiles the schema

    Returns object

    • validate: any

Static transformDataAfterReceive

  • transformDataAfterReceive(data: any): any
  • Override to transform data after receiving

    Parameters

    • data: any

    Returns any

Static tryParse

  • Tries to parse the given buffer

    Parameters

    • binaryData: any

    Returns BasePacket