Options
All
  • Public
  • Public/Protected
  • All
Menu

@nativewrappers/client

Index

Enumerations

Classes

Interfaces

Variables

Functions

Variables

DlcWeaponComponentData

DlcWeaponComponentData: Map<WeaponComponentHash, DlcWeaponComponentData>

DlcWeaponComponentData

DlcWeaponData

DlcWeaponData: Map<WeaponHash, DlcWeaponData>

DlcWeaponData - Mapping of WeaponHash -> DlcWeaponData

WeaponComponentHudStats

WeaponComponentHudStats: Map<WeaponComponentHash, WeaponComponentHudStats>

Mapping of WeaponComponentHash -> WeaponComponentHudStats

WeaponHudStats

WeaponHudStats: Map<WeaponHash, WeaponHudStats>

Mapping of WeaponHash -> WeaponHudStats

Functions

Const LoadAnimDict

  • LoadAnimDict(animDict: string, waitTime?: number): Promise<boolean>
  • A utility to load an animation dictionary, anything that loads an animation should RemoveAnimDict after its finish being used.

    Parameters

    • animDict: string

      the animation dictionary to load

    • waitTime: number = 1000

      how long to wait for the dictionary to load

    Returns Promise<boolean>

    if the animation successfully loaded

Const Wait

  • Wait(milliseconds: number): Promise<void>

enumValues

  • enumValues<T>(enumObj: {}): IterableIterator<T>
  • enumValues<T>(enumObj: {}): IterableIterator<Exclude<T, string>>

Const getStringFromUInt8Array

  • getStringFromUInt8Array(buffer: Uint8Array, start: number, end: number): string
  • get string from uint8 array

    Parameters

    • buffer: Uint8Array

      Uint8Array

    • start: number

      The beginning of the specified portion of the array

    • end: number

      The end of the specified portion of the array

    Returns string

Const getUInt32FromUint8Array

  • getUInt32FromUint8Array(buffer: Uint8Array, start: number, end: number): number
  • get uint32 from uint8 array

    Parameters

    • buffer: Uint8Array

      Uint8Array

    • start: number

      The beginning of the specified portion of the array

    • end: number

      The end of the specified portion of the array

    Returns number

Generated using TypeDoc