Options
All
  • Public
  • Public/Protected
  • All
Menu

game-score-sdk

Index

Type Aliases

AchievementsEvents: { close: void; erorr:progress: Error; error:fetch: Error; error:unlock: Error; fetch: FetchPlayerAchievementsOutput; open: void; progress: PlayerAchievement; unlock: Achievement }

Type declaration

  • close: void
  • erorr:progress: Error
  • error:fetch: Error
  • error:unlock: Error
  • fetch: FetchPlayerAchievementsOutput
  • open: void
  • progress: PlayerAchievement
  • unlock: Achievement
AdsEvents: { close: boolean; fullscreen:close: boolean; fullscreen:start: void; preloader:close: boolean; preloader:start: void; rewarded:close: boolean; rewarded:reward: void; rewarded:start: void; start: void; sticky:close: boolean; sticky:refresh: void; sticky:render: boolean; sticky:start: void }

Type declaration

  • close: boolean
  • fullscreen:close: boolean
  • fullscreen:start: void
  • preloader:close: boolean
  • preloader:start: void
  • rewarded:close: boolean
  • rewarded:reward: void
  • rewarded:start: void
  • start: void
  • sticky:close: boolean
  • sticky:refresh: void
  • sticky:render: boolean
  • sticky:start: void
DocumentsEvents: { close: void; error:fetch: Error; fetch: Document; open: void }

Type declaration

  • close: void
  • error:fetch: Error
  • fetch: Document
  • open: void
FilesEvents: { choose: { file: File; tempUrl: string }; error:choose: Error; error:fetch: Error; error:fetchMore: Error; error:loadContent: Error; error:upload: Error; fetch: FetchFilesOutput<FileInfo>; fetchMore: FetchFilesOutput<FileInfo>; loadContent: string; upload: FileInfo }

Type declaration

  • choose: { file: File; tempUrl: string }
    • file: File
    • tempUrl: string
  • error:choose: Error
  • error:fetch: Error
  • error:fetchMore: Error
  • error:loadContent: Error
  • error:upload: Error
  • fetch: FetchFilesOutput<FileInfo>
  • fetchMore: FetchFilesOutput<FileInfo>
  • loadContent: string
  • upload: FileInfo
FullscreenEvents: { change: boolean; close: void; open: void }

Type declaration

  • change: boolean
  • close: void
  • open: void
GPEvents: { change:avatarGenerator: ProjectConfig["avatarGenerator"]; change:language: Lang; change:orientation: boolean; event:connect: void; gameStart: void; gameplayStart: void; gameplayStop: void; init: void; overlay:ready: void; pause: void; resume: void }

Type declaration

  • change:avatarGenerator: ProjectConfig["avatarGenerator"]
  • change:language: Lang
  • change:orientation: boolean
  • event:connect: void
  • gameStart: void
  • gameplayStart: void
  • gameplayStop: void
  • init: void
  • overlay:ready: void
  • pause: void
  • resume: void
GameVariablesEvents: { change: VariablesState; error:fetch: Error; error:fetchPlatformVariables: Error; fetch: ProjectVariable[]; fetchPlatformVariables: Record<string, any> }

Type declaration

  • change: VariablesState
  • error:fetch: Error
  • error:fetchPlatformVariables: Error
  • fetch: ProjectVariable[]
  • fetchPlatformVariables: Record<string, any>
GamesCollectionsEvents: { close: void; error:fetch: Error; fetch: GamesCollection; open: void }

Type declaration

  • close: void
  • error:fetch: Error
  • fetch: GamesCollection
  • open: void
ImagesEvents: { choose: { file: File; tempUrl: string }; error:choose: Error; error:fetch: Error; error:fetchMore: Error; error:upload: Error; fetch: FetchFilesOutput<ImageInfo>; fetchMore: FetchFilesOutput<ImageInfo>; upload: ImageInfo }

Type declaration

  • choose: { file: File; tempUrl: string }
    • file: File
    • tempUrl: string
  • error:choose: Error
  • error:fetch: Error
  • error:fetchMore: Error
  • error:upload: Error
  • fetch: FetchFilesOutput<ImageInfo>
  • fetchMore: FetchFilesOutput<ImageInfo>
  • upload: ImageInfo
LeaderboardEvents: { close: void; error:fetch: void; error:fetchPlayer: any; error:fetchPlayerScoped: any; error:fetchScoped: void; error:publishRecord: any; fetch: RatingData; fetchPlayer: PlayerRatingData; fetchPlayerScoped: PlayerRatingData; fetchScoped: RatingData; open: void; openScoped: void; publishRecord: PlayerRecordData }

Type declaration

  • close: void
  • error:fetch: void
  • error:fetchPlayer: any
  • error:fetchPlayerScoped: any
  • error:fetchScoped: void
  • error:publishRecord: any
  • fetch: RatingData
  • fetchPlayer: PlayerRatingData
  • fetchPlayerScoped: PlayerRatingData
  • fetchScoped: RatingData
  • open: void
  • openScoped: void
  • publishRecord: PlayerRecordData
MyPlayerEvents: { change: any; fetchFields: boolean; load: boolean; login: boolean; ready: void; sync: boolean }

Type declaration

  • change: any
  • fetchFields: boolean
  • load: boolean
  • login: boolean
  • ready: void
  • sync: boolean
PaymentsEvents: { consume: Pick<ConsumePlayerPurchaseOutput, "product" | "purchase">; error:consume: Error; error:fetchProducts: Error; error:purchase: Error; error:subscribe: Error; error:unsubscribe: Error; fetchProducts: PlayerPurchasesOutput; purchase: Pick<PurchasePlayerPurchaseOutput, "product" | "purchase">; subscribe: Pick<PurchasePlayerPurchaseOutput, "product" | "purchase">; unsubscribe: Pick<ConsumePlayerPurchaseOutput, "product" | "purchase"> }

Type declaration

  • consume: Pick<ConsumePlayerPurchaseOutput, "product" | "purchase">
  • error:consume: Error
  • error:fetchProducts: Error
  • error:purchase: Error
  • error:subscribe: Error
  • error:unsubscribe: Error
  • fetchProducts: PlayerPurchasesOutput
  • purchase: Pick<PurchasePlayerPurchaseOutput, "product" | "purchase">
  • subscribe: Pick<PurchasePlayerPurchaseOutput, "product" | "purchase">
  • unsubscribe: Pick<ConsumePlayerPurchaseOutput, "product" | "purchase">
PlayersEvents: { fetch: FetchPlayersOutput; fetch:error: Error }

Type declaration

  • fetch: FetchPlayersOutput
  • fetch:error: Error
SocialsEvents: { invite: boolean; joinCommunity: boolean; post: boolean; share: boolean }

Type declaration

  • invite: boolean
  • joinCommunity: boolean
  • post: boolean
  • share: boolean
Transaction<T>: { ready: Promise<T>; abort: any; done: any }

Type Parameters

  • T = any

Type declaration

  • ready: Promise<T>
  • abort:function
    • abort(err?: string | Error): any
  • done:function
    • done(data: T): any

Functions

  • createTransaction<T>(__namedParameters?: { timeout?: number }): Transaction<T>

Generated using TypeDoc