@dchighs/dc-config 0.1.10 → 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.
@@ -1519,7 +1519,10 @@ export interface HelpViewSlide {
1519
1519
  image_path?: string;
1520
1520
  custom_title_localized_tidkey?: string;
1521
1521
  animatedAssetName?: string;
1522
- animationName?: string;
1522
+ animationName?: AnimationNameEnum;
1523
+ }
1524
+ export declare enum AnimationNameEnum {
1525
+ Anim1 = "anim1"
1523
1526
  }
1524
1527
  export declare enum ContentLocalizedKey {
1525
1528
  Empty = "",
@@ -2168,18 +2171,17 @@ export interface MazeIslandReward {
2168
2171
  export interface News {
2169
2172
  "0": The0;
2170
2173
  "1": The1;
2171
- "2": The11;
2174
+ "2": The10;
2172
2175
  "3": The3;
2173
2176
  "4": The4;
2174
- "5": The13;
2177
+ "5": The12;
2175
2178
  "6": The6;
2176
2179
  "7": The0;
2177
- "8": The11;
2178
- "9": The4;
2180
+ "8": The10;
2181
+ "9": The9;
2179
2182
  "10": The10;
2180
- "11": The11;
2181
- "12": The0;
2182
- "13": The13;
2183
+ "11": The0;
2184
+ "12": The12;
2183
2185
  canvas: Canva[];
2184
2186
  }
2185
2187
  export interface The0 {
@@ -2207,8 +2209,8 @@ export interface The0_Slide {
2207
2209
  multiple_buttons?: PurpleMultipleButton[];
2208
2210
  }
2209
2211
  export interface PurpleMultipleButton {
2210
- animation: string;
2211
- animationPlace: string;
2212
+ animation: AnimationNameEnum;
2213
+ animationPlace: AnimationPlace;
2212
2214
  forceClose: boolean;
2213
2215
  glint: boolean;
2214
2216
  key: string;
@@ -2216,9 +2218,12 @@ export interface PurpleMultipleButton {
2216
2218
  linkItemId?: number | string;
2217
2219
  normalizedPosition: NormalizedPosition;
2218
2220
  size: Size;
2219
- spineAsset: string;
2221
+ spineAsset: SpineAsset;
2220
2222
  style: string;
2221
2223
  }
2224
+ export declare enum AnimationPlace {
2225
+ Foreground = "Foreground"
2226
+ }
2222
2227
  export interface NormalizedPosition {
2223
2228
  x: number;
2224
2229
  y: number;
@@ -2227,6 +2232,10 @@ export interface Size {
2227
2232
  h: number;
2228
2233
  w: number;
2229
2234
  }
2235
+ export declare enum SpineAsset {
2236
+ Empty = "",
2237
+ PointerAnimationV2 = "pointer_animation_v2"
2238
+ }
2230
2239
  export interface The1 {
2231
2240
  active_platforms: ValueClass;
2232
2241
  allow_island_tutorial: number;
@@ -2252,9 +2261,9 @@ export interface The1_HudButton {
2252
2261
  viral_icon_tier: number;
2253
2262
  }
2254
2263
  export interface The1_Slide {
2255
- content_localized_key: string;
2264
+ content_localized_key?: string;
2256
2265
  custom_title_localized_key: string;
2257
- header_localized_key: string;
2266
+ header_localized_key?: string;
2258
2267
  image_url: string;
2259
2268
  link: string;
2260
2269
  link_button_key: string;
@@ -2262,37 +2271,9 @@ export interface The1_Slide {
2262
2271
  slide_type: string;
2263
2272
  slide_type_2: string;
2264
2273
  timer?: string;
2265
- }
2266
- export interface The10 {
2267
- active_platforms: ValueClass;
2268
- allow_island_tutorial: number;
2269
- assets_name: string;
2270
- end_ts: string;
2271
- hud_button: The10_HudButton;
2272
- id: number;
2273
- min_level: number;
2274
- popup_type: string;
2275
- show_on_startup: number;
2276
- slides: The10_Slide[];
2277
- start_ts: string;
2278
- }
2279
- export interface The10_HudButton {
2280
- file: string;
2281
- title: string;
2282
- }
2283
- export interface The10_Slide {
2284
- custom_title_localized_key: string;
2285
- image_url: string;
2286
- link: string;
2287
- link_button_key: string;
2288
- slide_type: string;
2289
- slide_type_2: string;
2290
- timer?: string;
2291
2274
  times_to_show?: number;
2292
- content_localized_key?: string;
2293
- header_localized_key?: string;
2294
2275
  }
2295
- export interface The11 {
2276
+ export interface The10 {
2296
2277
  active_platforms: ValueClass;
2297
2278
  allow_island_tutorial: number;
2298
2279
  assets_name: string;
@@ -2303,10 +2284,10 @@ export interface The11 {
2303
2284
  popup_frequency: string;
2304
2285
  popup_type: string;
2305
2286
  show_on_startup: number;
2306
- slides: The11_Slide[];
2287
+ slides: The10_Slide[];
2307
2288
  start_ts: string;
2308
2289
  }
2309
- export interface The11_Slide {
2290
+ export interface The10_Slide {
2310
2291
  content_localized_key: string;
2311
2292
  custom_title_localized_key: string;
2312
2293
  header_localized_key: string;
@@ -2317,8 +2298,8 @@ export interface The11_Slide {
2317
2298
  forceClose?: boolean;
2318
2299
  }
2319
2300
  export interface FluffyMultipleButton {
2320
- animation: string;
2321
- animationPlace: string;
2301
+ animation: AnimationNameEnum;
2302
+ animationPlace: AnimationPlace;
2322
2303
  forceClose: boolean;
2323
2304
  glint: boolean;
2324
2305
  key: string;
@@ -2326,10 +2307,13 @@ export interface FluffyMultipleButton {
2326
2307
  linkItemId: number;
2327
2308
  normalizedPosition: NormalizedPosition;
2328
2309
  size: Size;
2329
- spineAsset: string;
2330
- style: string;
2310
+ spineAsset: SpineAsset;
2311
+ style: Style;
2331
2312
  }
2332
- export interface The13 {
2313
+ export declare enum Style {
2314
+ Transparent = "Transparent"
2315
+ }
2316
+ export interface The12 {
2333
2317
  active_platforms: ValueClass;
2334
2318
  allow_island_tutorial: number;
2335
2319
  assets_name: string;
@@ -2343,7 +2327,7 @@ export interface The13 {
2343
2327
  popup_type: string;
2344
2328
  priority: null;
2345
2329
  show_on_startup: number;
2346
- slides: The11_Slide[];
2330
+ slides: The10_Slide[];
2347
2331
  start_ts: string;
2348
2332
  }
2349
2333
  export interface The3 {
@@ -2378,23 +2362,12 @@ export interface The4 {
2378
2362
  hud_button: The1_HudButton;
2379
2363
  id: number;
2380
2364
  min_level: number;
2381
- popup_frequency?: string;
2365
+ popup_frequency: string;
2382
2366
  popup_type: string;
2383
2367
  show_on_startup: number;
2384
- slides: The4_Slide[];
2368
+ slides: The1_Slide[];
2385
2369
  start_ts: string;
2386
2370
  }
2387
- export interface The4_Slide {
2388
- content_localized_key: string;
2389
- custom_title_localized_key: string;
2390
- header_localized_key: string;
2391
- image_url: string;
2392
- link: string;
2393
- link_button_key: string;
2394
- slide_type: string;
2395
- slide_type_2: string;
2396
- timer: string;
2397
- }
2398
2371
  export interface The6 {
2399
2372
  active_platforms: ValueClass;
2400
2373
  allow_island_tutorial: number;
@@ -2407,9 +2380,26 @@ export interface The6 {
2407
2380
  popup_is_critical: boolean;
2408
2381
  popup_type: string;
2409
2382
  show_on_startup: number;
2410
- slides: The10_Slide[];
2383
+ slides: The1_Slide[];
2411
2384
  start_ts: string;
2412
2385
  }
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 {
2400
+ file: string;
2401
+ title: string;
2402
+ }
2413
2403
  export interface Canva {
2414
2404
  id: number;
2415
2405
  assets_name: string;
@@ -2418,7 +2408,6 @@ export interface Canva {
2418
2408
  min_level?: number;
2419
2409
  slides: CanvaSlide[];
2420
2410
  show_on_startup?: number;
2421
- priority?: string;
2422
2411
  }
2423
2412
  export interface CanvaSlide {
2424
2413
  custom_title_localized_key?: string;
@@ -2426,7 +2415,7 @@ export interface CanvaSlide {
2426
2415
  image_url?: string;
2427
2416
  times_to_show?: number;
2428
2417
  type?: string;
2429
- multiple_buttons?: PurpleMultipleButton[];
2418
+ multiple_buttons?: FluffyMultipleButton[];
2430
2419
  bg?: string;
2431
2420
  content?: Content[];
2432
2421
  edit_mode?: number;
@@ -2436,19 +2425,15 @@ export interface CanvaSlide {
2436
2425
  viral_icon_timer?: string;
2437
2426
  }
2438
2427
  export interface Content {
2428
+ action: ContentAction;
2439
2429
  height: number;
2440
2430
  rotation: number;
2441
- stroke?: string;
2442
- text_color?: string;
2431
+ style: string;
2443
2432
  text_key: string;
2444
- text_size?: number;
2445
- timer?: number;
2446
2433
  type: string;
2447
2434
  width: number;
2448
2435
  x: number;
2449
2436
  y: number;
2450
- action?: ContentAction;
2451
- style?: string;
2452
2437
  }
2453
2438
  export interface ContentAction {
2454
2439
  itemId: string;
@@ -3322,7 +3307,7 @@ export interface TreeOfLifeRaritySeed {
3322
3307
  }
3323
3308
  export interface TreeOfLifePowerup {
3324
3309
  parameters: BattlesConfigElement[];
3325
- animation: Animation[];
3310
+ animation: AnimationElement[];
3326
3311
  grades_by_rarity: GradesBy[];
3327
3312
  grades_by_dragon: GradesBy[];
3328
3313
  visuals: Visual[];
@@ -3331,7 +3316,7 @@ export interface TreeOfLifePowerup {
3331
3316
  rarity_seeds: TreeOfLifePowerupRaritySeed[];
3332
3317
  gold_boost: GoldBoost[];
3333
3318
  }
3334
- export interface Animation {
3319
+ export interface AnimationElement {
3335
3320
  dragon_grade: number;
3336
3321
  background_color: string;
3337
3322
  dragon_particle_color: string;
@@ -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.Name = exports.Target = exports.StatusEffectDataEffectName = exports.EffectVfxEnum = 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.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.PopupType = exports.WallSuffix = exports.Wall = exports.CanvasBackground = exports.ViewTypeEnum = exports.FightBackgroundID = void 0;
5
- exports.TreasureItemType = exports.Feature = exports.PurpleType = exports.FloorImage = 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.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";
@@ -437,6 +437,10 @@ var PopupType;
437
437
  PopupType["DefaultCustomSlides"] = "DefaultCustomSlides";
438
438
  PopupType["HelpViewDeityWorld"] = "/HelpView/DeityWorld";
439
439
  })(PopupType || (exports.PopupType = PopupType = {}));
440
+ var AnimationNameEnum;
441
+ (function (AnimationNameEnum) {
442
+ AnimationNameEnum["Anim1"] = "anim1";
443
+ })(AnimationNameEnum || (exports.AnimationNameEnum = AnimationNameEnum = {}));
440
444
  var ContentLocalizedKey;
441
445
  (function (ContentLocalizedKey) {
442
446
  ContentLocalizedKey["Empty"] = "";
@@ -588,6 +592,19 @@ var IslandTidName;
588
592
  (function (IslandTidName) {
589
593
  IslandTidName["TidMiGenericName"] = "tid_mi_generic_name";
590
594
  })(IslandTidName || (exports.IslandTidName = IslandTidName = {}));
595
+ var AnimationPlace;
596
+ (function (AnimationPlace) {
597
+ AnimationPlace["Foreground"] = "Foreground";
598
+ })(AnimationPlace || (exports.AnimationPlace = AnimationPlace = {}));
599
+ var SpineAsset;
600
+ (function (SpineAsset) {
601
+ SpineAsset["Empty"] = "";
602
+ SpineAsset["PointerAnimationV2"] = "pointer_animation_v2";
603
+ })(SpineAsset || (exports.SpineAsset = SpineAsset = {}));
604
+ var Style;
605
+ (function (Style) {
606
+ Style["Transparent"] = "Transparent";
607
+ })(Style || (exports.Style = Style = {}));
591
608
  var AbilityType;
592
609
  (function (AbilityType) {
593
610
  AbilityType["DragonAttackBoost"] = "dragon_attack_boost";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",