@dchighs/dc-config 0.1.9 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dtos/game-config.d.ts +150 -47
- package/dist/dtos/game-config.js +2 -12
- package/package.json +1 -1
|
@@ -1181,11 +1181,11 @@ export interface FogIsland {
|
|
|
1181
1181
|
squares: FogIslandSquare[];
|
|
1182
1182
|
currencies: Currency[];
|
|
1183
1183
|
rewards: FogIslandReward[];
|
|
1184
|
-
actions:
|
|
1184
|
+
actions: ActionElement[];
|
|
1185
1185
|
hints: Hint[];
|
|
1186
1186
|
parameters: FogIslandParameter[];
|
|
1187
1187
|
}
|
|
1188
|
-
export interface
|
|
1188
|
+
export interface ActionElement {
|
|
1189
1189
|
id: number;
|
|
1190
1190
|
type: ActionType;
|
|
1191
1191
|
tid_name: ActionTidName;
|
|
@@ -1383,7 +1383,7 @@ export interface GridIsland {
|
|
|
1383
1383
|
encounters: Encounter[];
|
|
1384
1384
|
enemies: GridIslandEnemy[];
|
|
1385
1385
|
currencies: Currency[];
|
|
1386
|
-
actions:
|
|
1386
|
+
actions: ActionElement[];
|
|
1387
1387
|
parameters: FogIslandParameter[];
|
|
1388
1388
|
}
|
|
1389
1389
|
export interface Decoration {
|
|
@@ -2077,7 +2077,7 @@ export interface MazeIsland {
|
|
|
2077
2077
|
encounters: Encounter[];
|
|
2078
2078
|
enemies: GridIslandEnemy[];
|
|
2079
2079
|
happy_hours: any[];
|
|
2080
|
-
actions:
|
|
2080
|
+
actions: ActionElement[];
|
|
2081
2081
|
clouds: Cloud[];
|
|
2082
2082
|
currencies: Currency[];
|
|
2083
2083
|
parameters: FogIslandParameter[];
|
|
@@ -2171,14 +2171,17 @@ export interface MazeIslandReward {
|
|
|
2171
2171
|
export interface News {
|
|
2172
2172
|
"0": The0;
|
|
2173
2173
|
"1": The1;
|
|
2174
|
-
"2":
|
|
2174
|
+
"2": The10;
|
|
2175
2175
|
"3": The3;
|
|
2176
|
-
"4":
|
|
2177
|
-
"5":
|
|
2176
|
+
"4": The4;
|
|
2177
|
+
"5": The12;
|
|
2178
2178
|
"6": The6;
|
|
2179
2179
|
"7": The0;
|
|
2180
|
-
"8":
|
|
2181
|
-
"9":
|
|
2180
|
+
"8": The10;
|
|
2181
|
+
"9": The9;
|
|
2182
|
+
"10": The10;
|
|
2183
|
+
"11": The0;
|
|
2184
|
+
"12": The12;
|
|
2182
2185
|
canvas: Canva[];
|
|
2183
2186
|
}
|
|
2184
2187
|
export interface The0 {
|
|
@@ -2196,35 +2199,31 @@ export interface The0 {
|
|
|
2196
2199
|
start_ts: string;
|
|
2197
2200
|
}
|
|
2198
2201
|
export interface The0_Slide {
|
|
2199
|
-
content_localized_key?: string;
|
|
2200
2202
|
custom_title_localized_key: string;
|
|
2201
|
-
forceClose
|
|
2203
|
+
forceClose: boolean;
|
|
2202
2204
|
header_localized_key: string;
|
|
2203
2205
|
image_url: string;
|
|
2204
|
-
multiple_buttons: MultipleButton[];
|
|
2205
2206
|
times_to_show: number;
|
|
2206
|
-
type:
|
|
2207
|
+
type: string;
|
|
2208
|
+
content_localized_key?: string;
|
|
2209
|
+
multiple_buttons?: PurpleMultipleButton[];
|
|
2207
2210
|
}
|
|
2208
|
-
export interface
|
|
2211
|
+
export interface PurpleMultipleButton {
|
|
2209
2212
|
animation: AnimationNameEnum;
|
|
2210
2213
|
animationPlace: AnimationPlace;
|
|
2211
2214
|
forceClose: boolean;
|
|
2212
2215
|
glint: boolean;
|
|
2213
|
-
key:
|
|
2216
|
+
key: string;
|
|
2214
2217
|
link: string;
|
|
2215
2218
|
linkItemId?: number | string;
|
|
2216
2219
|
normalizedPosition: NormalizedPosition;
|
|
2217
2220
|
size: Size;
|
|
2218
2221
|
spineAsset: SpineAsset;
|
|
2219
|
-
style:
|
|
2222
|
+
style: string;
|
|
2220
2223
|
}
|
|
2221
2224
|
export declare enum AnimationPlace {
|
|
2222
2225
|
Foreground = "Foreground"
|
|
2223
2226
|
}
|
|
2224
|
-
export declare enum Key {
|
|
2225
|
-
Empty = "",
|
|
2226
|
-
TidNewsApocalypsepathButton = "tid_news_apocalypsepath_button"
|
|
2227
|
-
}
|
|
2228
2227
|
export interface NormalizedPosition {
|
|
2229
2228
|
x: number;
|
|
2230
2229
|
y: number;
|
|
@@ -2237,37 +2236,84 @@ export declare enum SpineAsset {
|
|
|
2237
2236
|
Empty = "",
|
|
2238
2237
|
PointerAnimationV2 = "pointer_animation_v2"
|
|
2239
2238
|
}
|
|
2240
|
-
export declare enum Style {
|
|
2241
|
-
BlueLarge = "BlueLarge",
|
|
2242
|
-
Transparent = "Transparent"
|
|
2243
|
-
}
|
|
2244
|
-
export declare enum SlideType {
|
|
2245
|
-
FullImage = "FullImage"
|
|
2246
|
-
}
|
|
2247
2239
|
export interface The1 {
|
|
2248
2240
|
active_platforms: ValueClass;
|
|
2249
2241
|
allow_island_tutorial: number;
|
|
2250
2242
|
assets_name: string;
|
|
2251
2243
|
direct_to_shop: number;
|
|
2252
2244
|
end_ts: string;
|
|
2245
|
+
filter_category: null;
|
|
2246
|
+
hud_button: The1_HudButton;
|
|
2253
2247
|
id: number;
|
|
2248
|
+
label_text_tid: null;
|
|
2249
|
+
label_title_tid: null;
|
|
2254
2250
|
min_level: number;
|
|
2255
2251
|
popup_frequency: string;
|
|
2256
2252
|
popup_type: string;
|
|
2253
|
+
priority: null;
|
|
2257
2254
|
show_on_startup: number;
|
|
2258
2255
|
slides: The1_Slide[];
|
|
2259
2256
|
start_ts: string;
|
|
2260
2257
|
}
|
|
2258
|
+
export interface The1_HudButton {
|
|
2259
|
+
file: string;
|
|
2260
|
+
title: string;
|
|
2261
|
+
viral_icon_tier: number;
|
|
2262
|
+
}
|
|
2261
2263
|
export interface The1_Slide {
|
|
2264
|
+
content_localized_key?: string;
|
|
2265
|
+
custom_title_localized_key: string;
|
|
2266
|
+
header_localized_key?: string;
|
|
2267
|
+
image_url: string;
|
|
2268
|
+
link: string;
|
|
2269
|
+
link_button_key: string;
|
|
2270
|
+
link_item_id?: number;
|
|
2271
|
+
slide_type: string;
|
|
2272
|
+
slide_type_2: string;
|
|
2273
|
+
timer?: string;
|
|
2274
|
+
times_to_show?: number;
|
|
2275
|
+
}
|
|
2276
|
+
export interface The10 {
|
|
2277
|
+
active_platforms: ValueClass;
|
|
2278
|
+
allow_island_tutorial: number;
|
|
2279
|
+
assets_name: string;
|
|
2280
|
+
direct_to_shop: number;
|
|
2281
|
+
end_ts: string;
|
|
2282
|
+
id: number;
|
|
2283
|
+
min_level: number;
|
|
2284
|
+
popup_frequency: string;
|
|
2285
|
+
popup_type: string;
|
|
2286
|
+
show_on_startup: number;
|
|
2287
|
+
slides: The10_Slide[];
|
|
2288
|
+
start_ts: string;
|
|
2289
|
+
}
|
|
2290
|
+
export interface The10_Slide {
|
|
2262
2291
|
content_localized_key: string;
|
|
2263
2292
|
custom_title_localized_key: string;
|
|
2264
2293
|
header_localized_key: string;
|
|
2265
2294
|
image_url: string;
|
|
2266
|
-
multiple_buttons:
|
|
2295
|
+
multiple_buttons: FluffyMultipleButton[];
|
|
2267
2296
|
times_to_show: number;
|
|
2268
|
-
type:
|
|
2297
|
+
type: string;
|
|
2298
|
+
forceClose?: boolean;
|
|
2299
|
+
}
|
|
2300
|
+
export interface FluffyMultipleButton {
|
|
2301
|
+
animation: AnimationNameEnum;
|
|
2302
|
+
animationPlace: AnimationPlace;
|
|
2303
|
+
forceClose: boolean;
|
|
2304
|
+
glint: boolean;
|
|
2305
|
+
key: string;
|
|
2306
|
+
link: string;
|
|
2307
|
+
linkItemId: number;
|
|
2308
|
+
normalizedPosition: NormalizedPosition;
|
|
2309
|
+
size: Size;
|
|
2310
|
+
spineAsset: SpineAsset;
|
|
2311
|
+
style: Style;
|
|
2312
|
+
}
|
|
2313
|
+
export declare enum Style {
|
|
2314
|
+
Transparent = "Transparent"
|
|
2269
2315
|
}
|
|
2270
|
-
export interface
|
|
2316
|
+
export interface The12 {
|
|
2271
2317
|
active_platforms: ValueClass;
|
|
2272
2318
|
allow_island_tutorial: number;
|
|
2273
2319
|
assets_name: string;
|
|
@@ -2281,7 +2327,7 @@ export interface The2 {
|
|
|
2281
2327
|
popup_type: string;
|
|
2282
2328
|
priority: null;
|
|
2283
2329
|
show_on_startup: number;
|
|
2284
|
-
slides:
|
|
2330
|
+
slides: The10_Slide[];
|
|
2285
2331
|
start_ts: string;
|
|
2286
2332
|
}
|
|
2287
2333
|
export interface The3 {
|
|
@@ -2293,7 +2339,6 @@ export interface The3 {
|
|
|
2293
2339
|
id: number;
|
|
2294
2340
|
min_level: number;
|
|
2295
2341
|
popup_frequency: string;
|
|
2296
|
-
popup_is_critical: boolean;
|
|
2297
2342
|
popup_type: string;
|
|
2298
2343
|
show_on_startup: number;
|
|
2299
2344
|
slides: The3_Slide[];
|
|
@@ -2304,38 +2349,96 @@ export interface The3_Slide {
|
|
|
2304
2349
|
custom_title_localized_key: string;
|
|
2305
2350
|
header_localized_key: string;
|
|
2306
2351
|
image_url: string;
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2352
|
+
multiple_buttons: PurpleMultipleButton[];
|
|
2353
|
+
times_to_show: number;
|
|
2354
|
+
type: string;
|
|
2355
|
+
}
|
|
2356
|
+
export interface The4 {
|
|
2357
|
+
active_platforms: ValueClass;
|
|
2358
|
+
allow_island_tutorial: number;
|
|
2359
|
+
assets_name: string;
|
|
2360
|
+
direct_to_shop: number;
|
|
2361
|
+
end_ts: string;
|
|
2362
|
+
hud_button: The1_HudButton;
|
|
2363
|
+
id: number;
|
|
2364
|
+
min_level: number;
|
|
2365
|
+
popup_frequency: string;
|
|
2366
|
+
popup_type: string;
|
|
2367
|
+
show_on_startup: number;
|
|
2368
|
+
slides: The1_Slide[];
|
|
2369
|
+
start_ts: string;
|
|
2313
2370
|
}
|
|
2314
2371
|
export interface The6 {
|
|
2315
2372
|
active_platforms: ValueClass;
|
|
2316
2373
|
allow_island_tutorial: number;
|
|
2317
2374
|
assets_name: string;
|
|
2375
|
+
direct_to_shop: number;
|
|
2318
2376
|
end_ts: string;
|
|
2319
|
-
hud_button: HudButton;
|
|
2320
2377
|
id: number;
|
|
2321
2378
|
min_level: number;
|
|
2379
|
+
popup_frequency: string;
|
|
2380
|
+
popup_is_critical: boolean;
|
|
2322
2381
|
popup_type: string;
|
|
2323
2382
|
show_on_startup: number;
|
|
2324
|
-
slides:
|
|
2383
|
+
slides: The1_Slide[];
|
|
2325
2384
|
start_ts: string;
|
|
2326
2385
|
}
|
|
2327
|
-
export interface
|
|
2386
|
+
export interface The9 {
|
|
2387
|
+
active_platforms: ValueClass;
|
|
2388
|
+
allow_island_tutorial: number;
|
|
2389
|
+
assets_name: string;
|
|
2390
|
+
end_ts: string;
|
|
2391
|
+
hud_button: The9_HudButton;
|
|
2392
|
+
id: number;
|
|
2393
|
+
min_level: number;
|
|
2394
|
+
popup_type: string;
|
|
2395
|
+
show_on_startup: number;
|
|
2396
|
+
slides: The1_Slide[];
|
|
2397
|
+
start_ts: string;
|
|
2398
|
+
}
|
|
2399
|
+
export interface The9_HudButton {
|
|
2328
2400
|
file: string;
|
|
2329
2401
|
title: string;
|
|
2330
2402
|
}
|
|
2331
2403
|
export interface Canva {
|
|
2332
2404
|
id: number;
|
|
2333
2405
|
assets_name: string;
|
|
2334
|
-
start_ts: number;
|
|
2335
|
-
end_ts: number;
|
|
2336
|
-
min_level
|
|
2337
|
-
slides:
|
|
2338
|
-
show_on_startup
|
|
2406
|
+
start_ts: number | string;
|
|
2407
|
+
end_ts: number | string;
|
|
2408
|
+
min_level?: number;
|
|
2409
|
+
slides: CanvaSlide[];
|
|
2410
|
+
show_on_startup?: number;
|
|
2411
|
+
}
|
|
2412
|
+
export interface CanvaSlide {
|
|
2413
|
+
custom_title_localized_key?: string;
|
|
2414
|
+
header_localized_key?: string;
|
|
2415
|
+
image_url?: string;
|
|
2416
|
+
times_to_show?: number;
|
|
2417
|
+
type?: string;
|
|
2418
|
+
multiple_buttons?: FluffyMultipleButton[];
|
|
2419
|
+
bg?: string;
|
|
2420
|
+
content?: Content[];
|
|
2421
|
+
edit_mode?: number;
|
|
2422
|
+
id?: number;
|
|
2423
|
+
title_key?: string;
|
|
2424
|
+
viral_icon_key?: string;
|
|
2425
|
+
viral_icon_timer?: string;
|
|
2426
|
+
}
|
|
2427
|
+
export interface Content {
|
|
2428
|
+
action: ContentAction;
|
|
2429
|
+
height: number;
|
|
2430
|
+
rotation: number;
|
|
2431
|
+
style: string;
|
|
2432
|
+
text_key: string;
|
|
2433
|
+
type: string;
|
|
2434
|
+
width: number;
|
|
2435
|
+
x: number;
|
|
2436
|
+
y: number;
|
|
2437
|
+
}
|
|
2438
|
+
export interface ContentAction {
|
|
2439
|
+
itemId: string;
|
|
2440
|
+
storeCategory: number;
|
|
2441
|
+
type: string;
|
|
2339
2442
|
}
|
|
2340
2443
|
export interface Perks {
|
|
2341
2444
|
abilities: Ability[];
|
|
@@ -3063,7 +3166,7 @@ export interface TowerIsland {
|
|
|
3063
3166
|
happy_hours: HappyHour[];
|
|
3064
3167
|
parameters: FogIslandParameter[];
|
|
3065
3168
|
currencies: Currency[];
|
|
3066
|
-
actions:
|
|
3169
|
+
actions: ActionElement[];
|
|
3067
3170
|
}
|
|
3068
3171
|
export interface Floor {
|
|
3069
3172
|
id: number;
|
package/dist/dtos/game-config.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.File = exports.RewardType = exports.ActionType = exports.ActionTidName = exports.Image = exports.UIAsset = exports.Behaviour = exports.ItemsUnitsAttributeModifierAttribute = exports.AchievementType = exports.DifficultyEnum = exports.TitleTid = exports.TaskType = exports.TaskIncrease = exports.DescTid = exports.Local = exports.CanvasBg = exports.DragonGroupType = exports.AttributeElement = exports.CategoryEnum = exports.ChestType = exports.AnimatedCanvas = exports.Background = exports.PremiumReward2_Tid = exports.PremiumPriceStyle = exports.PremiumDiscountPriceStyle = exports.PremiumDescriptionStyle = exports.PurchasePopupEliteMainTitleStyle = exports.EliteReward3_Tid = exports.EliteReward1_Tid = exports.ElitePriceStyle = exports.BadgeTid = exports.RightRewardsDescriptionTid = exports.QuantityLabelStyleEnum = exports.MoreTitleStyle = exports.PurchasePopupMainTitleStyle = exports.LeftRewardsDescriptionTid = exports.DescriptionElementsStyleEnum = exports.CollectibleActionType = exports.Rarity = exports.ElementType = exports.TypeElement = exports.BattlePassSoundTag = exports.IconID = exports.IapUid = exports.IapEliteUpgradeUid = exports.IapEliteUid = exports.IapEliteDiscountUidIap = exports.Dur = exports.IapDiscountUidIap = exports.Format = void 0;
|
|
4
|
-
exports.TidDamageMultiplier = exports.PlayerEffectName = exports.FgVfxScreenEffectname = exports.FgVfxNodeName = exports.EffectTid = exports.PurpleEffectName = exports.DragonLife = exports.DragonAnimation = exports.DestroySkill = exports.CounterAttackEffectName = exports.BgVfxNodeName = exports.BenchTargetMode = exports.AvoidSkillElement = exports.AuraType = exports.Level1_EffectName = exports.DeployText = exports.AuraCenterMode = exports.AttackType = exports.Texture = exports.RewardEnum = exports.ZipFile = exports.TentacledSoundTag = exports.ActivityType = exports.PerkType = exports.AbilityType = exports.
|
|
5
|
-
exports.TreasureItemType = exports.Feature = exports.PurpleType = exports.FloorImage = exports.Name = exports.Target = exports.StatusEffectDataEffectName = exports.EffectVfxEnum =
|
|
4
|
+
exports.VfxTextEffectname = exports.Vfx = exports.TidDamageMultiplier = exports.PlayerEffectName = exports.FgVfxScreenEffectname = exports.FgVfxNodeName = exports.EffectTid = exports.PurpleEffectName = exports.DragonLife = exports.DragonAnimation = exports.DestroySkill = exports.CounterAttackEffectName = exports.BgVfxNodeName = exports.BenchTargetMode = exports.AvoidSkillElement = exports.AuraType = exports.Level1_EffectName = exports.DeployText = exports.AuraCenterMode = exports.AttackType = exports.Texture = exports.RewardEnum = exports.ZipFile = exports.TentacledSoundTag = exports.ActivityType = exports.PerkType = exports.AbilityType = exports.Style = exports.SpineAsset = exports.AnimationPlace = exports.IslandTidName = exports.FluffySoundTag = exports.CollectibleType = exports.ItemType = exports.Tag = exports.ItemGroupType = exports.SpinRewardType = exports.NodesPositionType = exports.MissionType = exports.RewardCellType = exports.PurpleSoundTag = exports.IslandTitleTid = exports.ContentLocalizedKey = exports.AnimationNameEnum = exports.PopupType = exports.WallSuffix = exports.Wall = exports.CanvasBackground = exports.ViewTypeEnum = exports.FightBackgroundID = void 0;
|
|
5
|
+
exports.TreasureItemType = exports.Feature = exports.PurpleType = exports.FloorImage = exports.Name = exports.Target = exports.StatusEffectDataEffectName = exports.EffectVfxEnum = void 0;
|
|
6
6
|
var Format;
|
|
7
7
|
(function (Format) {
|
|
8
8
|
Format["Efk"] = "efk";
|
|
@@ -596,11 +596,6 @@ var AnimationPlace;
|
|
|
596
596
|
(function (AnimationPlace) {
|
|
597
597
|
AnimationPlace["Foreground"] = "Foreground";
|
|
598
598
|
})(AnimationPlace || (exports.AnimationPlace = AnimationPlace = {}));
|
|
599
|
-
var Key;
|
|
600
|
-
(function (Key) {
|
|
601
|
-
Key["Empty"] = "";
|
|
602
|
-
Key["TidNewsApocalypsepathButton"] = "tid_news_apocalypsepath_button";
|
|
603
|
-
})(Key || (exports.Key = Key = {}));
|
|
604
599
|
var SpineAsset;
|
|
605
600
|
(function (SpineAsset) {
|
|
606
601
|
SpineAsset["Empty"] = "";
|
|
@@ -608,13 +603,8 @@ var SpineAsset;
|
|
|
608
603
|
})(SpineAsset || (exports.SpineAsset = SpineAsset = {}));
|
|
609
604
|
var Style;
|
|
610
605
|
(function (Style) {
|
|
611
|
-
Style["BlueLarge"] = "BlueLarge";
|
|
612
606
|
Style["Transparent"] = "Transparent";
|
|
613
607
|
})(Style || (exports.Style = Style = {}));
|
|
614
|
-
var SlideType;
|
|
615
|
-
(function (SlideType) {
|
|
616
|
-
SlideType["FullImage"] = "FullImage";
|
|
617
|
-
})(SlideType || (exports.SlideType = SlideType = {}));
|
|
618
608
|
var AbilityType;
|
|
619
609
|
(function (AbilityType) {
|
|
620
610
|
AbilityType["DragonAttackBoost"] = "dragon_attack_boost";
|