Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DLC

Contains mixed various types of function for dlcs, discounts, branding, etc.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    Returns DLC

Properties

config

config: ApiConfig

request

request: Request

setConfig

setConfig: (env: Env) => void

Type declaration

    • (env: Env): void
    • Parameters

      Returns void

Methods

getDlcLinks

  • getDlcLinks(assetId: number): Promise<AxiosResponse<DlcLink>>
  • Gets all DLC links

    method

    getDlcLinks

    async
    example
    InPlayer.DLC
    .getDlcLinks(36320)
    .then(data => console.log(data));

    Parameters

    • assetId: number

      The id of the asset

    Returns Promise<AxiosResponse<DlcLink>>

Generated using TypeDoc