@dchighs/dc-config 0.1.141 → 0.1.143
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 +54 -58
- package/package.json +1 -1
|
@@ -719,7 +719,7 @@ export interface ItemsUnitsAttributeModifier {
|
|
|
719
719
|
index?: number;
|
|
720
720
|
}
|
|
721
721
|
export type ItemsUnitsAttributeModifierAttribute = "attacks" | "base_attack" | "trainable_attacks" | "base_life" | "passive_skills" | "post_skills" | "speed" | "background_vfx" | "foreground_vfx";
|
|
722
|
-
export type Behaviour = "REPLACE" | "REPLACE_BY_INDEX" | "MULTIPLY"
|
|
722
|
+
export type Behaviour = "REPLACE" | "REPLACE_BY_INDEX" | "MULTIPLY";
|
|
723
723
|
export interface BattlesConfigElement {
|
|
724
724
|
id: number;
|
|
725
725
|
name: string;
|
|
@@ -960,15 +960,15 @@ export interface FogIsland {
|
|
|
960
960
|
squares: FogIslandSquare[];
|
|
961
961
|
currencies: Currency[];
|
|
962
962
|
rewards: FogIslandReward[];
|
|
963
|
-
actions:
|
|
963
|
+
actions: Action[];
|
|
964
964
|
hints: Hint[];
|
|
965
965
|
parameters: FogIslandParameter[];
|
|
966
966
|
}
|
|
967
|
-
export interface
|
|
967
|
+
export interface Action {
|
|
968
968
|
id: number;
|
|
969
969
|
type: string;
|
|
970
|
-
tid_name:
|
|
971
|
-
image:
|
|
970
|
+
tid_name: ActionTidName;
|
|
971
|
+
image: Image;
|
|
972
972
|
pool_percent: number;
|
|
973
973
|
max_points: number;
|
|
974
974
|
extra_parameters?: ExtraParameters;
|
|
@@ -980,6 +980,8 @@ export interface ExtraParameters {
|
|
|
980
980
|
max_level?: number;
|
|
981
981
|
max_time?: number;
|
|
982
982
|
}
|
|
983
|
+
export type Image = "ic-info-action-collect-gold.png" | "ic-info-action-collect-food.png" | "ic-info-action-feed.png" | "ic-info-action-pvp.png" | "ic-info-action-breed.png" | "ic-info-action-hatch-2-el.png" | "ic-info-action-hatch-3-el.png" | "ic-info-action-hatch-legendary.png";
|
|
984
|
+
export type ActionTidName = "tid_grid_islands_collect_gold" | "tid_grid_islands_collect_farm_food" | "tid_grid_islands_feed_dragons" | "tid_grid_islands_pvp_battle" | "tid_grid_islands_breed_dragons" | "tid_grid_islands_hatching_2_el" | "tid_grid_islands_hatching_3_el" | "tid_grid_islands_hatching_legendary";
|
|
983
985
|
export interface Currency {
|
|
984
986
|
id: number;
|
|
985
987
|
tid_name: string;
|
|
@@ -1134,7 +1136,7 @@ export interface GridIsland {
|
|
|
1134
1136
|
encounters: Encounter[];
|
|
1135
1137
|
enemies: EnemyElement[];
|
|
1136
1138
|
currencies: Currency[];
|
|
1137
|
-
actions:
|
|
1139
|
+
actions: Action[];
|
|
1138
1140
|
parameters: FogIslandParameter[];
|
|
1139
1141
|
}
|
|
1140
1142
|
export interface Decoration {
|
|
@@ -1153,7 +1155,7 @@ export interface Encounter {
|
|
|
1153
1155
|
fight_background?: string;
|
|
1154
1156
|
fight_background_id: FightBackgroundID;
|
|
1155
1157
|
}
|
|
1156
|
-
export type FightBackgroundID = "bg_battle_background_gi_treasurehunt" | "bg_battle_background_hr_medievalholidays" | "bg_battle_background_mr_108_mythical_gelbarrier" | "bg_battle_background_hr_clashofthenorth" | "bg_battle_background_mr_109_mythical_porpoise" | "bg_battle_background_mi_mystery_in_paradise" | "bg_battle_background_mi_dragonmysteries" | "bg_battle_background_mi_fall_from_grace";
|
|
1158
|
+
export type FightBackgroundID = "bg_battle_background_gi_treasurehunt" | "bg_battle_background_hr_medievalholidays" | "bg_battle_background_mr_108_mythical_gelbarrier" | "bg_battle_background_hr_clashofthenorth" | "bg_battle_background_mr_109_mythical_porpoise" | "bg_battle_background_mi_mystery_in_paradise" | "bg_battle_background_mi_dragonmysteries" | "bg_battle_background_mi_fall_from_grace" | "bg_battle_background_fi_brightest_mirror";
|
|
1157
1159
|
export interface EnemyElement {
|
|
1158
1160
|
id: number;
|
|
1159
1161
|
dragon_ids: number[];
|
|
@@ -1621,7 +1623,7 @@ export interface MazeIsland {
|
|
|
1621
1623
|
encounters: Encounter[];
|
|
1622
1624
|
enemies: EnemyElement[];
|
|
1623
1625
|
happy_hours: unknown[];
|
|
1624
|
-
actions:
|
|
1626
|
+
actions: Action[];
|
|
1625
1627
|
clouds: Cloud[];
|
|
1626
1628
|
currencies: Currency[];
|
|
1627
1629
|
parameters: FogIslandParameter[];
|
|
@@ -1710,17 +1712,16 @@ export interface News {
|
|
|
1710
1712
|
"3": The3;
|
|
1711
1713
|
"4": The3;
|
|
1712
1714
|
"5": The3;
|
|
1713
|
-
"6":
|
|
1714
|
-
"7": The3;
|
|
1715
|
-
"8": The8;
|
|
1715
|
+
"6": The6;
|
|
1716
1716
|
canvas: Canva[];
|
|
1717
1717
|
}
|
|
1718
1718
|
export interface The0 {
|
|
1719
1719
|
active_platforms: ValueClass;
|
|
1720
1720
|
allow_island_tutorial: number;
|
|
1721
1721
|
assets_name: string;
|
|
1722
|
+
direct_to_shop: number;
|
|
1722
1723
|
end_ts: string;
|
|
1723
|
-
hud_button:
|
|
1724
|
+
hud_button: HudButton;
|
|
1724
1725
|
id: number;
|
|
1725
1726
|
min_level: number;
|
|
1726
1727
|
popup_type: string;
|
|
@@ -1728,9 +1729,10 @@ export interface The0 {
|
|
|
1728
1729
|
slides: The0_Slide[];
|
|
1729
1730
|
start_ts: string;
|
|
1730
1731
|
}
|
|
1731
|
-
export interface
|
|
1732
|
+
export interface HudButton {
|
|
1732
1733
|
file: string;
|
|
1733
1734
|
title: string;
|
|
1735
|
+
viral_icon_tier: number;
|
|
1734
1736
|
}
|
|
1735
1737
|
export interface The0_Slide {
|
|
1736
1738
|
content_localized_key: string;
|
|
@@ -1741,36 +1743,17 @@ export interface The0_Slide {
|
|
|
1741
1743
|
link_button_key: string;
|
|
1742
1744
|
slide_type: string;
|
|
1743
1745
|
slide_type_2: string;
|
|
1744
|
-
timer
|
|
1745
|
-
|
|
1746
|
+
timer?: string;
|
|
1747
|
+
link_item_id?: number;
|
|
1746
1748
|
}
|
|
1747
1749
|
export interface The1 {
|
|
1748
|
-
active_platforms: ValueClass;
|
|
1749
|
-
allow_island_tutorial: number;
|
|
1750
|
-
assets_name: string;
|
|
1751
|
-
direct_to_shop: number;
|
|
1752
|
-
end_ts: string;
|
|
1753
|
-
hud_button: The1_HudButton;
|
|
1754
|
-
id: number;
|
|
1755
|
-
min_level: number;
|
|
1756
|
-
popup_type: string;
|
|
1757
|
-
show_on_startup: number;
|
|
1758
|
-
slides: The0_Slide[];
|
|
1759
|
-
start_ts: string;
|
|
1760
|
-
}
|
|
1761
|
-
export interface The1_HudButton {
|
|
1762
|
-
file: string;
|
|
1763
|
-
title: string;
|
|
1764
|
-
viral_icon_tier: number;
|
|
1765
|
-
}
|
|
1766
|
-
export interface The2 {
|
|
1767
1750
|
active_platforms: ValueClass;
|
|
1768
1751
|
allow_island_tutorial: number;
|
|
1769
1752
|
assets_name: string;
|
|
1770
1753
|
direct_to_shop: number;
|
|
1771
1754
|
end_ts: string;
|
|
1772
1755
|
filter_category: null;
|
|
1773
|
-
hud_button:
|
|
1756
|
+
hud_button: HudButton;
|
|
1774
1757
|
id: number;
|
|
1775
1758
|
label_text_tid: null;
|
|
1776
1759
|
label_title_tid: null;
|
|
@@ -1778,10 +1761,10 @@ export interface The2 {
|
|
|
1778
1761
|
popup_type: string;
|
|
1779
1762
|
priority: null;
|
|
1780
1763
|
show_on_startup: number;
|
|
1781
|
-
slides:
|
|
1764
|
+
slides: The1_Slide[];
|
|
1782
1765
|
start_ts: string;
|
|
1783
1766
|
}
|
|
1784
|
-
export interface
|
|
1767
|
+
export interface The1_Slide {
|
|
1785
1768
|
content_localized_key: string;
|
|
1786
1769
|
custom_title_localized_key: string;
|
|
1787
1770
|
forceClose?: boolean;
|
|
@@ -1816,6 +1799,25 @@ export interface SizeClass {
|
|
|
1816
1799
|
}
|
|
1817
1800
|
export type SpineAsset = "pointer_animation_v2";
|
|
1818
1801
|
export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
|
|
1802
|
+
export interface The2 {
|
|
1803
|
+
active_platforms: ValueClass;
|
|
1804
|
+
allow_island_tutorial: number;
|
|
1805
|
+
assets_name: string;
|
|
1806
|
+
direct_to_shop: number;
|
|
1807
|
+
end_ts: string;
|
|
1808
|
+
filter_category: null;
|
|
1809
|
+
hud_button: HudButton;
|
|
1810
|
+
id: number;
|
|
1811
|
+
label_text_tid: null;
|
|
1812
|
+
label_title_tid: null;
|
|
1813
|
+
min_level: number;
|
|
1814
|
+
popup_frequency: string;
|
|
1815
|
+
popup_type: string;
|
|
1816
|
+
priority: null;
|
|
1817
|
+
show_on_startup: number;
|
|
1818
|
+
slides: The0_Slide[];
|
|
1819
|
+
start_ts: string;
|
|
1820
|
+
}
|
|
1819
1821
|
export interface The3 {
|
|
1820
1822
|
active_platforms: ValueClass;
|
|
1821
1823
|
allow_island_tutorial: number;
|
|
@@ -1827,17 +1829,17 @@ export interface The3 {
|
|
|
1827
1829
|
popup_frequency: string;
|
|
1828
1830
|
popup_type: string;
|
|
1829
1831
|
show_on_startup: number;
|
|
1830
|
-
slides:
|
|
1832
|
+
slides: The1_Slide[];
|
|
1831
1833
|
start_ts: string;
|
|
1832
1834
|
}
|
|
1833
|
-
export interface
|
|
1835
|
+
export interface The6 {
|
|
1834
1836
|
active_platforms: ValueClass;
|
|
1835
1837
|
allow_island_tutorial: number;
|
|
1836
1838
|
assets_name: string;
|
|
1837
1839
|
direct_to_shop: number;
|
|
1838
1840
|
end_ts: string;
|
|
1839
1841
|
filter_category: null;
|
|
1840
|
-
hud_button:
|
|
1842
|
+
hud_button: HudButton;
|
|
1841
1843
|
id: number;
|
|
1842
1844
|
label_text_tid: null;
|
|
1843
1845
|
label_title_tid: null;
|
|
@@ -1847,7 +1849,7 @@ export interface The8 {
|
|
|
1847
1849
|
popup_type: string;
|
|
1848
1850
|
priority: null;
|
|
1849
1851
|
show_on_startup: number;
|
|
1850
|
-
slides:
|
|
1852
|
+
slides: The1_Slide[];
|
|
1851
1853
|
start_ts: string;
|
|
1852
1854
|
}
|
|
1853
1855
|
export interface Canva {
|
|
@@ -1855,9 +1857,10 @@ export interface Canva {
|
|
|
1855
1857
|
assets_name: string;
|
|
1856
1858
|
start_ts: number | string;
|
|
1857
1859
|
end_ts: number | string;
|
|
1858
|
-
min_level
|
|
1860
|
+
min_level: number;
|
|
1859
1861
|
slides: CanvaSlide[];
|
|
1860
|
-
show_on_startup
|
|
1862
|
+
show_on_startup: number;
|
|
1863
|
+
priority?: string;
|
|
1861
1864
|
}
|
|
1862
1865
|
export interface CanvaSlide {
|
|
1863
1866
|
custom_title_localized_key?: string;
|
|
@@ -1877,22 +1880,15 @@ export interface CanvaSlide {
|
|
|
1877
1880
|
export interface Content {
|
|
1878
1881
|
height: number;
|
|
1879
1882
|
rotation: number;
|
|
1880
|
-
stroke
|
|
1881
|
-
text_color
|
|
1883
|
+
stroke: string;
|
|
1884
|
+
text_color: string;
|
|
1882
1885
|
text_key: string;
|
|
1883
|
-
text_size
|
|
1884
|
-
timer
|
|
1886
|
+
text_size: number;
|
|
1887
|
+
timer: number;
|
|
1885
1888
|
type: string;
|
|
1886
1889
|
width: number;
|
|
1887
1890
|
x: number;
|
|
1888
1891
|
y: number;
|
|
1889
|
-
action?: ContentAction;
|
|
1890
|
-
style?: string;
|
|
1891
|
-
}
|
|
1892
|
-
export interface ContentAction {
|
|
1893
|
-
itemId: string;
|
|
1894
|
-
storeCategory: number;
|
|
1895
|
-
type: string;
|
|
1896
1892
|
}
|
|
1897
1893
|
export interface Perks {
|
|
1898
1894
|
abilities: Ability[];
|
|
@@ -2483,7 +2479,7 @@ export interface TowerIsland {
|
|
|
2483
2479
|
happy_hours: HappyHour[];
|
|
2484
2480
|
parameters: FogIslandParameter[];
|
|
2485
2481
|
currencies: Currency[];
|
|
2486
|
-
actions:
|
|
2482
|
+
actions: Action[];
|
|
2487
2483
|
}
|
|
2488
2484
|
export interface Floor {
|
|
2489
2485
|
id: number;
|
|
@@ -2504,7 +2500,7 @@ export interface HappyHour {
|
|
|
2504
2500
|
export interface TowerIslandIsland {
|
|
2505
2501
|
id: number;
|
|
2506
2502
|
analytics_id: string;
|
|
2507
|
-
tid_name:
|
|
2503
|
+
tid_name: IslandTidName;
|
|
2508
2504
|
start_ts: number;
|
|
2509
2505
|
end_ts: number;
|
|
2510
2506
|
initial_square_id: number;
|
|
@@ -2532,7 +2528,7 @@ export interface TowerIslandIsland {
|
|
|
2532
2528
|
active_platforms: ValueClass;
|
|
2533
2529
|
}
|
|
2534
2530
|
export type TentacledSoundTag = "RUINED_TOWER";
|
|
2535
|
-
export type
|
|
2531
|
+
export type IslandTidName = "tid_ti_generic_name";
|
|
2536
2532
|
export interface TowerIslandReward {
|
|
2537
2533
|
id: number;
|
|
2538
2534
|
dragon_reward_id: number;
|
|
@@ -2658,8 +2654,8 @@ export interface MultiplierTime {
|
|
|
2658
2654
|
multiplier_time: number;
|
|
2659
2655
|
}
|
|
2660
2656
|
export interface TreeOfLifePowerupRaritySeed {
|
|
2661
|
-
max_rarity_seeds_per_grade: number[];
|
|
2662
2657
|
rarity: Rarity;
|
|
2658
|
+
max_rarity_seeds_per_grade: number[];
|
|
2663
2659
|
}
|
|
2664
2660
|
export interface Visual {
|
|
2665
2661
|
id: number;
|