@dchighs/dc-config 0.1.6 → 0.1.8

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.
@@ -1478,6 +1478,8 @@ export interface SquareResource {
1478
1478
  "pet_food_pack.s"?: number;
1479
1479
  "pet_food_pack.m"?: number;
1480
1480
  "pet_food_pack.l"?: number;
1481
+ b?: number[];
1482
+ chest?: number;
1481
1483
  }
1482
1484
  export declare enum Wall {
1483
1485
  H = "H",
@@ -1636,11 +1638,11 @@ export interface LapRewardReward {
1636
1638
  "album_pack.l"?: number;
1637
1639
  "album_pack_aces.2"?: number;
1638
1640
  "pet_food_pack.m"?: number;
1641
+ "pet_food_pack.l"?: number;
1639
1642
  "album_pack.xl"?: number;
1640
1643
  "album_pack_aces.3"?: number;
1641
1644
  "album_pack_aces.generic"?: number;
1642
1645
  trade_tickets?: TradeTicket[];
1643
- "pet_food_pack.l"?: number;
1644
1646
  "album_pack_aces.4"?: number;
1645
1647
  egg?: number[] | number;
1646
1648
  seeds?: Seed[];
@@ -2170,21 +2172,21 @@ export interface News {
2170
2172
  "0": The0;
2171
2173
  "1": The1;
2172
2174
  "2": The10;
2173
- "3": The1;
2175
+ "3": The11;
2174
2176
  "4": The10;
2175
- "5": The10;
2176
- "6": The10;
2177
- "7": The1;
2178
- "8": The8;
2179
- "9": The1;
2177
+ "5": The11;
2178
+ "6": The6;
2179
+ "7": The11;
2180
+ "8": The10;
2181
+ "9": The9;
2180
2182
  "10": The10;
2181
- "11": The1;
2182
- "12": The1;
2183
- "13": The13;
2183
+ "11": The11;
2184
+ "12": The10;
2185
+ "13": The10;
2184
2186
  "14": The14;
2185
- "15": The1;
2186
- "16": The10;
2187
- "17": The10;
2187
+ "15": The15;
2188
+ "16": The11;
2189
+ "17": The11;
2188
2190
  canvas: Canva[];
2189
2191
  }
2190
2192
  export interface The0 {
@@ -2205,7 +2207,9 @@ export interface The0_HudButton {
2205
2207
  title: string;
2206
2208
  }
2207
2209
  export interface The0_Slide {
2210
+ content_localized_key: string;
2208
2211
  custom_title_localized_key: string;
2212
+ header_localized_key: string;
2209
2213
  image_url: string;
2210
2214
  link: string;
2211
2215
  link_button_key: string;
@@ -2213,10 +2217,27 @@ export interface The0_Slide {
2213
2217
  slide_type_2: string;
2214
2218
  timer?: string;
2215
2219
  times_to_show?: number;
2216
- content_localized_key?: string;
2217
- header_localized_key?: string;
2218
2220
  }
2219
2221
  export interface The1 {
2222
+ active_platforms: ValueClass;
2223
+ allow_island_tutorial: number;
2224
+ assets_name: string;
2225
+ direct_to_shop: number;
2226
+ end_ts: string;
2227
+ hud_button: The1_HudButton;
2228
+ id: number;
2229
+ min_level: number;
2230
+ popup_type: string;
2231
+ show_on_startup: number;
2232
+ slides: The0_Slide[];
2233
+ start_ts: string;
2234
+ }
2235
+ export interface The1_HudButton {
2236
+ file: string;
2237
+ title: string;
2238
+ viral_icon_tier: number;
2239
+ }
2240
+ export interface The10 {
2220
2241
  active_platforms: ValueClass;
2221
2242
  allow_island_tutorial: number;
2222
2243
  assets_name: string;
@@ -2230,15 +2251,15 @@ export interface The1 {
2230
2251
  popup_type: string;
2231
2252
  priority: number | null;
2232
2253
  show_on_startup: number;
2233
- slides: The1_Slide[];
2254
+ slides: The10_Slide[];
2234
2255
  start_ts: string;
2235
2256
  }
2236
- export interface The1_Slide {
2257
+ export interface The10_Slide {
2237
2258
  content_localized_key?: string;
2238
2259
  custom_title_localized_key: string;
2239
2260
  header_localized_key: string;
2240
2261
  image_url: string;
2241
- multiple_buttons?: PurpleMultipleButton[];
2262
+ multiple_buttons: PurpleMultipleButton[];
2242
2263
  times_to_show: number;
2243
2264
  type: SlideType;
2244
2265
  forceClose?: boolean;
@@ -2248,9 +2269,9 @@ export interface PurpleMultipleButton {
2248
2269
  animationPlace: AnimationPlace;
2249
2270
  forceClose: boolean;
2250
2271
  glint: boolean;
2251
- key: Key;
2272
+ key: string;
2252
2273
  link: string;
2253
- linkItemId?: number;
2274
+ linkItemId: number;
2254
2275
  normalizedPosition: NormalizedPosition;
2255
2276
  size: Size;
2256
2277
  spineAsset: SpineAsset;
@@ -2259,10 +2280,6 @@ export interface PurpleMultipleButton {
2259
2280
  export declare enum AnimationPlace {
2260
2281
  Foreground = "Foreground"
2261
2282
  }
2262
- export declare enum Key {
2263
- Empty = "",
2264
- TidNewsApocalypsepathButton = "tid_news_apocalypsepath_button"
2265
- }
2266
2283
  export interface NormalizedPosition {
2267
2284
  x: number;
2268
2285
  y: number;
@@ -2282,7 +2299,7 @@ export declare enum Style {
2282
2299
  export declare enum SlideType {
2283
2300
  FullImage = "FullImage"
2284
2301
  }
2285
- export interface The10 {
2302
+ export interface The11 {
2286
2303
  active_platforms: ValueClass;
2287
2304
  allow_island_tutorial: number;
2288
2305
  assets_name: string;
@@ -2293,10 +2310,10 @@ export interface The10 {
2293
2310
  popup_frequency: string;
2294
2311
  popup_type: string;
2295
2312
  show_on_startup: number;
2296
- slides: The1_Slide[];
2313
+ slides: The10_Slide[];
2297
2314
  start_ts: string;
2298
2315
  }
2299
- export interface The13 {
2316
+ export interface The14 {
2300
2317
  active_platforms: ValueClass;
2301
2318
  allow_island_tutorial: number;
2302
2319
  assets_name: string;
@@ -2311,7 +2328,7 @@ export interface The13 {
2311
2328
  slides: The0_Slide[];
2312
2329
  start_ts: string;
2313
2330
  }
2314
- export interface The14 {
2331
+ export interface The15 {
2315
2332
  active_platforms: ValueClass;
2316
2333
  allow_island_tutorial: number;
2317
2334
  assets_name: string;
@@ -2322,10 +2339,10 @@ export interface The14 {
2322
2339
  popup_frequency: string;
2323
2340
  popup_type: string;
2324
2341
  show_on_startup: number;
2325
- slides: The14_Slide[];
2342
+ slides: The15_Slide[];
2326
2343
  start_ts: string;
2327
2344
  }
2328
- export interface The14_Slide {
2345
+ export interface The15_Slide {
2329
2346
  content_localized_key: string;
2330
2347
  custom_title_localized_key: string;
2331
2348
  forceClose: boolean;
@@ -2348,14 +2365,54 @@ export interface FluffyMultipleButton {
2348
2365
  spineAsset: SpineAsset;
2349
2366
  style: Style;
2350
2367
  }
2351
- export interface The8 {
2368
+ export declare enum Key {
2369
+ Empty = "",
2370
+ TidNewsApocalypsepathButton = "tid_news_apocalypsepath_button"
2371
+ }
2372
+ export interface The6 {
2373
+ active_platforms: ValueClass;
2374
+ allow_island_tutorial: number;
2375
+ assets_name: string;
2376
+ direct_to_shop: number;
2377
+ end_ts: string;
2378
+ id: number;
2379
+ min_level: number;
2380
+ popup_frequency: string;
2381
+ popup_type: string;
2382
+ show_on_startup: number;
2383
+ slides: The6_Slide[];
2384
+ start_ts: string;
2385
+ }
2386
+ export interface The6_Slide {
2387
+ content_localized_key: string;
2388
+ custom_title_localized_key: string;
2389
+ header_localized_key: string;
2390
+ image_url: string;
2391
+ multiple_buttons: TentacledMultipleButton[];
2392
+ times_to_show: number;
2393
+ type: SlideType;
2394
+ forceClose?: boolean;
2395
+ }
2396
+ export interface TentacledMultipleButton {
2397
+ animation: AnimationNameEnum;
2398
+ animationPlace: AnimationPlace;
2399
+ forceClose: boolean;
2400
+ glint: boolean;
2401
+ key: Key;
2402
+ link: string;
2403
+ normalizedPosition: NormalizedPosition;
2404
+ size: Size;
2405
+ spineAsset: SpineAsset;
2406
+ style: Style;
2407
+ }
2408
+ export interface The9 {
2352
2409
  active_platforms: ValueClass;
2353
2410
  allow_island_tutorial: number;
2354
2411
  assets_name: string;
2355
2412
  direct_to_shop: number;
2356
2413
  end_ts: string;
2357
2414
  filter_category: null;
2358
- hud_button: The8_HudButton;
2415
+ hud_button: The1_HudButton;
2359
2416
  id: number;
2360
2417
  label_text_tid: null;
2361
2418
  label_title_tid: null;
@@ -2364,21 +2421,16 @@ export interface The8 {
2364
2421
  popup_type: string;
2365
2422
  priority: null;
2366
2423
  show_on_startup: number;
2367
- slides: The1_Slide[];
2424
+ slides: The6_Slide[];
2368
2425
  start_ts: string;
2369
2426
  }
2370
- export interface The8_HudButton {
2371
- file: string;
2372
- title: string;
2373
- viral_icon_tier: number;
2374
- }
2375
2427
  export interface Canva {
2376
2428
  id: number;
2377
2429
  assets_name: string;
2378
2430
  start_ts: number;
2379
2431
  end_ts: number;
2380
2432
  min_level: number;
2381
- slides: The1_Slide[];
2433
+ slides: The10_Slide[];
2382
2434
  show_on_startup: number;
2383
2435
  }
2384
2436
  export interface Perks {
@@ -2391,7 +2443,7 @@ export interface Perks {
2391
2443
  }
2392
2444
  export interface Ability {
2393
2445
  id: number;
2394
- type: string;
2446
+ type: AbilityType;
2395
2447
  parameters: AbilityParameters;
2396
2448
  asset: CustomForeground;
2397
2449
  }
@@ -2399,6 +2451,13 @@ export interface AbilityParameters {
2399
2451
  value: number;
2400
2452
  passiveSkillId?: number;
2401
2453
  }
2454
+ export declare enum AbilityType {
2455
+ DragonAttackBoost = "dragon_attack_boost",
2456
+ DragonLifeBoost = "dragon_life_boost",
2457
+ IncreaseBreedingChances = "increase_breeding_chances",
2458
+ PhoenixSkill = "phoenix_skill",
2459
+ ReaperSkill = "reaper_skill"
2460
+ }
2402
2461
  export interface PerksParameter {
2403
2462
  id: number;
2404
2463
  name: string;
@@ -3287,8 +3346,8 @@ export interface MultiplierTime {
3287
3346
  multiplier_time: number;
3288
3347
  }
3289
3348
  export interface TreeOfLifePowerupRaritySeed {
3290
- rarity: Rarity;
3291
3349
  max_rarity_seeds_per_grade: number[];
3350
+ rarity: Rarity;
3292
3351
  }
3293
3352
  export interface Visual {
3294
3353
  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.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.AuraCenterMode = exports.AttackType = exports.Texture = exports.RewardEnum = exports.ZipFile = exports.TentacledSoundTag = exports.ActivityType = exports.PerkType = exports.SlideType = exports.Style = exports.SpineAsset = exports.Key = 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;
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.AuraCenterMode = exports.AttackType = exports.Texture = exports.RewardEnum = exports.ZipFile = exports.TentacledSoundTag = exports.ActivityType = exports.PerkType = exports.AbilityType = exports.Key = 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;
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"] = "";
@@ -615,6 +610,19 @@ var SlideType;
615
610
  (function (SlideType) {
616
611
  SlideType["FullImage"] = "FullImage";
617
612
  })(SlideType || (exports.SlideType = SlideType = {}));
613
+ var Key;
614
+ (function (Key) {
615
+ Key["Empty"] = "";
616
+ Key["TidNewsApocalypsepathButton"] = "tid_news_apocalypsepath_button";
617
+ })(Key || (exports.Key = Key = {}));
618
+ var AbilityType;
619
+ (function (AbilityType) {
620
+ AbilityType["DragonAttackBoost"] = "dragon_attack_boost";
621
+ AbilityType["DragonLifeBoost"] = "dragon_life_boost";
622
+ AbilityType["IncreaseBreedingChances"] = "increase_breeding_chances";
623
+ AbilityType["PhoenixSkill"] = "phoenix_skill";
624
+ AbilityType["ReaperSkill"] = "reaper_skill";
625
+ })(AbilityType || (exports.AbilityType = AbilityType = {}));
618
626
  var PerkType;
619
627
  (function (PerkType) {
620
628
  PerkType["Character"] = "character";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",