-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIGameConfig.ts
119 lines (119 loc) · 2.19 KB
/
IGameConfig.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
export interface IGameConfig {
build_time: string
build_version: number
publisher: string
game_title: string
game_slug: string
wheel_unlock_level: number
second_chance_price: number
default_language: string
feedback_enabled: boolean
feedback_url: string
analytics_enabled: boolean
lives: ILives
ads: IAds
purchases: IPurchases
piggy_bank: IPiggy_bank
widget_button: IWidget_button
greetings_screen: IGreetings_screen
fullscreen: IFullscreen
pregame_boosters_unlock: IPregame_boosters_unlock
boosters_unlock: IBoosters_unlock
video_rewards: IVideo_rewards
wheel_rewards: IWheel_rewards
}
interface ILives {
initialNum: number
refillInterval: number
refillPrices: IRefillPrices
}
interface IRefillPrices {
lives_x1: number
lives_x3: number
lives_x5: number
}
interface IAds {
rewarded: boolean
interstitials: boolean
minIntervalMs: number
}
interface IPurchases {
enabled: boolean
currency: ICurrency
}
interface ICurrency {
code: string
conversionRate: number
template: ITemplate
}
interface ITemplate {
en: string
ru: string
}
interface IPiggy_bank {
enabled: boolean
breakMethod: string
max_capacity: number
min_amount_to_open: number
}
interface IWidget_button {
start_level_screen: IStart_level_screen
pause_screen: IPause_screen
}
interface IStart_level_screen {
enabled: boolean
frame: string
}
interface IPause_screen {
enabled: boolean
frame: string
}
interface IGreetings_screen {
enabled: boolean
displayInterval: number
bonus: IBonus
superBonus: ISuperBonus
}
interface IBonus {
unlimitedLivesMs: number
coins: number
}
interface ISuperBonus {
unlimitedLivesMs: number
coins: number
}
interface IFullscreen {
enabled: boolean
}
interface IPregame_boosters_unlock {
stripes: number
bomb: number
super_sphere: number
}
interface IBoosters_unlock {
glove: number
rolling_pin: number
lollipop: number
}
interface IVideo_rewards {
lives: number
extra_moves: number
coins: number
stripes: number
bomb: number
super_sphere: number
glove: number
rolling_pin: number
lollipop: number
undo: number
}
interface IWheel_rewards {
coins: number
stripes: number
bomb: number
undo: number
glove: number
rolling_pin: number
lollipop: number
super_sphere: number
}