@rpg-engine/shared 0.1.32 → 0.1.35
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/types/npc.types.d.ts +2 -1
- package/dist/types/npc.types.d.ts.map +1 -1
- package/dist/types/npc.types.js.map +1 -1
- package/dist/types/npcMetadata.types.d.ts.map +1 -1
- package/dist/types/npcMetadata.types.js +2 -3
- package/dist/types/npcMetadata.types.js.map +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,6 @@ export interface INPC extends IResource {
|
|
|
10
10
|
scene: string;
|
|
11
11
|
class: CharacterClass;
|
|
12
12
|
gender: CharacterGender;
|
|
13
|
-
texture: string;
|
|
14
13
|
layer: MapLayers;
|
|
15
14
|
}
|
|
16
15
|
export declare enum NPCSocketEvents {
|
|
@@ -18,9 +17,11 @@ export declare enum NPCSocketEvents {
|
|
|
18
17
|
}
|
|
19
18
|
export interface INPCPositionUpdatePayload {
|
|
20
19
|
id: string;
|
|
20
|
+
name: string;
|
|
21
21
|
x: number;
|
|
22
22
|
y: number;
|
|
23
23
|
direction: string;
|
|
24
24
|
key: string;
|
|
25
|
+
layer: MapLayers;
|
|
25
26
|
}
|
|
26
27
|
//# sourceMappingURL=npc.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"npc.types.d.ts","sourceRoot":"","sources":["../../src/types/npc.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,WAAW,IAAK,SAAQ,SAAS;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,kBAAkB,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,cAAc,CAAC;IACtB,MAAM,EAAE,eAAe,CAAC;IACxB,
|
|
1
|
+
{"version":3,"file":"npc.types.d.ts","sourceRoot":"","sources":["../../src/types/npc.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,WAAW,IAAK,SAAQ,SAAS;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,kBAAkB,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,cAAc,CAAC;IACtB,MAAM,EAAE,eAAe,CAAC;IACxB,KAAK,EAAE,SAAS,CAAC;CAClB;AAED,oBAAY,eAAe;IACzB,iBAAiB,sBAAsB;CACxC;AAED,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,SAAS,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"npc.types.js","sourceRoot":"","sources":["../../src/types/npc.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"npc.types.js","sourceRoot":"","sources":["../../src/types/npc.types.ts"],"names":[],"mappings":";;;AAgBA,IAAY,eAEX;AAFD,WAAY,eAAe;IACzB,0DAAuC,CAAA;AACzC,CAAC,EAFW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAE1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"npcMetadata.types.d.ts","sourceRoot":"","sources":["../../src/types/npcMetadata.types.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,UAAU,YAAa,SAAQ,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC;IAC9C,GAAG,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,WAAW,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"npcMetadata.types.d.ts","sourceRoot":"","sources":["../../src/types/npcMetadata.types.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,UAAU,YAAa,SAAQ,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC;IAC9C,GAAG,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,WAAW,EAAE,YAAY,EAYrC,CAAC"}
|
|
@@ -6,15 +6,14 @@ const character_types_1 = require("./character.types");
|
|
|
6
6
|
const maps_types_1 = require("./maps.types");
|
|
7
7
|
exports.NPCMetaData = [
|
|
8
8
|
{
|
|
9
|
-
key: "
|
|
9
|
+
key: "alice",
|
|
10
10
|
name: "Alice",
|
|
11
11
|
x: (0, GridHelper_1.FromGridX)(22),
|
|
12
12
|
y: (0, GridHelper_1.FromGridY)(12),
|
|
13
13
|
direction: "down",
|
|
14
14
|
scene: "MainScene",
|
|
15
|
-
class: character_types_1.CharacterClass.
|
|
15
|
+
class: character_types_1.CharacterClass.Cleric,
|
|
16
16
|
gender: character_types_1.CharacterGender.Female,
|
|
17
|
-
texture: "npc-alice",
|
|
18
17
|
layer: maps_types_1.MapLayers.Player,
|
|
19
18
|
},
|
|
20
19
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"npcMetadata.types.js","sourceRoot":"","sources":["../../src/types/npcMetadata.types.ts"],"names":[],"mappings":";;;AAAA,mDAA0D;AAC1D,uDAAoE;AACpE,6CAAyC;AAO5B,QAAA,WAAW,GAAmB;IACzC;QACE,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"npcMetadata.types.js","sourceRoot":"","sources":["../../src/types/npcMetadata.types.ts"],"names":[],"mappings":";;;AAAA,mDAA0D;AAC1D,uDAAoE;AACpE,6CAAyC;AAO5B,QAAA,WAAW,GAAmB;IACzC;QACE,GAAG,EAAE,OAAO;QACZ,IAAI,EAAE,OAAO;QACb,CAAC,EAAE,IAAA,sBAAS,EAAC,EAAE,CAAC;QAChB,CAAC,EAAE,IAAA,sBAAS,EAAC,EAAE,CAAC;QAChB,SAAS,EAAE,MAAM;QACjB,KAAK,EAAE,WAAW;QAClB,KAAK,EAAE,gCAAc,CAAC,MAAM;QAC5B,MAAM,EAAE,iCAAe,CAAC,MAAM;QAC9B,KAAK,EAAE,sBAAS,CAAC,MAAM;KACxB;CACF,CAAC"}
|