@rpg-engine/shared 0.9.109 → 0.9.110
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.
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { CharacterClass } from "./character.types";
|
|
2
2
|
export declare enum DailyTaskBlueprintRegular {
|
|
3
|
-
|
|
3
|
+
HuntRats = "HuntRats",
|
|
4
4
|
HuntWolves = "HuntWolves",
|
|
5
|
+
HuntSpider = "HuntSpider",
|
|
5
6
|
HuntTrolls = "HuntTrolls",
|
|
6
7
|
GatherResources = "GatherResources",
|
|
7
|
-
|
|
8
|
+
CollectFish = "CollectFish",
|
|
8
9
|
MineOres = "MineOres",
|
|
9
10
|
CraftPotions = "CraftPotions",
|
|
10
11
|
CraftArmor = "CraftArmor",
|
|
11
12
|
CraftTools = "CraftTools",
|
|
12
13
|
ExploreVillage = "ExploreVillage",
|
|
13
14
|
ExploreCaves = "ExploreCaves",
|
|
14
|
-
ExploreForest = "ExploreForest"
|
|
15
|
-
ExploreRuins = "ExploreRuins"
|
|
15
|
+
ExploreForest = "ExploreForest"
|
|
16
16
|
}
|
|
17
17
|
export declare enum DailyTaskBlueprintChallenge {
|
|
18
18
|
CraftLegendaryWeapon = "CraftLegendaryWeapon",
|
|
@@ -20,7 +20,9 @@ export declare enum DailyTaskBlueprintChallenge {
|
|
|
20
20
|
HuntSkullsplitter = "HuntSkullsplitter",
|
|
21
21
|
HuntWinterReaper = "HuntWinterReaper",
|
|
22
22
|
ExploreShadowlands = "ExploreShadowlands",
|
|
23
|
-
ExploreDesert = "ExploreDesert"
|
|
23
|
+
ExploreDesert = "ExploreDesert",
|
|
24
|
+
CollectRareHerbs = "CollectRareHerbs",
|
|
25
|
+
CollectAncientRelics = "CollectAncientRelics"
|
|
24
26
|
}
|
|
25
27
|
export declare type DailyTaskBlueprint = DailyTaskBlueprintRegular | DailyTaskBlueprintChallenge;
|
|
26
28
|
export declare enum TaskType {
|
|
@@ -77,25 +79,16 @@ export interface ITaskReward {
|
|
|
77
79
|
quantity: number;
|
|
78
80
|
}
|
|
79
81
|
export interface IKillMobsProgress {
|
|
80
|
-
type: TaskType.KillMobs;
|
|
81
82
|
kills: Record<string, number>;
|
|
82
|
-
targetsProgress: IProgressTracker<IQuantifiableTarget>[];
|
|
83
83
|
}
|
|
84
84
|
export interface ICollectProgress {
|
|
85
|
-
type: TaskType.CollectItems;
|
|
86
85
|
collected: Record<string, number>;
|
|
87
|
-
targetsProgress: IProgressTracker<IQuantifiableTarget>[];
|
|
88
86
|
}
|
|
89
87
|
export interface IMapVisitProgress {
|
|
90
|
-
type: TaskType.MapVisit;
|
|
91
88
|
visitedMaps: Record<string, boolean>;
|
|
92
89
|
}
|
|
93
90
|
export interface ICraftProgress {
|
|
94
|
-
type: TaskType.CraftItems;
|
|
95
91
|
crafted: Record<string, number>;
|
|
96
|
-
materials: Record<string, number>;
|
|
97
|
-
targetsProgress: IProgressTracker<IQuantifiableTarget>[];
|
|
98
|
-
materialsProgress?: IProgressTracker<IQuantifiableTarget>[];
|
|
99
92
|
}
|
|
100
93
|
export declare type TaskProgress = IKillMobsProgress | ICollectProgress | IMapVisitProgress | ICraftProgress;
|
|
101
94
|
export interface IDailyTaskBlueprint {
|
|
@@ -111,7 +104,9 @@ export interface IDailyTaskBlueprint {
|
|
|
111
104
|
}
|
|
112
105
|
export interface ICharacterDailyTask extends IDailyTaskBlueprint {
|
|
113
106
|
progress: TaskProgress;
|
|
114
|
-
status
|
|
107
|
+
status?: TaskStatus;
|
|
108
|
+
completed: boolean;
|
|
109
|
+
claimed: boolean;
|
|
115
110
|
}
|
|
116
111
|
export declare enum DailyTaskSocketEvents {
|
|
117
112
|
GetDailyTasks = "GetDailyTasks",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dailyTasks.types.d.ts","sourceRoot":"","sources":["../../src/types/dailyTasks.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,m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AC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC;AACD,MAAM,CAAC,OAAO,MAAM,YAAY,GAAG,iBAAiB,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,cAAc,CAAC;AAC7G,MAAM,WAAW,mBAAmB;IAChC,GAAG,EAAE,kBAAkB,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,cAAc,CAAC;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,YAAY,EAAE,eAAe,CAAC;IAC9B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,cAAc,EAAE,CAAC;CACrC;AACD,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC5D,QAAQ,EAAE,YAAY,CAAC;IACvB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CACpB;AACD,MAAM,CAAC,OAAO,MAAM,qBAAqB;IACrC,aAAa,kBAAkB;IAC/B,kBAAkB,uBAAuB;IACzC,WAAW,gBAAgB;CAC9B;AACD,MAAM,WAAW,0BAA0B;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,YAAY,CAAC;CAC1B;AACD,MAAM,WAAW,qBAAqB;IAClC,OAAO,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1,60 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DailyTaskSocketEvents = exports.RewardType = exports.TaskStatus = exports.TaskDifficulty = exports.TaskType = exports.DailyTaskBlueprintChallenge = exports.DailyTaskBlueprintRegular = void 0;
|
|
4
|
-
var DailyTaskBlueprintRegular;
|
|
5
|
-
(function (DailyTaskBlueprintRegular) {
|
|
6
|
-
DailyTaskBlueprintRegular["KillRats"] = "KillRats";
|
|
7
|
-
DailyTaskBlueprintRegular["HuntWolves"] = "HuntWolves";
|
|
8
|
-
DailyTaskBlueprintRegular["HuntTrolls"] = "HuntTrolls";
|
|
9
|
-
DailyTaskBlueprintRegular["GatherResources"] = "GatherResources";
|
|
10
|
-
DailyTaskBlueprintRegular["CollectHerbs"] = "CollectHerbs";
|
|
11
|
-
DailyTaskBlueprintRegular["MineOres"] = "MineOres";
|
|
12
|
-
DailyTaskBlueprintRegular["CraftPotions"] = "CraftPotions";
|
|
13
|
-
DailyTaskBlueprintRegular["CraftArmor"] = "CraftArmor";
|
|
14
|
-
DailyTaskBlueprintRegular["CraftTools"] = "CraftTools";
|
|
15
|
-
DailyTaskBlueprintRegular["ExploreVillage"] = "ExploreVillage";
|
|
16
|
-
DailyTaskBlueprintRegular["ExploreCaves"] = "ExploreCaves";
|
|
17
|
-
DailyTaskBlueprintRegular["ExploreForest"] = "ExploreForest";
|
|
18
|
-
DailyTaskBlueprintRegular["ExploreRuins"] = "ExploreRuins";
|
|
19
|
-
})(DailyTaskBlueprintRegular = exports.DailyTaskBlueprintRegular || (exports.DailyTaskBlueprintRegular = {}));
|
|
20
|
-
var DailyTaskBlueprintChallenge;
|
|
21
|
-
(function (DailyTaskBlueprintChallenge) {
|
|
22
|
-
DailyTaskBlueprintChallenge["CraftLegendaryWeapon"] = "CraftLegendaryWeapon";
|
|
23
|
-
DailyTaskBlueprintChallenge["HuntEloraTheQueen"] = "HuntEloraTheQueen";
|
|
24
|
-
DailyTaskBlueprintChallenge["HuntSkullsplitter"] = "HuntSkullsplitter";
|
|
25
|
-
DailyTaskBlueprintChallenge["HuntWinterReaper"] = "HuntWinterReaper";
|
|
26
|
-
DailyTaskBlueprintChallenge["ExploreShadowlands"] = "ExploreShadowlands";
|
|
27
|
-
DailyTaskBlueprintChallenge["ExploreDesert"] = "ExploreDesert";
|
|
28
|
-
})(DailyTaskBlueprintChallenge = exports.DailyTaskBlueprintChallenge || (exports.DailyTaskBlueprintChallenge = {}));
|
|
29
|
-
var TaskType;
|
|
30
|
-
(function (TaskType) {
|
|
31
|
-
TaskType["KillMobs"] = "KillMobs";
|
|
32
|
-
TaskType["CollectItems"] = "CollectItems";
|
|
33
|
-
TaskType["MapVisit"] = "MapVisit";
|
|
34
|
-
TaskType["CraftItems"] = "CraftItems";
|
|
35
|
-
})(TaskType = exports.TaskType || (exports.TaskType = {}));
|
|
36
|
-
var TaskDifficulty;
|
|
37
|
-
(function (TaskDifficulty) {
|
|
38
|
-
TaskDifficulty["Regular"] = "Regular";
|
|
39
|
-
TaskDifficulty["Challenge"] = "Challenge";
|
|
40
|
-
})(TaskDifficulty = exports.TaskDifficulty || (exports.TaskDifficulty = {}));
|
|
41
|
-
var TaskStatus;
|
|
42
|
-
(function (TaskStatus) {
|
|
43
|
-
TaskStatus["NotStarted"] = "NotStarted";
|
|
44
|
-
TaskStatus["InProgress"] = "InProgress";
|
|
45
|
-
TaskStatus["Completed"] = "Completed";
|
|
46
|
-
TaskStatus["Claimed"] = "Claimed";
|
|
47
|
-
})(TaskStatus = exports.TaskStatus || (exports.TaskStatus = {}));
|
|
48
|
-
var RewardType;
|
|
49
|
-
(function (RewardType) {
|
|
50
|
-
RewardType["Item"] = "Item";
|
|
51
|
-
RewardType["Gold"] = "Gold";
|
|
52
|
-
RewardType["Experience"] = "Experience";
|
|
53
|
-
})(RewardType = exports.RewardType || (exports.RewardType = {}));
|
|
54
|
-
var DailyTaskSocketEvents;
|
|
55
|
-
(function (DailyTaskSocketEvents) {
|
|
56
|
-
DailyTaskSocketEvents["GetDailyTasks"] = "GetDailyTasks";
|
|
57
|
-
DailyTaskSocketEvents["UpdateTaskProgress"] = "UpdateTaskProgress";
|
|
58
|
-
DailyTaskSocketEvents["ClaimReward"] = "ClaimReward";
|
|
59
|
-
})(DailyTaskSocketEvents = exports.DailyTaskSocketEvents || (exports.DailyTaskSocketEvents = {}));
|
|
60
3
|
//# sourceMappingURL=dailyTasks.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dailyTasks.types.js","sourceRoot":"","sources":["../../src/types/dailyTasks.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dailyTasks.types.js","sourceRoot":"","sources":["../../src/types/dailyTasks.types.ts"],"names":[],"mappings":""}
|