@rpg-engine/shared 0.9.97 → 0.9.98
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,14 +1,16 @@
|
|
|
1
|
-
import { INPCLoot, NPCAlignment, NPCSubtype } from
|
|
2
|
-
import { IEquippableItemBlueprint, ItemRarities, RangeTypes } from
|
|
3
|
-
import { ICharacterPermanentBuff } from
|
|
4
|
-
import { EntityAttackType } from
|
|
1
|
+
import { INPCLoot, NPCAlignment, NPCSubtype } from "./npc.types";
|
|
2
|
+
import { IEquippableItemBlueprint, ItemRarities, RangeTypes } from "./item.types";
|
|
3
|
+
import { ICharacterPermanentBuff } from "./buff.types";
|
|
4
|
+
import { EntityAttackType } from "./entity.types";
|
|
5
5
|
export declare enum InformationCenterSocketEvents {
|
|
6
6
|
GetBestiaryNPCs = "GetBestiaryNPCs",
|
|
7
7
|
GetBestiaryNPCDetails = "GetBestiaryNPCDetails",
|
|
8
8
|
SearchBestiaryNPCs = "SearchBestiaryNPCs",
|
|
9
|
+
ResponseBestiaryNPCs = "ResponseBestiaryNPCs",
|
|
9
10
|
GetInformationItems = "GetInformationItems",
|
|
10
11
|
GetInformationItemDetails = "GetInformationItemDetails",
|
|
11
|
-
SearchInformationItems = "SearchInformationItems"
|
|
12
|
+
SearchInformationItems = "SearchInformationItems",
|
|
13
|
+
ResponseInformationItems = "ResponseInformationItems"
|
|
12
14
|
}
|
|
13
15
|
export interface IInformationCenterResponse<T = any> {
|
|
14
16
|
success: boolean;
|
|
@@ -72,7 +74,7 @@ export interface IVideoGuide {
|
|
|
72
74
|
description: string;
|
|
73
75
|
thumbnailUrl: string;
|
|
74
76
|
videoUrl: string;
|
|
75
|
-
category:
|
|
77
|
+
category: "Combat" | "Crafting" | "Exploration" | "General";
|
|
76
78
|
}
|
|
77
79
|
export interface IInformationCenterNPC {
|
|
78
80
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"informationCenter.types.d.ts","sourceRoot":"","sources":["../../src/types/informationCenter.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,oBAAY,6BAA6B;IAEvC,eAAe,oBAAoB;IACnC,qBAAqB,0BAA0B;IAC/C,kBAAkB,uBAAuB;
|
|
1
|
+
{"version":3,"file":"informationCenter.types.d.ts","sourceRoot":"","sources":["../../src/types/informationCenter.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,oBAAY,6BAA6B;IAEvC,eAAe,oBAAoB;IACnC,qBAAqB,0BAA0B;IAC/C,kBAAkB,uBAAuB;IACzC,oBAAoB,yBAAyB;IAG7C,mBAAmB,wBAAwB;IAC3C,yBAAyB,8BAA8B;IACvD,sBAAsB,2BAA2B;IACjD,wBAAwB,6BAA6B;CACtD;AAED,MAAM,WAAW,0BAA0B,CAAC,CAAC,GAAG,GAAG;IACjD,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,CAAC,CAAC;CACV;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;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AC;IACpB,SAAS,EAAE,YAAY,CAAC;IACxB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,cAAc,EAAE,UAAU,CAAC;IAC3B,KAAK,EAAE,aAAa,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE;YAAE,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC;QAC7B,SAAS,CAAC,EAAE;YAAE,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC;QAC9B,UAAU,CAAC,EAAE;YAAE,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC;KAChC,CAAC;IACF,eAAe,EAAE,OAAO,CAAC;IACzB,aAAa,EAAE,qBAAqB,EAAE,CAAC;IACvC,UAAU,EAAE,sBAAsB,EAAE,CAAC;IACrC,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,sBAAuB,SAAQ,wBAAwB;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,aAAa,CAAC,EAAE,CAAC,qBAAqB,CAAC,CAAC;IACxC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,uBAAuB,EAAE,CAAC;IACzC,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC"}
|
|
@@ -6,9 +6,11 @@ var InformationCenterSocketEvents;
|
|
|
6
6
|
InformationCenterSocketEvents["GetBestiaryNPCs"] = "GetBestiaryNPCs";
|
|
7
7
|
InformationCenterSocketEvents["GetBestiaryNPCDetails"] = "GetBestiaryNPCDetails";
|
|
8
8
|
InformationCenterSocketEvents["SearchBestiaryNPCs"] = "SearchBestiaryNPCs";
|
|
9
|
+
InformationCenterSocketEvents["ResponseBestiaryNPCs"] = "ResponseBestiaryNPCs";
|
|
9
10
|
InformationCenterSocketEvents["GetInformationItems"] = "GetInformationItems";
|
|
10
11
|
InformationCenterSocketEvents["GetInformationItemDetails"] = "GetInformationItemDetails";
|
|
11
12
|
InformationCenterSocketEvents["SearchInformationItems"] = "SearchInformationItems";
|
|
13
|
+
InformationCenterSocketEvents["ResponseInformationItems"] = "ResponseInformationItems";
|
|
12
14
|
})(InformationCenterSocketEvents = exports.InformationCenterSocketEvents || (exports.InformationCenterSocketEvents = {}));
|
|
13
15
|
var MovementSpeed;
|
|
14
16
|
(function (MovementSpeed) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"informationCenter.types.js","sourceRoot":"","sources":["../../src/types/informationCenter.types.ts"],"names":[],"mappings":";;;AAKA,IAAY,
|
|
1
|
+
{"version":3,"file":"informationCenter.types.js","sourceRoot":"","sources":["../../src/types/informationCenter.types.ts"],"names":[],"mappings":";;;AAKA,IAAY,6BAYX;AAZD,WAAY,6BAA6B;IAEvC,oEAAmC,CAAA;IACnC,gFAA+C,CAAA;IAC/C,0EAAyC,CAAA;IACzC,8EAA6C,CAAA;IAG7C,4EAA2C,CAAA;IAC3C,wFAAuD,CAAA;IACvD,kFAAiD,CAAA;IACjD,sFAAqD,CAAA;AACvD,CAAC,EAZW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAYxC;AAoBD,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,6DAAe,CAAA;IACf,oDAAW,CAAA;IACX,2DAAc,CAAA;IACd,iDAAQ,CAAA;IACR,6DAAe,CAAA;AACjB,CAAC,EANW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAMxB;AAED,IAAY,qBAgBX;AAhBD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;IACnB,kDAAyB,CAAA;IACzB,iDAAwB,CAAA;IACxB,wCAAe,CAAA;IACf,wCAAe,CAAA;IACf,0CAAiB,CAAA;IACjB,sCAAa,CAAA;IACb,gDAAuB,CAAA;IACvB,sCAAa,CAAA;IACb,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;IACnB,sDAA6B,CAAA;AAC/B,CAAC,EAhBW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAgBhC;AAED,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,+DAAc,CAAA;IACd,qDAAQ,CAAA;IACR,8DAAa,CAAA;IACb,kEAAe,CAAA;IACf,0DAAW,CAAA;IACX,kEAAe,CAAA;AACjB,CAAC,EAPW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO1B"}
|
package/dist/types/item.types.js
CHANGED
|
@@ -106,7 +106,7 @@ exports.ItemSocketEventsDisplayLabels = {
|
|
|
106
106
|
[ItemSocketEvents.ContainerOpen]: "Open",
|
|
107
107
|
[ItemSocketEvents.ContainerRead]: "Read",
|
|
108
108
|
[ItemSocketEvents.UseWith]: "Use with...",
|
|
109
|
-
[ItemSocketEvents.DetachGem]: "DetachGem"
|
|
109
|
+
[ItemSocketEvents.DetachGem]: "DetachGem",
|
|
110
110
|
};
|
|
111
111
|
exports.ActionsForInventory = {
|
|
112
112
|
Equipment: [ItemSocketEvents.Equip, ItemSocketEvents.GetItemInfo, ItemSocketEvents.Drop],
|