Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SessionClientInfo

Session Client Info Structure, used in [Session]

Hierarchy

Index

Constructors

constructor

Properties

_keys

_keys: BaseSet<string> = keysSessionClientInfo

_keysMerge

_keysMerge: BaseSet<string> = keysMergeSessionClientInfo

client

client: ShardClient

clientString

clientString: string = "unknown"

os

os: string = "unknown"

session

session: Session

version

version: number = 0

Accessors

shardId

  • get shardId(): number
  • Returns number

Methods

[inspect.custom]

  • [inspect.custom](): object

_getFromSnake

  • _getFromSnake(key: string): any
  • Parameters

    • key: string

    Returns any

_setFromSnake

  • _setFromSnake(key: string, value: any): any
  • Parameters

    • key: string
    • value: any

    Returns any

difference

  • difference(key: string, value: any): [boolean, any]
  • Parameters

    • key: string
    • value: any

    Returns [boolean, any]

differences

merge

mergeValue

  • mergeValue(key: string, value: any): void
  • Parameters

    • key: string
    • value: any

    Returns void

toJSON

  • toJSON(): any
  • Returns any

Generated using TypeDoc