Skip to content

Module: client/apis/LocaleAPI

Table of contents

Classes

Type aliases

Type aliases

GetCountryRegions

Ƭ GetCountryRegions: object

Type declaration:

Name Type
countryRegionList { code: string ; displayName: string ; name: string }[]

Defined in: client/apis/LocaleAPI.ts:8


GetCountryRegionsOptions

Ƭ GetCountryRegionsOptions: object

Type declaration:

Name Type
locale string

Defined in: client/apis/LocaleAPI.ts:5


GetLocales

Ƭ GetLocales: object

Type declaration:

Name Type
data { isEnabledForFullExperience: boolean ; isEnabledForInGameUgc: boolean ; isEnabledForSignupAndLogin: boolean ; locale: { id: number ; language: { id: number ; languageCode: string ; name: string ; nativeName: string } ; locale: string ; name: string ; nativeName: string } }[]

Defined in: client/apis/LocaleAPI.ts:18


GetLocalesOptions

Ƭ GetLocalesOptions: object

Type declaration:

Name Type
displayValueLocale? string

Defined in: client/apis/LocaleAPI.ts:15


GetLocusSupportedLocales

Ƭ GetLocusSupportedLocales: object

Type declaration:

Name Type
generalExperience GetLocales[data][0][locale]
signupAndLogin GetLocales[data][0][locale]
ugc GetLocales[data][0][locale]

Defined in: client/apis/LocaleAPI.ts:43


GetSupportedLocales

Ƭ GetSupportedLocales: object

Type declaration:

Name Type
supportedLocales GetLocales[data][0][locale][]

Defined in: client/apis/LocaleAPI.ts:37


GetUserLocale

Ƭ GetUserLocale: object

Type declaration:

Name Type
supportedLocale GetLocales[data][0][locale]

Defined in: client/apis/LocaleAPI.ts:40


SetUserLocale

Ƭ SetUserLocale: object

Type declaration:

Name Type
success boolean

Defined in: client/apis/LocaleAPI.ts:51


SetUserLocaleOptions

Ƭ SetUserLocaleOptions: object

Type declaration:

Name Type
supportedLocaleCode string

Defined in: client/apis/LocaleAPI.ts:48