Type Aliases
AchievementsEvents
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
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
DocumentsEvents: { close: void; error:fetch: Error; fetch: Document; open: void }
Type declaration
close: void
error:fetch: Error
fetch: Document
open: void
FilesEvents
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
FullscreenEvents: { change: boolean; close: void; open: void }
Type declaration
change: boolean
close: void
open: void
GPEvents
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
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
GamesCollectionsEvents: { close: void; error:fetch: Error; fetch: GamesCollection; open: void }
Type declaration
close: void
error:fetch: Error
fetch: GamesCollection
open: void
ImagesEvents
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
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
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
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
PlayersEvents: { fetch: FetchPlayersOutput; fetch:error: Error }
Type declaration
fetch: FetchPlayersOutput
fetch:error: Error
SocialsEvents
SocialsEvents: { invite: boolean; joinCommunity: boolean; post: boolean; share: boolean }
Type declaration
invite: boolean
joinCommunity: boolean
post: boolean
share: boolean
Transaction
Transaction<T>: { ready: Promise<T>; abort: any; done: any }
Type Parameters
Type declaration
ready: Promise<T>
abort:function
- abort(err?: string | Error): any
Parameters
Optional err: string | Error
Returns any
done:function