Options
All
  • Public
  • Public/Protected
  • All
Menu

game-score-sdk

Index

Type Aliases

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

Type declaration

  • close: void
  • error:fetch: Error
  • error:unlock: Error
  • fetch: FetchPlayerAchievementsOutput
  • open: void
  • 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
GSEvents: { change:avatarGenerator: ProjectConfig["avatarGenerator"]; change:language: ProjectConfig["lang"]; init: void; overlay:ready: void }

Type declaration

  • change:avatarGenerator: ProjectConfig["avatarGenerator"]
  • change:language: ProjectConfig["lang"]
  • init: void
  • overlay:ready: void
GameVariablesEvents: { change: VariablesState; error:fetch: Error; fetch: ProjectVariable[] }

Type declaration

  • change: VariablesState
  • error:fetch: Error
  • fetch: ProjectVariable[]
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: { 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

  • 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; fetchProducts: PlayerPurchasesOutput; purchase: Pick<PurchasePlayerPurchaseOutput, "product" | "purchase"> }

Type declaration

  • consume: Pick<ConsumePlayerPurchaseOutput, "product" | "purchase">
  • error:consume: Error
  • error:fetchProducts: Error
  • error:purchase: Error
  • fetchProducts: PlayerPurchasesOutput
  • purchase: Pick<PurchasePlayerPurchaseOutput, "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