Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GatewayHandler

Gateway Handler

Hierarchy

  • GatewayHandler

Index

Constructors

constructor

Properties

_chunksWaiting

_chunksWaiting: BaseCollection<string, ChunkWaiting> = new BaseCollection<string, ChunkWaiting>()

client

client: ShardClient

disabledEvents

disabledEvents: BaseSet<string>

dispatchHandler

dispatchHandler: GatewayDispatchHandler

duplicateMemberEventsCache

duplicateMemberEventsCache: BaseCollection<string, string> = new BaseCollection<string, string>({expire: 2000})

loadAllMembers

loadAllMembers: boolean = false

Accessors

shouldLoadAllMembers

  • get shouldLoadAllMembers(): boolean
  • Returns boolean

Methods

onKilled

  • onKilled(payload: object): void
  • Parameters

    • payload: object

    Returns void

onPacket

  • Parameters

    Returns void

Generated using TypeDoc