@dchighs/dc-config 0.1.142 → 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 +73 -26
- package/package.json +1 -1
|
@@ -967,8 +967,8 @@ export interface FogIsland {
|
|
|
967
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;
|
|
@@ -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[];
|
|
@@ -1707,17 +1709,19 @@ export interface News {
|
|
|
1707
1709
|
"0": The0;
|
|
1708
1710
|
"1": The1;
|
|
1709
1711
|
"2": The2;
|
|
1710
|
-
"3":
|
|
1711
|
-
"4":
|
|
1712
|
-
"5":
|
|
1712
|
+
"3": The3;
|
|
1713
|
+
"4": The3;
|
|
1714
|
+
"5": The3;
|
|
1715
|
+
"6": The6;
|
|
1713
1716
|
canvas: Canva[];
|
|
1714
1717
|
}
|
|
1715
1718
|
export interface The0 {
|
|
1716
1719
|
active_platforms: ValueClass;
|
|
1717
1720
|
allow_island_tutorial: number;
|
|
1718
1721
|
assets_name: string;
|
|
1722
|
+
direct_to_shop: number;
|
|
1719
1723
|
end_ts: string;
|
|
1720
|
-
hud_button:
|
|
1724
|
+
hud_button: HudButton;
|
|
1721
1725
|
id: number;
|
|
1722
1726
|
min_level: number;
|
|
1723
1727
|
popup_type: string;
|
|
@@ -1725,9 +1729,10 @@ export interface The0 {
|
|
|
1725
1729
|
slides: The0_Slide[];
|
|
1726
1730
|
start_ts: string;
|
|
1727
1731
|
}
|
|
1728
|
-
export interface
|
|
1732
|
+
export interface HudButton {
|
|
1729
1733
|
file: string;
|
|
1730
1734
|
title: string;
|
|
1735
|
+
viral_icon_tier: number;
|
|
1731
1736
|
}
|
|
1732
1737
|
export interface The0_Slide {
|
|
1733
1738
|
content_localized_key: string;
|
|
@@ -1738,8 +1743,8 @@ export interface The0_Slide {
|
|
|
1738
1743
|
link_button_key: string;
|
|
1739
1744
|
slide_type: string;
|
|
1740
1745
|
slide_type_2: string;
|
|
1741
|
-
timer
|
|
1742
|
-
|
|
1746
|
+
timer?: string;
|
|
1747
|
+
link_item_id?: number;
|
|
1743
1748
|
}
|
|
1744
1749
|
export interface The1 {
|
|
1745
1750
|
active_platforms: ValueClass;
|
|
@@ -1748,7 +1753,7 @@ export interface The1 {
|
|
|
1748
1753
|
direct_to_shop: number;
|
|
1749
1754
|
end_ts: string;
|
|
1750
1755
|
filter_category: null;
|
|
1751
|
-
hud_button:
|
|
1756
|
+
hud_button: HudButton;
|
|
1752
1757
|
id: number;
|
|
1753
1758
|
label_text_tid: null;
|
|
1754
1759
|
label_title_tid: null;
|
|
@@ -1759,20 +1764,15 @@ export interface The1 {
|
|
|
1759
1764
|
slides: The1_Slide[];
|
|
1760
1765
|
start_ts: string;
|
|
1761
1766
|
}
|
|
1762
|
-
export interface The1_HudButton {
|
|
1763
|
-
file: string;
|
|
1764
|
-
title: string;
|
|
1765
|
-
viral_icon_tier: number;
|
|
1766
|
-
}
|
|
1767
1767
|
export interface The1_Slide {
|
|
1768
|
-
content_localized_key
|
|
1768
|
+
content_localized_key: string;
|
|
1769
1769
|
custom_title_localized_key: string;
|
|
1770
1770
|
forceClose?: boolean;
|
|
1771
1771
|
header_localized_key: string;
|
|
1772
1772
|
image_url: string;
|
|
1773
1773
|
multiple_buttons: MultipleButton[];
|
|
1774
1774
|
times_to_show: number;
|
|
1775
|
-
type:
|
|
1775
|
+
type: string;
|
|
1776
1776
|
}
|
|
1777
1777
|
export interface MultipleButton {
|
|
1778
1778
|
animation: AnimationNameEnum;
|
|
@@ -1799,8 +1799,26 @@ export interface SizeClass {
|
|
|
1799
1799
|
}
|
|
1800
1800
|
export type SpineAsset = "pointer_animation_v2";
|
|
1801
1801
|
export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
|
|
1802
|
-
export type SlideType = "FullImage";
|
|
1803
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
|
+
}
|
|
1821
|
+
export interface The3 {
|
|
1804
1822
|
active_platforms: ValueClass;
|
|
1805
1823
|
allow_island_tutorial: number;
|
|
1806
1824
|
assets_name: string;
|
|
@@ -1814,14 +1832,14 @@ export interface The2 {
|
|
|
1814
1832
|
slides: The1_Slide[];
|
|
1815
1833
|
start_ts: string;
|
|
1816
1834
|
}
|
|
1817
|
-
export interface
|
|
1835
|
+
export interface The6 {
|
|
1818
1836
|
active_platforms: ValueClass;
|
|
1819
1837
|
allow_island_tutorial: number;
|
|
1820
1838
|
assets_name: string;
|
|
1821
1839
|
direct_to_shop: number;
|
|
1822
1840
|
end_ts: string;
|
|
1823
1841
|
filter_category: null;
|
|
1824
|
-
hud_button:
|
|
1842
|
+
hud_button: HudButton;
|
|
1825
1843
|
id: number;
|
|
1826
1844
|
label_text_tid: null;
|
|
1827
1845
|
label_title_tid: null;
|
|
@@ -1837,11 +1855,40 @@ export interface The5 {
|
|
|
1837
1855
|
export interface Canva {
|
|
1838
1856
|
id: number;
|
|
1839
1857
|
assets_name: string;
|
|
1840
|
-
start_ts: number;
|
|
1841
|
-
end_ts: number;
|
|
1858
|
+
start_ts: number | string;
|
|
1859
|
+
end_ts: number | string;
|
|
1842
1860
|
min_level: number;
|
|
1843
|
-
slides:
|
|
1861
|
+
slides: CanvaSlide[];
|
|
1844
1862
|
show_on_startup: number;
|
|
1863
|
+
priority?: string;
|
|
1864
|
+
}
|
|
1865
|
+
export interface CanvaSlide {
|
|
1866
|
+
custom_title_localized_key?: string;
|
|
1867
|
+
header_localized_key?: string;
|
|
1868
|
+
image_url?: string;
|
|
1869
|
+
times_to_show?: number;
|
|
1870
|
+
type?: string;
|
|
1871
|
+
multiple_buttons?: MultipleButton[];
|
|
1872
|
+
bg?: string;
|
|
1873
|
+
content?: Content[];
|
|
1874
|
+
edit_mode?: number;
|
|
1875
|
+
id?: number;
|
|
1876
|
+
title_key?: string;
|
|
1877
|
+
viral_icon_key?: string;
|
|
1878
|
+
viral_icon_timer?: string;
|
|
1879
|
+
}
|
|
1880
|
+
export interface Content {
|
|
1881
|
+
height: number;
|
|
1882
|
+
rotation: number;
|
|
1883
|
+
stroke: string;
|
|
1884
|
+
text_color: string;
|
|
1885
|
+
text_key: string;
|
|
1886
|
+
text_size: number;
|
|
1887
|
+
timer: number;
|
|
1888
|
+
type: string;
|
|
1889
|
+
width: number;
|
|
1890
|
+
x: number;
|
|
1891
|
+
y: number;
|
|
1845
1892
|
}
|
|
1846
1893
|
export interface Perks {
|
|
1847
1894
|
abilities: Ability[];
|
|
@@ -2453,7 +2500,7 @@ export interface HappyHour {
|
|
|
2453
2500
|
export interface TowerIslandIsland {
|
|
2454
2501
|
id: number;
|
|
2455
2502
|
analytics_id: string;
|
|
2456
|
-
tid_name:
|
|
2503
|
+
tid_name: IslandTidName;
|
|
2457
2504
|
start_ts: number;
|
|
2458
2505
|
end_ts: number;
|
|
2459
2506
|
initial_square_id: number;
|
|
@@ -2481,7 +2528,7 @@ export interface TowerIslandIsland {
|
|
|
2481
2528
|
active_platforms: ValueClass;
|
|
2482
2529
|
}
|
|
2483
2530
|
export type TentacledSoundTag = "RUINED_TOWER";
|
|
2484
|
-
export type
|
|
2531
|
+
export type IslandTidName = "tid_ti_generic_name";
|
|
2485
2532
|
export interface TowerIslandReward {
|
|
2486
2533
|
id: number;
|
|
2487
2534
|
dragon_reward_id: number;
|