@dchighs/dc-config 0.1.123 → 0.1.125
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 +86 -18
- 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,11 +960,11 @@ export interface FogIsland {
|
|
|
960
960
|
squares: FogIslandSquare[];
|
|
961
961
|
currencies: Currency[];
|
|
962
962
|
rewards: FogIslandReward[];
|
|
963
|
-
actions:
|
|
963
|
+
actions: ActionElement[];
|
|
964
964
|
hints: Hint[];
|
|
965
965
|
parameters: FogIslandParameter[];
|
|
966
966
|
}
|
|
967
|
-
export interface
|
|
967
|
+
export interface ActionElement {
|
|
968
968
|
id: number;
|
|
969
969
|
type: string;
|
|
970
970
|
tid_name: string;
|
|
@@ -1134,7 +1134,7 @@ export interface GridIsland {
|
|
|
1134
1134
|
encounters: Encounter[];
|
|
1135
1135
|
enemies: EnemyElement[];
|
|
1136
1136
|
currencies: Currency[];
|
|
1137
|
-
actions:
|
|
1137
|
+
actions: ActionElement[];
|
|
1138
1138
|
parameters: FogIslandParameter[];
|
|
1139
1139
|
}
|
|
1140
1140
|
export interface Decoration {
|
|
@@ -1153,7 +1153,7 @@ export interface Encounter {
|
|
|
1153
1153
|
fight_background?: string;
|
|
1154
1154
|
fight_background_id: FightBackgroundID;
|
|
1155
1155
|
}
|
|
1156
|
-
export type FightBackgroundID = "bg_battle_background_gi_treasurehunt" | "bg_battle_background_hr_medievalholidays" | "bg_battle_background_mr_108_mythical_gelbarrier" | "bg_battle_background_mi_mystery_in_paradise";
|
|
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_mi_mystery_in_paradise" | "bg_battle_background_mi_dragonmysteries";
|
|
1157
1157
|
export interface EnemyElement {
|
|
1158
1158
|
id: number;
|
|
1159
1159
|
dragon_ids: number[];
|
|
@@ -1320,6 +1320,7 @@ export interface LapRewardReward {
|
|
|
1320
1320
|
"album_pack_aces.1"?: number;
|
|
1321
1321
|
"pet_food_pack.l"?: number;
|
|
1322
1322
|
"album_pack_aces.2"?: number;
|
|
1323
|
+
"album_pack.xl"?: number;
|
|
1323
1324
|
"album_pack_aces.3"?: number;
|
|
1324
1325
|
trade_tickets?: TradeTicket[];
|
|
1325
1326
|
"album_pack_aces.4"?: number;
|
|
@@ -1617,7 +1618,7 @@ export interface MazeIsland {
|
|
|
1617
1618
|
encounters: Encounter[];
|
|
1618
1619
|
enemies: EnemyElement[];
|
|
1619
1620
|
happy_hours: unknown[];
|
|
1620
|
-
actions:
|
|
1621
|
+
actions: ActionElement[];
|
|
1621
1622
|
clouds: Cloud[];
|
|
1622
1623
|
currencies: Currency[];
|
|
1623
1624
|
parameters: FogIslandParameter[];
|
|
@@ -1673,6 +1674,13 @@ export interface NodeReward {
|
|
|
1673
1674
|
b?: number[];
|
|
1674
1675
|
chest?: number;
|
|
1675
1676
|
egg?: number;
|
|
1677
|
+
"album_pack.s"?: number;
|
|
1678
|
+
"album_pack.m"?: number;
|
|
1679
|
+
"album_pack.l"?: number;
|
|
1680
|
+
"album_pack.xl"?: number;
|
|
1681
|
+
"album_pack_aces.generic"?: number;
|
|
1682
|
+
"album_pack_aces.2"?: number;
|
|
1683
|
+
"album_pack_aces.4"?: number;
|
|
1676
1684
|
}
|
|
1677
1685
|
export interface Path {
|
|
1678
1686
|
id: number;
|
|
@@ -1697,7 +1705,8 @@ export interface News {
|
|
|
1697
1705
|
"2": The2;
|
|
1698
1706
|
"3": The3;
|
|
1699
1707
|
"4": The4;
|
|
1700
|
-
"5":
|
|
1708
|
+
"5": The5;
|
|
1709
|
+
"6": The5;
|
|
1701
1710
|
canvas: Canva[];
|
|
1702
1711
|
}
|
|
1703
1712
|
export interface The0 {
|
|
@@ -1726,14 +1735,14 @@ export interface The0_HudButton {
|
|
|
1726
1735
|
viral_icon_tier: number;
|
|
1727
1736
|
}
|
|
1728
1737
|
export interface The0_Slide {
|
|
1729
|
-
content_localized_key
|
|
1738
|
+
content_localized_key: string;
|
|
1730
1739
|
custom_title_localized_key: string;
|
|
1731
1740
|
forceClose?: boolean;
|
|
1732
1741
|
header_localized_key: string;
|
|
1733
1742
|
image_url: string;
|
|
1734
1743
|
multiple_buttons: MultipleButton[];
|
|
1735
1744
|
times_to_show: number;
|
|
1736
|
-
type:
|
|
1745
|
+
type: string;
|
|
1737
1746
|
}
|
|
1738
1747
|
export interface MultipleButton {
|
|
1739
1748
|
animation: AnimationNameEnum;
|
|
@@ -1758,7 +1767,6 @@ export interface SizeClass {
|
|
|
1758
1767
|
w: number;
|
|
1759
1768
|
}
|
|
1760
1769
|
export type SpineAsset = "pointer_animation_v2";
|
|
1761
|
-
export type SlideType = "FullImage";
|
|
1762
1770
|
export interface The1 {
|
|
1763
1771
|
active_platforms: ValueClass;
|
|
1764
1772
|
allow_island_tutorial: number;
|
|
@@ -1777,9 +1785,7 @@ export interface The1_HudButton {
|
|
|
1777
1785
|
title: string;
|
|
1778
1786
|
}
|
|
1779
1787
|
export interface The1_Slide {
|
|
1780
|
-
content_localized_key: string;
|
|
1781
1788
|
custom_title_localized_key: string;
|
|
1782
|
-
header_localized_key: string;
|
|
1783
1789
|
image_url: string;
|
|
1784
1790
|
link: string;
|
|
1785
1791
|
link_button_key: string;
|
|
@@ -1821,6 +1827,36 @@ export interface The3 {
|
|
|
1821
1827
|
start_ts: string;
|
|
1822
1828
|
}
|
|
1823
1829
|
export interface The4 {
|
|
1830
|
+
active_platforms: ValueClass;
|
|
1831
|
+
allow_island_tutorial: number;
|
|
1832
|
+
assets_name: string;
|
|
1833
|
+
direct_to_shop: number;
|
|
1834
|
+
end_ts: string;
|
|
1835
|
+
filter_category: null;
|
|
1836
|
+
hud_button: The0_HudButton;
|
|
1837
|
+
id: number;
|
|
1838
|
+
label_text_tid: null;
|
|
1839
|
+
label_title_tid: null;
|
|
1840
|
+
min_level: number;
|
|
1841
|
+
popup_frequency: string;
|
|
1842
|
+
popup_type: string;
|
|
1843
|
+
priority: null;
|
|
1844
|
+
show_on_startup: number;
|
|
1845
|
+
slides: The4_Slide[];
|
|
1846
|
+
start_ts: string;
|
|
1847
|
+
}
|
|
1848
|
+
export interface The4_Slide {
|
|
1849
|
+
content_localized_key: string;
|
|
1850
|
+
custom_title_localized_key: string;
|
|
1851
|
+
header_localized_key: string;
|
|
1852
|
+
image_url: string;
|
|
1853
|
+
link: string;
|
|
1854
|
+
link_button_key: string;
|
|
1855
|
+
link_item_id: number;
|
|
1856
|
+
slide_type: string;
|
|
1857
|
+
slide_type_2: string;
|
|
1858
|
+
}
|
|
1859
|
+
export interface The5 {
|
|
1824
1860
|
active_platforms: ValueClass;
|
|
1825
1861
|
allow_island_tutorial: number;
|
|
1826
1862
|
assets_name: string;
|
|
@@ -1840,11 +1876,42 @@ export interface The4 {
|
|
|
1840
1876
|
export interface Canva {
|
|
1841
1877
|
id: number;
|
|
1842
1878
|
assets_name: string;
|
|
1843
|
-
start_ts: number;
|
|
1844
|
-
end_ts: number;
|
|
1845
|
-
min_level
|
|
1846
|
-
slides:
|
|
1847
|
-
show_on_startup
|
|
1879
|
+
start_ts: number | string;
|
|
1880
|
+
end_ts: number | string;
|
|
1881
|
+
min_level?: number;
|
|
1882
|
+
slides: CanvaSlide[];
|
|
1883
|
+
show_on_startup?: number;
|
|
1884
|
+
}
|
|
1885
|
+
export interface CanvaSlide {
|
|
1886
|
+
custom_title_localized_key?: string;
|
|
1887
|
+
header_localized_key?: string;
|
|
1888
|
+
image_url?: string;
|
|
1889
|
+
times_to_show?: number;
|
|
1890
|
+
type?: string;
|
|
1891
|
+
multiple_buttons?: MultipleButton[];
|
|
1892
|
+
bg?: string;
|
|
1893
|
+
content?: Content[];
|
|
1894
|
+
edit_mode?: number;
|
|
1895
|
+
id?: number;
|
|
1896
|
+
title_key?: string;
|
|
1897
|
+
viral_icon_key?: string;
|
|
1898
|
+
viral_icon_timer?: string;
|
|
1899
|
+
}
|
|
1900
|
+
export interface Content {
|
|
1901
|
+
action: ContentAction;
|
|
1902
|
+
height: number;
|
|
1903
|
+
rotation: number;
|
|
1904
|
+
style: string;
|
|
1905
|
+
text_key: string;
|
|
1906
|
+
type: string;
|
|
1907
|
+
width: number;
|
|
1908
|
+
x: number;
|
|
1909
|
+
y: number;
|
|
1910
|
+
}
|
|
1911
|
+
export interface ContentAction {
|
|
1912
|
+
itemId: string;
|
|
1913
|
+
storeCategory: number;
|
|
1914
|
+
type: string;
|
|
1848
1915
|
}
|
|
1849
1916
|
export interface Perks {
|
|
1850
1917
|
abilities: Ability[];
|
|
@@ -2434,7 +2501,7 @@ export interface TowerIsland {
|
|
|
2434
2501
|
happy_hours: HappyHour[];
|
|
2435
2502
|
parameters: FogIslandParameter[];
|
|
2436
2503
|
currencies: Currency[];
|
|
2437
|
-
actions:
|
|
2504
|
+
actions: ActionElement[];
|
|
2438
2505
|
}
|
|
2439
2506
|
export interface Floor {
|
|
2440
2507
|
id: number;
|
|
@@ -2520,6 +2587,7 @@ export interface TreasureItem {
|
|
|
2520
2587
|
use_formula: number;
|
|
2521
2588
|
active_platforms: ValueClass;
|
|
2522
2589
|
feature?: Feature;
|
|
2590
|
+
amount_by_level: string;
|
|
2523
2591
|
amount: number;
|
|
2524
2592
|
badgeText?: string;
|
|
2525
2593
|
}
|