@dchighs/dc-config 0.1.161 → 0.1.162
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 +49 -154
- package/package.json +1 -1
|
@@ -964,13 +964,13 @@ export interface FogIsland {
|
|
|
964
964
|
squares: FogIslandSquare[];
|
|
965
965
|
currencies: Currency[];
|
|
966
966
|
rewards: FogIslandReward[];
|
|
967
|
-
actions:
|
|
967
|
+
actions: Action[];
|
|
968
968
|
hints: Hint[];
|
|
969
969
|
parameters: FogIslandParameter[];
|
|
970
970
|
}
|
|
971
|
-
export interface
|
|
971
|
+
export interface Action {
|
|
972
972
|
id: number;
|
|
973
|
-
type:
|
|
973
|
+
type: ActionType;
|
|
974
974
|
tid_name: ActionTidName;
|
|
975
975
|
image: Image;
|
|
976
976
|
pool_percent: number;
|
|
@@ -986,6 +986,7 @@ export interface ExtraParameters {
|
|
|
986
986
|
}
|
|
987
987
|
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";
|
|
988
988
|
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";
|
|
989
|
+
export type ActionType = "COLLECT_GOLD" | "COLLECT_FARM_FOOD" | "FEED_DRAGONS" | "PVP" | "BREED_DRAGONS" | "HATCH_2" | "HATCH_3" | "HATCH_LEGEND" | "COLLECT_GREENHOUSE_FOOD";
|
|
989
990
|
export interface Currency {
|
|
990
991
|
id: number;
|
|
991
992
|
tid_name: string;
|
|
@@ -1140,7 +1141,7 @@ export interface GridIsland {
|
|
|
1140
1141
|
encounters: Encounter[];
|
|
1141
1142
|
enemies: EnemyElement[];
|
|
1142
1143
|
currencies: Currency[];
|
|
1143
|
-
actions:
|
|
1144
|
+
actions: Action[];
|
|
1144
1145
|
parameters: FogIslandParameter[];
|
|
1145
1146
|
}
|
|
1146
1147
|
export interface Decoration {
|
|
@@ -1159,7 +1160,7 @@ export interface Encounter {
|
|
|
1159
1160
|
fight_background?: string;
|
|
1160
1161
|
fight_background_id: FightBackgroundID;
|
|
1161
1162
|
}
|
|
1162
|
-
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_mi_norsegods" | "bg_battle_background_mi_halloween25";
|
|
1163
|
+
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_hr_halloween26" | "bg_battle_background_mi_mystery_in_paradise" | "bg_battle_background_mi_dragonmysteries" | "bg_battle_background_mi_fall_from_grace" | "bg_battle_background_mi_norsegods" | "bg_battle_background_mi_halloween25";
|
|
1163
1164
|
export interface EnemyElement {
|
|
1164
1165
|
id: number;
|
|
1165
1166
|
dragon_ids: number[];
|
|
@@ -1626,7 +1627,7 @@ export interface MazeIsland {
|
|
|
1626
1627
|
encounters: Encounter[];
|
|
1627
1628
|
enemies: EnemyElement[];
|
|
1628
1629
|
happy_hours: unknown[];
|
|
1629
|
-
actions:
|
|
1630
|
+
actions: Action[];
|
|
1630
1631
|
clouds: Cloud[];
|
|
1631
1632
|
currencies: Currency[];
|
|
1632
1633
|
parameters: FogIslandParameter[];
|
|
@@ -1717,88 +1718,50 @@ export interface News {
|
|
|
1717
1718
|
"3": The3;
|
|
1718
1719
|
"4": The4;
|
|
1719
1720
|
"5": The5;
|
|
1720
|
-
"6":
|
|
1721
|
-
"7":
|
|
1722
|
-
"8":
|
|
1723
|
-
"9": The9;
|
|
1721
|
+
"6": The0;
|
|
1722
|
+
"7": The5;
|
|
1723
|
+
"8": The0;
|
|
1724
1724
|
canvas: Canva[];
|
|
1725
1725
|
}
|
|
1726
1726
|
export interface The0 {
|
|
1727
|
-
active_platforms: ValueClass;
|
|
1728
|
-
allow_island_tutorial: number;
|
|
1729
|
-
assets_name: string;
|
|
1730
|
-
end_ts: string;
|
|
1731
|
-
hud_button: The0_HudButton;
|
|
1732
|
-
id: number;
|
|
1733
|
-
min_level: number;
|
|
1734
|
-
popup_type: string;
|
|
1735
|
-
show_on_startup: number;
|
|
1736
|
-
slides: The0_Slide[];
|
|
1737
|
-
start_ts: string;
|
|
1738
|
-
}
|
|
1739
|
-
export interface The0_HudButton {
|
|
1740
|
-
file: string;
|
|
1741
|
-
title: string;
|
|
1742
|
-
}
|
|
1743
|
-
export interface The0_Slide {
|
|
1744
|
-
custom_title_localized_key: string;
|
|
1745
|
-
image_url: string;
|
|
1746
|
-
link: string;
|
|
1747
|
-
link_button_key: string;
|
|
1748
|
-
slide_type: string;
|
|
1749
|
-
slide_type_2: string;
|
|
1750
|
-
timer: string;
|
|
1751
|
-
times_to_show: number;
|
|
1752
|
-
}
|
|
1753
|
-
export interface The1 {
|
|
1754
1727
|
active_platforms: ValueClass;
|
|
1755
1728
|
allow_island_tutorial: number;
|
|
1756
1729
|
assets_name: string;
|
|
1757
1730
|
direct_to_shop: number;
|
|
1758
1731
|
end_ts: string;
|
|
1759
|
-
filter_category: null;
|
|
1760
|
-
hud_button: The1_HudButton;
|
|
1761
1732
|
id: number;
|
|
1762
|
-
label_text_tid: null;
|
|
1763
|
-
label_title_tid: null;
|
|
1764
1733
|
min_level: number;
|
|
1765
1734
|
popup_frequency: string;
|
|
1766
|
-
popup_is_critical: number;
|
|
1767
1735
|
popup_type: string;
|
|
1768
|
-
priority: null;
|
|
1769
1736
|
show_on_startup: number;
|
|
1770
|
-
slides:
|
|
1737
|
+
slides: The0_Slide[];
|
|
1771
1738
|
start_ts: string;
|
|
1772
1739
|
}
|
|
1773
|
-
export interface
|
|
1774
|
-
|
|
1775
|
-
title: string;
|
|
1776
|
-
viral_icon_tier: number;
|
|
1777
|
-
}
|
|
1778
|
-
export interface The1_Slide {
|
|
1779
|
-
content_localized_key: string;
|
|
1740
|
+
export interface The0_Slide {
|
|
1741
|
+
content_localized_key?: string;
|
|
1780
1742
|
custom_title_localized_key: string;
|
|
1781
|
-
forceClose?: boolean;
|
|
1782
1743
|
header_localized_key: string;
|
|
1783
1744
|
image_url: string;
|
|
1784
1745
|
multiple_buttons: MultipleButton[];
|
|
1785
1746
|
times_to_show: number;
|
|
1786
|
-
type:
|
|
1747
|
+
type: SlideType;
|
|
1748
|
+
forceClose?: boolean;
|
|
1787
1749
|
}
|
|
1788
1750
|
export interface MultipleButton {
|
|
1789
1751
|
animation: AnimationNameEnum;
|
|
1790
1752
|
animationPlace: AnimationPlace;
|
|
1791
1753
|
forceClose: boolean;
|
|
1792
1754
|
glint: boolean;
|
|
1793
|
-
key:
|
|
1755
|
+
key: Key;
|
|
1794
1756
|
link: string;
|
|
1757
|
+
linkItemId?: number | string;
|
|
1795
1758
|
normalizedPosition: NormalizedPosition;
|
|
1796
1759
|
size: SizeClass;
|
|
1797
|
-
style: Style;
|
|
1798
1760
|
spineAsset?: SpineAsset;
|
|
1799
|
-
|
|
1761
|
+
style: Style;
|
|
1800
1762
|
}
|
|
1801
1763
|
export type AnimationPlace = "Foreground";
|
|
1764
|
+
export type Key = "" | "tid_news_viptiers_button" | "tid_helpshift_faq_title";
|
|
1802
1765
|
export interface NormalizedPosition {
|
|
1803
1766
|
x: number;
|
|
1804
1767
|
y: number;
|
|
@@ -1807,76 +1770,72 @@ export interface SizeClass {
|
|
|
1807
1770
|
h: number;
|
|
1808
1771
|
w: number;
|
|
1809
1772
|
}
|
|
1810
|
-
export type SpineAsset = "pointer_animation_v2"
|
|
1811
|
-
export type Style = "
|
|
1812
|
-
export
|
|
1773
|
+
export type SpineAsset = "pointer_animation_v2";
|
|
1774
|
+
export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
|
|
1775
|
+
export type SlideType = "FullImage";
|
|
1776
|
+
export interface The1 {
|
|
1813
1777
|
active_platforms: ValueClass;
|
|
1814
1778
|
allow_island_tutorial: number;
|
|
1815
1779
|
assets_name: string;
|
|
1816
1780
|
direct_to_shop: number;
|
|
1817
1781
|
end_ts: string;
|
|
1818
1782
|
filter_category: null;
|
|
1819
|
-
hud_button:
|
|
1783
|
+
hud_button: HudButton;
|
|
1820
1784
|
id: number;
|
|
1821
1785
|
label_text_tid: null;
|
|
1822
1786
|
label_title_tid: null;
|
|
1823
1787
|
min_level: number;
|
|
1824
1788
|
popup_frequency: string;
|
|
1789
|
+
popup_is_critical: number;
|
|
1825
1790
|
popup_type: string;
|
|
1826
1791
|
priority: null;
|
|
1827
1792
|
show_on_startup: number;
|
|
1828
|
-
slides:
|
|
1793
|
+
slides: The0_Slide[];
|
|
1829
1794
|
start_ts: string;
|
|
1830
1795
|
}
|
|
1831
|
-
export interface
|
|
1796
|
+
export interface HudButton {
|
|
1797
|
+
file: string;
|
|
1798
|
+
title: string;
|
|
1799
|
+
viral_icon_tier: number;
|
|
1800
|
+
}
|
|
1801
|
+
export interface The2 {
|
|
1832
1802
|
active_platforms: ValueClass;
|
|
1833
1803
|
allow_island_tutorial: number;
|
|
1834
1804
|
assets_name: string;
|
|
1835
1805
|
direct_to_shop: number;
|
|
1836
1806
|
end_ts: string;
|
|
1837
1807
|
filter_category: null;
|
|
1838
|
-
hud_button:
|
|
1808
|
+
hud_button: HudButton;
|
|
1839
1809
|
id: number;
|
|
1840
1810
|
label_text_tid: null;
|
|
1841
1811
|
label_title_tid: null;
|
|
1842
1812
|
min_level: number;
|
|
1813
|
+
popup_frequency: string;
|
|
1843
1814
|
popup_type: string;
|
|
1844
1815
|
priority: null;
|
|
1845
1816
|
show_on_startup: number;
|
|
1846
|
-
slides:
|
|
1817
|
+
slides: The0_Slide[];
|
|
1847
1818
|
start_ts: string;
|
|
1848
1819
|
}
|
|
1849
|
-
export interface
|
|
1820
|
+
export interface The3 {
|
|
1850
1821
|
active_platforms: ValueClass;
|
|
1851
1822
|
allow_island_tutorial: number;
|
|
1852
1823
|
assets_name: string;
|
|
1853
1824
|
direct_to_shop: number;
|
|
1854
1825
|
end_ts: string;
|
|
1855
1826
|
filter_category: null;
|
|
1856
|
-
hud_button:
|
|
1827
|
+
hud_button: HudButton;
|
|
1857
1828
|
id: number;
|
|
1858
1829
|
label_text_tid: null;
|
|
1859
1830
|
label_title_tid: null;
|
|
1860
1831
|
min_level: number;
|
|
1861
|
-
popup_frequency: string;
|
|
1862
1832
|
popup_type: string;
|
|
1863
1833
|
priority: null;
|
|
1864
1834
|
show_on_startup: number;
|
|
1865
|
-
slides:
|
|
1835
|
+
slides: The0_Slide[];
|
|
1866
1836
|
start_ts: string;
|
|
1867
1837
|
}
|
|
1868
|
-
export interface
|
|
1869
|
-
content_localized_key: string;
|
|
1870
|
-
custom_title_localized_key: string;
|
|
1871
|
-
header_localized_key: string;
|
|
1872
|
-
image_url: string;
|
|
1873
|
-
link: string;
|
|
1874
|
-
link_button_key: string;
|
|
1875
|
-
link_item_id: number;
|
|
1876
|
-
slide_type: string;
|
|
1877
|
-
slide_type_2: string;
|
|
1878
|
-
}
|
|
1879
|
-
export interface The5 {
|
|
1838
|
+
export interface The4 {
|
|
1880
1839
|
active_platforms: ValueClass;
|
|
1881
1840
|
allow_island_tutorial: number;
|
|
1882
1841
|
assets_name: string;
|
|
@@ -1890,19 +1849,19 @@ export interface The5 {
|
|
|
1890
1849
|
popup_type: string;
|
|
1891
1850
|
priority: number;
|
|
1892
1851
|
show_on_startup: number;
|
|
1893
|
-
slides:
|
|
1852
|
+
slides: The4_Slide[];
|
|
1894
1853
|
start_ts: string;
|
|
1895
1854
|
}
|
|
1896
|
-
export interface
|
|
1855
|
+
export interface The4_Slide {
|
|
1897
1856
|
content_localized_key: string;
|
|
1898
1857
|
custom_title_localized_key: string;
|
|
1899
1858
|
header_localized_key: string;
|
|
1900
1859
|
image_url: string;
|
|
1901
1860
|
multiple_buttons: MultipleButton[];
|
|
1902
1861
|
times_to_show: number;
|
|
1903
|
-
type:
|
|
1862
|
+
type: SlideType;
|
|
1904
1863
|
}
|
|
1905
|
-
export interface
|
|
1864
|
+
export interface The5 {
|
|
1906
1865
|
active_platforms: ValueClass;
|
|
1907
1866
|
allow_island_tutorial: number;
|
|
1908
1867
|
assets_name: string;
|
|
@@ -1916,81 +1875,17 @@ export interface The6 {
|
|
|
1916
1875
|
popup_type: string;
|
|
1917
1876
|
priority: number | null;
|
|
1918
1877
|
show_on_startup: number;
|
|
1919
|
-
slides:
|
|
1878
|
+
slides: The0_Slide[];
|
|
1920
1879
|
start_ts: string;
|
|
1921
1880
|
}
|
|
1922
|
-
export interface
|
|
1923
|
-
active_platforms: ValueClass;
|
|
1924
|
-
allow_island_tutorial: number;
|
|
1925
|
-
assets_name: string;
|
|
1926
|
-
direct_to_shop: number;
|
|
1927
|
-
end_ts: string;
|
|
1881
|
+
export interface Canva {
|
|
1928
1882
|
id: number;
|
|
1929
|
-
min_level: number;
|
|
1930
|
-
popup_frequency: string;
|
|
1931
|
-
popup_type: string;
|
|
1932
|
-
show_on_startup: number;
|
|
1933
|
-
slides: The1_Slide[];
|
|
1934
|
-
start_ts: string;
|
|
1935
|
-
}
|
|
1936
|
-
export interface The9 {
|
|
1937
|
-
active_platforms: The9_ActivePlatforms;
|
|
1938
|
-
allow_island_tutorial: number;
|
|
1939
1883
|
assets_name: string;
|
|
1940
|
-
|
|
1941
|
-
end_ts:
|
|
1942
|
-
id: number;
|
|
1884
|
+
start_ts: number;
|
|
1885
|
+
end_ts: number;
|
|
1943
1886
|
min_level: number;
|
|
1944
|
-
|
|
1945
|
-
popup_is_critical: boolean;
|
|
1946
|
-
popup_type: string;
|
|
1887
|
+
slides: The0_Slide[];
|
|
1947
1888
|
show_on_startup: number;
|
|
1948
|
-
slides: The1_Slide[];
|
|
1949
|
-
start_ts: string;
|
|
1950
|
-
}
|
|
1951
|
-
export interface The9_ActivePlatforms {
|
|
1952
|
-
android: number[];
|
|
1953
|
-
ios: number[];
|
|
1954
|
-
}
|
|
1955
|
-
export interface Canva {
|
|
1956
|
-
id: number;
|
|
1957
|
-
assets_name: string;
|
|
1958
|
-
start_ts: number | string;
|
|
1959
|
-
end_ts: number | string;
|
|
1960
|
-
min_level?: number;
|
|
1961
|
-
slides: CanvaSlide[];
|
|
1962
|
-
show_on_startup?: number;
|
|
1963
|
-
}
|
|
1964
|
-
export interface CanvaSlide {
|
|
1965
|
-
custom_title_localized_key?: string;
|
|
1966
|
-
header_localized_key?: string;
|
|
1967
|
-
image_url?: string;
|
|
1968
|
-
times_to_show?: number;
|
|
1969
|
-
type?: string;
|
|
1970
|
-
multiple_buttons?: MultipleButton[];
|
|
1971
|
-
bg?: string;
|
|
1972
|
-
content?: Content[];
|
|
1973
|
-
edit_mode?: number;
|
|
1974
|
-
id?: number;
|
|
1975
|
-
title_key?: string;
|
|
1976
|
-
viral_icon_key?: string;
|
|
1977
|
-
viral_icon_timer?: string;
|
|
1978
|
-
}
|
|
1979
|
-
export interface Content {
|
|
1980
|
-
action: ContentAction;
|
|
1981
|
-
height: number;
|
|
1982
|
-
rotation: number;
|
|
1983
|
-
style: string;
|
|
1984
|
-
text_key: string;
|
|
1985
|
-
type: string;
|
|
1986
|
-
width: number;
|
|
1987
|
-
x: number;
|
|
1988
|
-
y: number;
|
|
1989
|
-
}
|
|
1990
|
-
export interface ContentAction {
|
|
1991
|
-
itemId: string;
|
|
1992
|
-
storeCategory: number;
|
|
1993
|
-
type: string;
|
|
1994
1889
|
}
|
|
1995
1890
|
export interface Perks {
|
|
1996
1891
|
abilities: Ability[];
|
|
@@ -2588,7 +2483,7 @@ export interface TowerIsland {
|
|
|
2588
2483
|
happy_hours: HappyHour[];
|
|
2589
2484
|
parameters: FogIslandParameter[];
|
|
2590
2485
|
currencies: Currency[];
|
|
2591
|
-
actions:
|
|
2486
|
+
actions: Action[];
|
|
2592
2487
|
}
|
|
2593
2488
|
export interface Floor {
|
|
2594
2489
|
id: number;
|