@dchighs/dc-config 0.1.165 → 0.1.167
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 -27
- package/package.json +1 -1
|
@@ -44,6 +44,7 @@ export interface GameDataConfig {
|
|
|
44
44
|
dragon_mastery: DragonMastery;
|
|
45
45
|
runner_island: RunnerIsland;
|
|
46
46
|
perks: Perks;
|
|
47
|
+
unlock_system: UnlockSystem;
|
|
47
48
|
}
|
|
48
49
|
export interface AssetVersioning {
|
|
49
50
|
dragons: BuildingElement[];
|
|
@@ -140,9 +141,9 @@ export interface DiscountUid {
|
|
|
140
141
|
}
|
|
141
142
|
export interface IapEliteDiscountUidAvailability {
|
|
142
143
|
from: string;
|
|
143
|
-
dur:
|
|
144
|
+
dur: PurpleDur;
|
|
144
145
|
}
|
|
145
|
-
export type
|
|
146
|
+
export type PurpleDur = "7d" | "10d" | "14d" | "15d" | "28d" | "29d" | "42d";
|
|
146
147
|
export type IapEliteDiscountUidIap = "elite_pass_promo_31_99" | "elite_pass_59_99" | "blackfriday_31_99" | "elite_upgrade_promo_23_99" | "special_ebp_upgrade_discount_39_99" | "blackfriday_21_99" | "battle_pass_19_99" | "battle_pass_7_99";
|
|
147
148
|
export type IapEliteUid = "battle_pass_29_99" | "elite_upgrade_19_99" | "elite_pass_39_99" | "elite_pass_89_99" | "blackfriday_49_99" | "elite_pass_promo_31_99";
|
|
148
149
|
export type IapEliteUpgradeUid = "battle_pass_19_99" | "battle_pass_39_99" | "elite_upgrade_29_99" | "special_ebp_upgrade_59_99" | "blackfriday_34_99" | "elite_pass_promo_23_99";
|
|
@@ -162,7 +163,7 @@ export interface Rules {
|
|
|
162
163
|
level?: number;
|
|
163
164
|
rarity?: Rarity;
|
|
164
165
|
}
|
|
165
|
-
export type ElementType = "
|
|
166
|
+
export type ElementType = "e" | "w" | "f" | "el" | "m" | "p" | "i" | "d" | "wd" | "li" | "wr" | "l" | "ti" | "pu" | "mg" | "hp" | "pr" | "ch" | "bt" | "dr" | "so" | "an" | "-" | "*" | "SMALL" | "MEDIUM" | "LARGE" | "SUPER" | "n" | "ph";
|
|
166
167
|
export type Rarity = "C" | "R" | "V" | "E" | "L" | "H" | "M";
|
|
167
168
|
export type CollectibleActionType = "COMBAT_ARENA" | "BREED" | "COLLECT_FOOD" | "LEVELUP_DRAGON" | "COLLECT_GOLD" | "FEED" | "HATCH_EGG" | "SPEND_EVENT_POINTS" | "SPEND_PUZZLE_TOKENS" | "SPEND_RUNNER_TOKENS" | "COMPLETE_HEROIC_NODE" | "WATCH_DRAGONTV_AD" | "FINISH_TRAINING" | "UPGRADE_HABITAT" | "CLAIM_ALLIANCE_CHEST" | "SUMMON_DRAGON" | "RECALL_DRAGON" | "DRAGON_POWER_UP_UPGRADE" | "COMPLETE_MDR_NODE" | "ACTIVATE_DRAGON_TOWER" | "RENAME_DRAGON" | "COMBAT_QUEST" | "COMBAT_LEAGUE" | "START_WIZARDS_CAVE_TRY" | "SPEND_GEMS_ON_WIZARDS_CAVE" | "REACH_STAGE_ON_WIZARDS_CAVE";
|
|
168
169
|
export interface ElitePass {
|
|
@@ -521,7 +522,7 @@ export interface Dragon {
|
|
|
521
522
|
group_type: DragonGroupType;
|
|
522
523
|
order: number;
|
|
523
524
|
level: number;
|
|
524
|
-
attributes:
|
|
525
|
+
attributes: ElementType[];
|
|
525
526
|
production_per_hour: ProductionPerHour;
|
|
526
527
|
summon_enabled: number;
|
|
527
528
|
summon_min_level: number;
|
|
@@ -553,7 +554,6 @@ export interface Dragon {
|
|
|
553
554
|
description: string;
|
|
554
555
|
description_tid: string;
|
|
555
556
|
}
|
|
556
|
-
export type AttributeElement = "an" | "bt" | "e" | "mg" | "w" | "ch" | "p" | "f" | "el" | "m" | "i" | "li" | "d" | "hp" | "dr" | "so";
|
|
557
557
|
export type DragonGroupType = "DWDRAGON";
|
|
558
558
|
export interface ProductionPerHour {
|
|
559
559
|
p: number;
|
|
@@ -713,12 +713,12 @@ export interface CostElement {
|
|
|
713
713
|
export interface ItemsUnitsAttributeModifier {
|
|
714
714
|
id: number;
|
|
715
715
|
behaviour: Behaviour;
|
|
716
|
-
attribute:
|
|
716
|
+
attribute: Attribute;
|
|
717
717
|
value: number[] | number;
|
|
718
718
|
only_if_equipped: boolean;
|
|
719
719
|
index?: number;
|
|
720
720
|
}
|
|
721
|
-
export type
|
|
721
|
+
export type Attribute = "attacks" | "base_attack" | "trainable_attacks" | "base_life" | "passive_skills" | "post_skills" | "speed" | "background_vfx" | "foreground_vfx";
|
|
722
722
|
export type Behaviour = "REPLACE" | "REPLACE_BY_INDEX" | "MULTIPLY";
|
|
723
723
|
export interface BattlesConfigElement {
|
|
724
724
|
id: number;
|
|
@@ -1160,7 +1160,7 @@ export interface Encounter {
|
|
|
1160
1160
|
fight_background?: string;
|
|
1161
1161
|
fight_background_id: FightBackgroundID;
|
|
1162
1162
|
}
|
|
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
|
+
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_mr_110_mythical_imperviousdiamond" | "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";
|
|
1164
1164
|
export interface EnemyElement {
|
|
1165
1165
|
id: number;
|
|
1166
1166
|
dragon_ids: number[];
|
|
@@ -1719,9 +1719,10 @@ export interface News {
|
|
|
1719
1719
|
"4": The4;
|
|
1720
1720
|
"5": The5;
|
|
1721
1721
|
"6": The6;
|
|
1722
|
-
"7":
|
|
1723
|
-
"8":
|
|
1722
|
+
"7": The10;
|
|
1723
|
+
"8": The10;
|
|
1724
1724
|
"9": The6;
|
|
1725
|
+
"10": The10;
|
|
1725
1726
|
canvas: Canva[];
|
|
1726
1727
|
}
|
|
1727
1728
|
export interface The0 {
|
|
@@ -1750,8 +1751,9 @@ export interface The0_Slide {
|
|
|
1750
1751
|
link_button_key: string;
|
|
1751
1752
|
slide_type: string;
|
|
1752
1753
|
slide_type_2: string;
|
|
1753
|
-
timer
|
|
1754
|
-
times_to_show
|
|
1754
|
+
timer?: string;
|
|
1755
|
+
times_to_show?: number;
|
|
1756
|
+
link_item_id?: number;
|
|
1755
1757
|
}
|
|
1756
1758
|
export interface The1 {
|
|
1757
1759
|
active_platforms: ValueClass;
|
|
@@ -1799,8 +1801,8 @@ export interface MultipleButton {
|
|
|
1799
1801
|
normalizedPosition: NormalizedPosition;
|
|
1800
1802
|
size: SizeClass;
|
|
1801
1803
|
style: Style;
|
|
1802
|
-
spineAsset?: SpineAsset;
|
|
1803
1804
|
linkItemId?: number | string;
|
|
1805
|
+
spineAsset?: SpineAsset;
|
|
1804
1806
|
}
|
|
1805
1807
|
export type AnimationPlace = "Foreground";
|
|
1806
1808
|
export type Key = "tid_news_viptiers_button" | "tid_helpshift_faq_title" | "";
|
|
@@ -1815,6 +1817,20 @@ export interface SizeClass {
|
|
|
1815
1817
|
export type SpineAsset = "pointer_animation_v2";
|
|
1816
1818
|
export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
|
|
1817
1819
|
export type SlideType = "FullImage";
|
|
1820
|
+
export interface The10 {
|
|
1821
|
+
active_platforms: ValueClass;
|
|
1822
|
+
allow_island_tutorial: number;
|
|
1823
|
+
assets_name: string;
|
|
1824
|
+
direct_to_shop: number;
|
|
1825
|
+
end_ts: string;
|
|
1826
|
+
id: number;
|
|
1827
|
+
min_level: number;
|
|
1828
|
+
popup_frequency: string;
|
|
1829
|
+
popup_type: string;
|
|
1830
|
+
show_on_startup: number;
|
|
1831
|
+
slides: The1_Slide[];
|
|
1832
|
+
start_ts: string;
|
|
1833
|
+
}
|
|
1818
1834
|
export interface The2 {
|
|
1819
1835
|
active_platforms: ValueClass;
|
|
1820
1836
|
allow_island_tutorial: number;
|
|
@@ -1859,25 +1875,18 @@ export interface The4 {
|
|
|
1859
1875
|
direct_to_shop: number;
|
|
1860
1876
|
end_ts: string;
|
|
1861
1877
|
filter_category: null;
|
|
1878
|
+
hud_button: The1_HudButton;
|
|
1862
1879
|
id: number;
|
|
1863
1880
|
label_text_tid: null;
|
|
1864
1881
|
label_title_tid: null;
|
|
1865
1882
|
min_level: number;
|
|
1883
|
+
popup_frequency: string;
|
|
1866
1884
|
popup_type: string;
|
|
1867
|
-
priority:
|
|
1885
|
+
priority: null;
|
|
1868
1886
|
show_on_startup: number;
|
|
1869
|
-
slides:
|
|
1887
|
+
slides: The0_Slide[];
|
|
1870
1888
|
start_ts: string;
|
|
1871
1889
|
}
|
|
1872
|
-
export interface The4_Slide {
|
|
1873
|
-
content_localized_key: string;
|
|
1874
|
-
custom_title_localized_key: string;
|
|
1875
|
-
header_localized_key: string;
|
|
1876
|
-
image_url: string;
|
|
1877
|
-
multiple_buttons: MultipleButton[];
|
|
1878
|
-
times_to_show: number;
|
|
1879
|
-
type: SlideType;
|
|
1880
|
-
}
|
|
1881
1890
|
export interface The5 {
|
|
1882
1891
|
active_platforms: ValueClass;
|
|
1883
1892
|
allow_island_tutorial: number;
|
|
@@ -1890,21 +1899,33 @@ export interface The5 {
|
|
|
1890
1899
|
label_title_tid: null;
|
|
1891
1900
|
min_level: number;
|
|
1892
1901
|
popup_type: string;
|
|
1893
|
-
priority: number
|
|
1902
|
+
priority: number;
|
|
1894
1903
|
show_on_startup: number;
|
|
1895
|
-
slides:
|
|
1904
|
+
slides: The5_Slide[];
|
|
1896
1905
|
start_ts: string;
|
|
1897
1906
|
}
|
|
1907
|
+
export interface The5_Slide {
|
|
1908
|
+
content_localized_key: string;
|
|
1909
|
+
custom_title_localized_key: string;
|
|
1910
|
+
header_localized_key: string;
|
|
1911
|
+
image_url: string;
|
|
1912
|
+
multiple_buttons: MultipleButton[];
|
|
1913
|
+
times_to_show: number;
|
|
1914
|
+
type: SlideType;
|
|
1915
|
+
}
|
|
1898
1916
|
export interface The6 {
|
|
1899
1917
|
active_platforms: ValueClass;
|
|
1900
1918
|
allow_island_tutorial: number;
|
|
1901
1919
|
assets_name: string;
|
|
1902
1920
|
direct_to_shop: number;
|
|
1903
1921
|
end_ts: string;
|
|
1922
|
+
filter_category: null;
|
|
1904
1923
|
id: number;
|
|
1924
|
+
label_text_tid: null;
|
|
1925
|
+
label_title_tid: null;
|
|
1905
1926
|
min_level: number;
|
|
1906
|
-
popup_frequency: string;
|
|
1907
1927
|
popup_type: string;
|
|
1928
|
+
priority: number | null;
|
|
1908
1929
|
show_on_startup: number;
|
|
1909
1930
|
slides: The1_Slide[];
|
|
1910
1931
|
start_ts: string;
|
|
@@ -2749,3 +2770,28 @@ export interface TreeOfLifeRecall {
|
|
|
2749
2770
|
}[];
|
|
2750
2771
|
multiplier_times: MultiplierTime[];
|
|
2751
2772
|
}
|
|
2773
|
+
export interface UnlockSystem {
|
|
2774
|
+
unlocks: Unlock[];
|
|
2775
|
+
}
|
|
2776
|
+
export interface Unlock {
|
|
2777
|
+
id: string;
|
|
2778
|
+
enabled: boolean;
|
|
2779
|
+
availability?: UnlockAvailability[];
|
|
2780
|
+
player_segmentation: number;
|
|
2781
|
+
user_level?: number;
|
|
2782
|
+
obtain_currency?: {
|
|
2783
|
+
[key: string]: number;
|
|
2784
|
+
}[];
|
|
2785
|
+
segmentation_operator?: string;
|
|
2786
|
+
live_segmentation?: string;
|
|
2787
|
+
player_segmentation_type?: string;
|
|
2788
|
+
}
|
|
2789
|
+
export interface UnlockAvailability {
|
|
2790
|
+
from: string;
|
|
2791
|
+
to?: string;
|
|
2792
|
+
dur?: FluffyDur;
|
|
2793
|
+
cycle?: Cycle;
|
|
2794
|
+
until?: string;
|
|
2795
|
+
}
|
|
2796
|
+
export type Cycle = "42d" | "1d";
|
|
2797
|
+
export type FluffyDur = "1d" | "1w" | "28d" | "7d" | "196d" | "8d" | "4d" | "10d" | "14d" | "180d" | "84d" | "3d";
|