@dchighs/dc-config 0.1.15 → 0.1.16

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.
@@ -1181,11 +1181,11 @@ export interface FogIsland {
1181
1181
  squares: FogIslandSquare[];
1182
1182
  currencies: Currency[];
1183
1183
  rewards: FogIslandReward[];
1184
- actions: Action[];
1184
+ actions: ActionElement[];
1185
1185
  hints: Hint[];
1186
1186
  parameters: FogIslandParameter[];
1187
1187
  }
1188
- export interface Action {
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: Action[];
1386
+ actions: ActionElement[];
1387
1387
  parameters: FogIslandParameter[];
1388
1388
  }
1389
1389
  export interface Decoration {
@@ -1407,11 +1407,13 @@ export interface Encounter {
1407
1407
  }
1408
1408
  export declare enum FightBackgroundID {
1409
1409
  BgBattleBackgroundGiTreasurehunt = "bg_battle_background_gi_treasurehunt",
1410
+ BgBattleBackgroundHrEaster26 = "bg_battle_background_hr_easter26",
1410
1411
  BgBattleBackgroundHrFallFriday = "bg_battle_background_hr_fall_friday",
1411
1412
  BgBattleBackgroundHrNewBeginnings = "bg_battle_background_hr_new_beginnings",
1412
1413
  BgBattleBackgroundHrSaintvalentine26 = "bg_battle_background_hr_saintvalentine_26",
1413
1414
  BgBattleBackgroundMiCarnival = "bg_battle_background_mi_carnival",
1414
1415
  BgBattleBackgroundMiDragonmysteries = "bg_battle_background_mi_dragonmysteries",
1416
+ BgBattleBackgroundMiEaster2020 = "bg_battle_background_mi_easter2020",
1415
1417
  BgBattleBackgroundMiMidsummerMisery = "bg_battle_background_mi_midsummer_misery",
1416
1418
  BgBattleBackgroundMiMysteryInParadise = "bg_battle_background_mi_mystery_in_paradise",
1417
1419
  BgBattleBackgroundMiRebornRetold = "bg_battle_background_mi_reborn_retold",
@@ -1512,7 +1514,7 @@ export declare enum PopupType {
1512
1514
  }
1513
1515
  export interface HelpViewSlide {
1514
1516
  header_localized_key?: string;
1515
- content_localized_key?: ContentLocalizedKey;
1517
+ content_localized_key?: PurpleContentLocalizedKey;
1516
1518
  image_url?: string;
1517
1519
  custom_title_localized_key?: string;
1518
1520
  slide_type: string;
@@ -1524,7 +1526,7 @@ export interface HelpViewSlide {
1524
1526
  export declare enum AnimationNameEnum {
1525
1527
  Anim1 = "anim1"
1526
1528
  }
1527
- export declare enum ContentLocalizedKey {
1529
+ export declare enum PurpleContentLocalizedKey {
1528
1530
  Empty = "",
1529
1531
  TidDBCollectionsHelpScreen1 = "tid_db_collections_help_screen_1",
1530
1532
  TidDBCollectionsHelpScreen2 = "tid_db_collections_help_screen_2",
@@ -2078,7 +2080,7 @@ export interface MazeIsland {
2078
2080
  encounters: Encounter[];
2079
2081
  enemies: GridIslandEnemy[];
2080
2082
  happy_hours: any[];
2081
- actions: Action[];
2083
+ actions: ActionElement[];
2082
2084
  clouds: Cloud[];
2083
2085
  currencies: Currency[];
2084
2086
  parameters: FogIslandParameter[];
@@ -2172,15 +2174,17 @@ export interface MazeIslandReward {
2172
2174
  export interface News {
2173
2175
  "0": The0;
2174
2176
  "1": The1;
2175
- "2": The2;
2176
- "3": The10;
2177
+ "2": The12;
2178
+ "3": The12;
2177
2179
  "4": The4;
2178
2180
  "5": The5;
2179
- "6": The10;
2180
- "7": The10;
2181
- "8": The10;
2182
- "9": The1;
2183
- "10": The10;
2181
+ "6": The0;
2182
+ "7": The0;
2183
+ "8": The0;
2184
+ "9": The0;
2185
+ "10": The0;
2186
+ "11": The0;
2187
+ "12": The12;
2184
2188
  canvas: Canva[];
2185
2189
  }
2186
2190
  export interface The0 {
@@ -2198,30 +2202,43 @@ export interface The0 {
2198
2202
  start_ts: string;
2199
2203
  }
2200
2204
  export interface The0_Slide {
2201
- content_localized_key: string;
2205
+ content_localized_key: FluffyContentLocalizedKey;
2202
2206
  custom_title_localized_key: string;
2207
+ forceClose?: boolean;
2203
2208
  header_localized_key: string;
2204
2209
  image_url: string;
2205
2210
  multiple_buttons: MultipleButton[];
2206
2211
  times_to_show: number;
2207
2212
  type: SlideType;
2208
2213
  }
2214
+ export declare enum FluffyContentLocalizedKey {
2215
+ Empty = "",
2216
+ TidNewsEasterraceDesc = "tid_news_easterrace_desc",
2217
+ TidNewsEventifiedarenasDesc = "tid_news_eventifiedarenas_desc",
2218
+ TidNewsMdsEventDesc = "tid_news_mds_event_desc"
2219
+ }
2209
2220
  export interface MultipleButton {
2210
2221
  animation: AnimationNameEnum;
2211
2222
  animationPlace: AnimationPlace;
2212
2223
  forceClose: boolean;
2213
2224
  glint: boolean;
2214
- key: string;
2225
+ key: Key;
2215
2226
  link: string;
2227
+ linkItemId?: number | string;
2216
2228
  normalizedPosition: NormalizedPosition;
2217
2229
  size: Size;
2218
2230
  spineAsset: SpineAsset;
2219
2231
  style: Style;
2220
- linkItemId?: number | string;
2221
2232
  }
2222
2233
  export declare enum AnimationPlace {
2223
2234
  Foreground = "Foreground"
2224
2235
  }
2236
+ export declare enum Key {
2237
+ Empty = "",
2238
+ TidNewsApocalypsepathButton = "tid_news_apocalypsepath_button",
2239
+ TidNewsPetsdaypassS1Button = "tid_news_petsdaypass_s1_button",
2240
+ TidNewsPetsdaypassS3Button = "tid_news_petsdaypass_s3_button"
2241
+ }
2225
2242
  export interface NormalizedPosition {
2226
2243
  x: number;
2227
2244
  y: number;
@@ -2248,42 +2265,41 @@ export interface The1 {
2248
2265
  assets_name: string;
2249
2266
  direct_to_shop: number;
2250
2267
  end_ts: string;
2251
- filter_category: null;
2252
2268
  id: number;
2253
- label_text_tid: null;
2254
- label_title_tid: null;
2255
2269
  min_level: number;
2270
+ popup_frequency: string;
2256
2271
  popup_type: string;
2257
- priority: null;
2258
2272
  show_on_startup: number;
2259
2273
  slides: The1_Slide[];
2260
2274
  start_ts: string;
2261
2275
  }
2262
2276
  export interface The1_Slide {
2263
- content_localized_key?: string;
2277
+ content_localized_key: string;
2264
2278
  custom_title_localized_key: string;
2265
2279
  header_localized_key: string;
2266
2280
  image_url: string;
2267
2281
  multiple_buttons: MultipleButton[];
2268
2282
  times_to_show: number;
2269
2283
  type: SlideType;
2270
- forceClose?: boolean;
2271
2284
  }
2272
- export interface The10 {
2285
+ export interface The12 {
2273
2286
  active_platforms: ValueClass;
2274
2287
  allow_island_tutorial: number;
2275
2288
  assets_name: string;
2276
2289
  direct_to_shop: number;
2277
2290
  end_ts: string;
2291
+ filter_category: null;
2278
2292
  id: number;
2293
+ label_text_tid: null;
2294
+ label_title_tid: null;
2279
2295
  min_level: number;
2280
- popup_frequency: string;
2281
2296
  popup_type: string;
2297
+ priority: number | null;
2282
2298
  show_on_startup: number;
2283
- slides: The1_Slide[];
2299
+ slides: The0_Slide[];
2284
2300
  start_ts: string;
2285
2301
  }
2286
- export interface The2 {
2302
+ export interface The4 {
2287
2303
  active_platforms: ValueClass;
2288
2304
  allow_island_tutorial: number;
2289
2305
  assets_name: string;
@@ -2295,10 +2311,10 @@ export interface The2 {
2295
2311
  popup_is_critical: boolean;
2296
2312
  popup_type: string;
2297
2313
  show_on_startup: number;
2298
- slides: The2_Slide[];
2314
+ slides: The4_Slide[];
2299
2315
  start_ts: string;
2300
2316
  }
2301
- export interface The2_Slide {
2317
+ export interface The4_Slide {
2302
2318
  content_localized_key: string;
2303
2319
  custom_title_localized_key: string;
2304
2320
  header_localized_key: string;
@@ -2310,50 +2326,66 @@ export interface The2_Slide {
2310
2326
  timer?: string;
2311
2327
  times_to_show?: number;
2312
2328
  }
2313
- export interface The4 {
2314
- active_platforms: ValueClass;
2315
- allow_island_tutorial: number;
2316
- assets_name: string;
2317
- direct_to_shop: number;
2318
- end_ts: string;
2319
- hud_button: The4_HudButton;
2320
- id: number;
2321
- min_level: number;
2322
- popup_type: string;
2323
- show_on_startup: number;
2324
- slides: The2_Slide[];
2325
- start_ts: string;
2326
- }
2327
- export interface The4_HudButton {
2328
- file: string;
2329
- title: string;
2330
- viral_icon_tier: number;
2331
- }
2332
2329
  export interface The5 {
2333
2330
  active_platforms: ValueClass;
2334
2331
  allow_island_tutorial: number;
2335
2332
  assets_name: string;
2336
2333
  end_ts: string;
2337
- hud_button: The5_HudButton;
2334
+ hud_button: HudButton;
2338
2335
  id: number;
2339
2336
  min_level: number;
2340
2337
  popup_type: string;
2341
2338
  show_on_startup: number;
2342
- slides: The2_Slide[];
2339
+ slides: The4_Slide[];
2343
2340
  start_ts: string;
2344
2341
  }
2345
- export interface The5_HudButton {
2342
+ export interface HudButton {
2346
2343
  file: string;
2347
2344
  title: string;
2348
2345
  }
2349
2346
  export interface Canva {
2350
2347
  id: number;
2351
2348
  assets_name: string;
2352
- start_ts: number;
2353
- end_ts: number;
2354
- min_level: number;
2355
- slides: The1_Slide[];
2356
- show_on_startup: number;
2349
+ start_ts: number | string;
2350
+ end_ts: number | string;
2351
+ min_level?: number;
2352
+ slides: CanvaSlide[];
2353
+ show_on_startup?: number;
2354
+ }
2355
+ export interface CanvaSlide {
2356
+ custom_title_localized_key?: string;
2357
+ header_localized_key?: string;
2358
+ image_url?: string;
2359
+ times_to_show?: number;
2360
+ type?: SlideType;
2361
+ multiple_buttons?: MultipleButton[];
2362
+ bg?: string;
2363
+ content?: Content[];
2364
+ edit_mode?: number;
2365
+ id?: number;
2366
+ title_key?: string;
2367
+ viral_icon_key?: string;
2368
+ viral_icon_timer?: string;
2369
+ }
2370
+ export interface Content {
2371
+ height: number;
2372
+ rotation: number;
2373
+ stroke?: string;
2374
+ text_color?: string;
2375
+ text_key: string;
2376
+ text_size?: number;
2377
+ timer?: number;
2378
+ type: string;
2379
+ width: number;
2380
+ x: number;
2381
+ y: number;
2382
+ action?: ContentAction;
2383
+ style?: string;
2384
+ }
2385
+ export interface ContentAction {
2386
+ itemId: string;
2387
+ storeCategory: number;
2388
+ type: string;
2357
2389
  }
2358
2390
  export interface Perks {
2359
2391
  abilities: Ability[];
@@ -3081,7 +3113,7 @@ export interface TowerIsland {
3081
3113
  happy_hours: HappyHour[];
3082
3114
  parameters: FogIslandParameter[];
3083
3115
  currencies: Currency[];
3084
- actions: Action[];
3116
+ actions: ActionElement[];
3085
3117
  }
3086
3118
  export interface Floor {
3087
3119
  id: number;
@@ -3271,8 +3303,8 @@ export interface MultiplierTime {
3271
3303
  multiplier_time: number;
3272
3304
  }
3273
3305
  export interface TreeOfLifePowerupRaritySeed {
3274
- max_rarity_seeds_per_grade: number[];
3275
3306
  rarity: Rarity;
3307
+ max_rarity_seeds_per_grade: number[];
3276
3308
  }
3277
3309
  export interface Visual {
3278
3310
  id: number;
@@ -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.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.SlideType = 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 = exports.VfxTextEffectname = void 0;
4
+ 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.SlideType = exports.Style = exports.SpineAsset = exports.Key = exports.AnimationPlace = exports.FluffyContentLocalizedKey = 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.PurpleContentLocalizedKey = 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 = exports.VfxTextEffectname = exports.Vfx = exports.TidDamageMultiplier = void 0;
6
6
  var Format;
7
7
  (function (Format) {
8
8
  Format["Efk"] = "efk";
@@ -390,11 +390,13 @@ var File;
390
390
  var FightBackgroundID;
391
391
  (function (FightBackgroundID) {
392
392
  FightBackgroundID["BgBattleBackgroundGiTreasurehunt"] = "bg_battle_background_gi_treasurehunt";
393
+ FightBackgroundID["BgBattleBackgroundHrEaster26"] = "bg_battle_background_hr_easter26";
393
394
  FightBackgroundID["BgBattleBackgroundHrFallFriday"] = "bg_battle_background_hr_fall_friday";
394
395
  FightBackgroundID["BgBattleBackgroundHrNewBeginnings"] = "bg_battle_background_hr_new_beginnings";
395
396
  FightBackgroundID["BgBattleBackgroundHrSaintvalentine26"] = "bg_battle_background_hr_saintvalentine_26";
396
397
  FightBackgroundID["BgBattleBackgroundMiCarnival"] = "bg_battle_background_mi_carnival";
397
398
  FightBackgroundID["BgBattleBackgroundMiDragonmysteries"] = "bg_battle_background_mi_dragonmysteries";
399
+ FightBackgroundID["BgBattleBackgroundMiEaster2020"] = "bg_battle_background_mi_easter2020";
398
400
  FightBackgroundID["BgBattleBackgroundMiMidsummerMisery"] = "bg_battle_background_mi_midsummer_misery";
399
401
  FightBackgroundID["BgBattleBackgroundMiMysteryInParadise"] = "bg_battle_background_mi_mystery_in_paradise";
400
402
  FightBackgroundID["BgBattleBackgroundMiRebornRetold"] = "bg_battle_background_mi_reborn_retold";
@@ -441,14 +443,14 @@ var AnimationNameEnum;
441
443
  (function (AnimationNameEnum) {
442
444
  AnimationNameEnum["Anim1"] = "anim1";
443
445
  })(AnimationNameEnum || (exports.AnimationNameEnum = AnimationNameEnum = {}));
444
- var ContentLocalizedKey;
445
- (function (ContentLocalizedKey) {
446
- ContentLocalizedKey["Empty"] = "";
447
- ContentLocalizedKey["TidDBCollectionsHelpScreen1"] = "tid_db_collections_help_screen_1";
448
- ContentLocalizedKey["TidDBCollectionsHelpScreen2"] = "tid_db_collections_help_screen_2";
449
- ContentLocalizedKey["TidDBMasteryHelpScreen1"] = "tid_db_mastery_help_screen_1";
450
- ContentLocalizedKey["TidPiggyBankBestDealMessage"] = "tid_piggy_bank_best_deal_message";
451
- })(ContentLocalizedKey || (exports.ContentLocalizedKey = ContentLocalizedKey = {}));
446
+ var PurpleContentLocalizedKey;
447
+ (function (PurpleContentLocalizedKey) {
448
+ PurpleContentLocalizedKey["Empty"] = "";
449
+ PurpleContentLocalizedKey["TidDBCollectionsHelpScreen1"] = "tid_db_collections_help_screen_1";
450
+ PurpleContentLocalizedKey["TidDBCollectionsHelpScreen2"] = "tid_db_collections_help_screen_2";
451
+ PurpleContentLocalizedKey["TidDBMasteryHelpScreen1"] = "tid_db_mastery_help_screen_1";
452
+ PurpleContentLocalizedKey["TidPiggyBankBestDealMessage"] = "tid_piggy_bank_best_deal_message";
453
+ })(PurpleContentLocalizedKey || (exports.PurpleContentLocalizedKey = PurpleContentLocalizedKey = {}));
452
454
  var IslandTitleTid;
453
455
  (function (IslandTitleTid) {
454
456
  IslandTitleTid["TidHeroicRaceTitle"] = "tid_heroic_race_title";
@@ -592,10 +594,24 @@ var IslandTidName;
592
594
  (function (IslandTidName) {
593
595
  IslandTidName["TidMiGenericName"] = "tid_mi_generic_name";
594
596
  })(IslandTidName || (exports.IslandTidName = IslandTidName = {}));
597
+ var FluffyContentLocalizedKey;
598
+ (function (FluffyContentLocalizedKey) {
599
+ FluffyContentLocalizedKey["Empty"] = "";
600
+ FluffyContentLocalizedKey["TidNewsEasterraceDesc"] = "tid_news_easterrace_desc";
601
+ FluffyContentLocalizedKey["TidNewsEventifiedarenasDesc"] = "tid_news_eventifiedarenas_desc";
602
+ FluffyContentLocalizedKey["TidNewsMdsEventDesc"] = "tid_news_mds_event_desc";
603
+ })(FluffyContentLocalizedKey || (exports.FluffyContentLocalizedKey = FluffyContentLocalizedKey = {}));
595
604
  var AnimationPlace;
596
605
  (function (AnimationPlace) {
597
606
  AnimationPlace["Foreground"] = "Foreground";
598
607
  })(AnimationPlace || (exports.AnimationPlace = AnimationPlace = {}));
608
+ var Key;
609
+ (function (Key) {
610
+ Key["Empty"] = "";
611
+ Key["TidNewsApocalypsepathButton"] = "tid_news_apocalypsepath_button";
612
+ Key["TidNewsPetsdaypassS1Button"] = "tid_news_petsdaypass_s1_button";
613
+ Key["TidNewsPetsdaypassS3Button"] = "tid_news_petsdaypass_s3_button";
614
+ })(Key || (exports.Key = Key = {}));
599
615
  var SpineAsset;
600
616
  (function (SpineAsset) {
601
617
  SpineAsset["Empty"] = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",