@rpg-engine/shared 0.3.15 → 0.3.16
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/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/libs/MapZipHelper.d.ts +2 -0
- package/dist/libs/MapZipHelper.d.ts.map +1 -0
- package/dist/libs/MapZipHelper.js +27 -0
- package/dist/libs/MapZipHelper.js.map +1 -0
- package/dist/types/item.types.d.ts +39 -47
- package/dist/types/item.types.d.ts.map +1 -1
- package/dist/types/item.types.js +5 -1
- package/dist/types/item.types.js.map +1 -1
- package/dist/types/itemContainer.types.d.ts +53 -0
- package/dist/types/itemContainer.types.d.ts.map +1 -0
- package/dist/types/itemContainer.types.js +3 -0
- package/dist/types/itemContainer.types.js.map +1 -0
- package/dist/types/npcMetadata.types.d.ts +7 -0
- package/dist/types/npcMetadata.types.d.ts.map +1 -0
- package/dist/types/npcMetadata.types.js +20 -0
- package/dist/types/npcMetadata.types.js.map +1 -0
- package/dist/types/player.types.d.ts +49 -0
- package/dist/types/player.types.d.ts.map +1 -0
- package/dist/types/player.types.js +14 -0
- package/dist/types/player.types.js.map +1 -0
- package/dist/types/ui.types.d.ts +9 -0
- package/dist/types/ui.types.d.ts.map +1 -0
- package/dist/types/ui.types.js +8 -0
- package/dist/types/ui.types.js.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -14,11 +14,11 @@ export * from "./types/auth.types";
|
|
|
14
14
|
export * from "./types/battle.types";
|
|
15
15
|
export * from "./types/character.types";
|
|
16
16
|
export * from "./types/chat.types";
|
|
17
|
-
export * from "./types/container.types";
|
|
18
17
|
export * from "./types/device.types";
|
|
19
18
|
export * from "./types/env.types";
|
|
20
19
|
export * from "./types/googleOAuth.types";
|
|
21
20
|
export * from "./types/item.types";
|
|
21
|
+
export * from "./types/itemContainer.types";
|
|
22
22
|
export * from "./types/maps.types";
|
|
23
23
|
export * from "./types/notification.types";
|
|
24
24
|
export * from "./types/npc.types";
|
|
@@ -31,6 +31,7 @@ export * from "./types/skills.types";
|
|
|
31
31
|
export * from "./types/socket.types";
|
|
32
32
|
export * from "./types/tiled.types";
|
|
33
33
|
export * from "./types/translation.types";
|
|
34
|
+
export * from "./types/ui.types";
|
|
34
35
|
export * from "./types/user.types";
|
|
35
36
|
export * from "./types/validation.types";
|
|
36
37
|
export * from "./types/view.types";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -30,11 +30,11 @@ __exportStar(require("./types/auth.types"), exports);
|
|
|
30
30
|
__exportStar(require("./types/battle.types"), exports);
|
|
31
31
|
__exportStar(require("./types/character.types"), exports);
|
|
32
32
|
__exportStar(require("./types/chat.types"), exports);
|
|
33
|
-
__exportStar(require("./types/container.types"), exports);
|
|
34
33
|
__exportStar(require("./types/device.types"), exports);
|
|
35
34
|
__exportStar(require("./types/env.types"), exports);
|
|
36
35
|
__exportStar(require("./types/googleOAuth.types"), exports);
|
|
37
36
|
__exportStar(require("./types/item.types"), exports);
|
|
37
|
+
__exportStar(require("./types/itemContainer.types"), exports);
|
|
38
38
|
__exportStar(require("./types/maps.types"), exports);
|
|
39
39
|
__exportStar(require("./types/notification.types"), exports);
|
|
40
40
|
__exportStar(require("./types/npc.types"), exports);
|
|
@@ -47,6 +47,7 @@ __exportStar(require("./types/skills.types"), exports);
|
|
|
47
47
|
__exportStar(require("./types/socket.types"), exports);
|
|
48
48
|
__exportStar(require("./types/tiled.types"), exports);
|
|
49
49
|
__exportStar(require("./types/translation.types"), exports);
|
|
50
|
+
__exportStar(require("./types/ui.types"), exports);
|
|
50
51
|
__exportStar(require("./types/user.types"), exports);
|
|
51
52
|
__exportStar(require("./types/validation.types"), exports);
|
|
52
53
|
__exportStar(require("./types/view.types"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,4DAA0C;AAC1C,+DAA6C;AAC7C,8DAA4C;AAC5C,oDAAkC;AAClC,oDAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,sDAAoC;AACpC,qDAAmC;AACnC,uDAAqC;AACrC,0DAAwC;AACxC,qDAAmC;AACnC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,4DAA0C;AAC1C,+DAA6C;AAC7C,8DAA4C;AAC5C,oDAAkC;AAClC,oDAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,sDAAoC;AACpC,qDAAmC;AACnC,uDAAqC;AACrC,0DAAwC;AACxC,qDAAmC;AACnC,uDAAqC;AACrC,oDAAkC;AAClC,4DAA0C;AAC1C,qDAAmC;AACnC,8DAA4C;AAC5C,qDAAmC;AACnC,6DAA2C;AAC3C,oDAAkC;AAClC,2DAAyC;AACzC,uDAAqC;AACrC,6DAA2C;AAC3C,yDAAuC;AACvC,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,sDAAoC;AACpC,4DAA0C;AAC1C,mDAAiC;AACjC,qDAAmC;AACnC,2DAAyC;AACzC,qDAAmC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MapZipHelper.d.ts","sourceRoot":"","sources":["../../src/libs/MapZipHelper.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,YAAmB,MAAM,aAAa,MAAM,cAAc,MAAM,KAAG,QAAQ,IAAI,CAMvG,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.createZipMap = void 0;
|
|
16
|
+
const compress_json_1 = require("compress-json");
|
|
17
|
+
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
18
|
+
const jszip_1 = __importDefault(require("jszip"));
|
|
19
|
+
const createZipMap = (mapName, mapObject, pathToSave) => __awaiter(void 0, void 0, void 0, function* () {
|
|
20
|
+
const data = (0, compress_json_1.compress)(mapObject);
|
|
21
|
+
const zip = new jszip_1.default();
|
|
22
|
+
zip.file(`${mapName}.txt`, JSON.stringify(data));
|
|
23
|
+
const buffer = yield zip.generateAsync({ type: "uint8array" });
|
|
24
|
+
yield fs_extra_1.default.createWriteStream(`${pathToSave}/${mapName}.zip`).write(buffer);
|
|
25
|
+
});
|
|
26
|
+
exports.createZipMap = createZipMap;
|
|
27
|
+
//# sourceMappingURL=MapZipHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MapZipHelper.js","sourceRoot":"","sources":["../../src/libs/MapZipHelper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,iDAAyC;AACzC,wDAA0B;AAC1B,kDAA0B;AAEnB,MAAM,YAAY,GAAG,CAAO,OAAe,EAAE,SAAiB,EAAE,UAAkB,EAAiB,EAAE;IAC1G,MAAM,IAAI,GAAG,IAAA,wBAAQ,EAAC,SAAS,CAAC,CAAC;IACjC,MAAM,GAAG,GAAG,IAAI,eAAK,EAAE,CAAC;IACxB,GAAG,CAAC,IAAI,CAAC,GAAG,OAAO,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;IACjD,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,aAAa,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;IAC/D,MAAM,kBAAE,CAAC,iBAAiB,CAAC,GAAG,UAAU,IAAI,OAAO,MAAM,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AAC3E,CAAC,CAAA,CAAC;AANW,QAAA,YAAY,gBAMvB"}
|
|
@@ -1,6 +1,39 @@
|
|
|
1
1
|
import { ICharacter } from "./character.types";
|
|
2
2
|
import { MapLayers } from "./maps.types";
|
|
3
3
|
import { IResource } from "./resource.types";
|
|
4
|
+
export interface IItem extends IResource {
|
|
5
|
+
tiledId?: number;
|
|
6
|
+
owner?: ICharacter | string;
|
|
7
|
+
type: ItemType;
|
|
8
|
+
subType: ItemSubType;
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
fullDescription: string;
|
|
12
|
+
key: string;
|
|
13
|
+
textureAtlas: string;
|
|
14
|
+
texturePath: string;
|
|
15
|
+
textureKey: string;
|
|
16
|
+
attack?: number;
|
|
17
|
+
defense?: number;
|
|
18
|
+
weight: number;
|
|
19
|
+
allowedEquipSlotType: ItemSlotType[];
|
|
20
|
+
isEquipable: boolean;
|
|
21
|
+
equipSlotType?: ItemSlotType;
|
|
22
|
+
isStackable: boolean;
|
|
23
|
+
maxStackSize: number;
|
|
24
|
+
stackQty?: number;
|
|
25
|
+
isUsable: boolean;
|
|
26
|
+
usableEffect?: string;
|
|
27
|
+
isStorable: boolean;
|
|
28
|
+
x?: number;
|
|
29
|
+
y?: number;
|
|
30
|
+
scene?: string;
|
|
31
|
+
layer?: MapLayers;
|
|
32
|
+
isSolid: boolean;
|
|
33
|
+
isItemContainer?: boolean;
|
|
34
|
+
itemContainer?: string;
|
|
35
|
+
generateContainerSlots: number;
|
|
36
|
+
}
|
|
4
37
|
export declare enum ItemType {
|
|
5
38
|
Weapon = "Weapon",
|
|
6
39
|
Armor = "Armor",
|
|
@@ -30,7 +63,8 @@ export declare enum ItemSubType {
|
|
|
30
63
|
Staff = "Staff",
|
|
31
64
|
Sword = "Sword",
|
|
32
65
|
Other = "Other",
|
|
33
|
-
|
|
66
|
+
DeadBody = "DeadBody",
|
|
67
|
+
Dagger = "Dagger"
|
|
34
68
|
}
|
|
35
69
|
export declare enum ItemSlotType {
|
|
36
70
|
Head = "Head",
|
|
@@ -45,50 +79,6 @@ export declare enum ItemSlotType {
|
|
|
45
79
|
Accessory = "Accessory",
|
|
46
80
|
Inventory = "Inventory"
|
|
47
81
|
}
|
|
48
|
-
export interface IItem extends IResource {
|
|
49
|
-
tiledId?: number;
|
|
50
|
-
owner?: ICharacter | string;
|
|
51
|
-
type: ItemType;
|
|
52
|
-
subType: ItemSubType;
|
|
53
|
-
name: string;
|
|
54
|
-
description: string;
|
|
55
|
-
fullDescription: string;
|
|
56
|
-
key: string;
|
|
57
|
-
textureAtlas: string;
|
|
58
|
-
texturePath: string;
|
|
59
|
-
textureKey: string;
|
|
60
|
-
attack?: number;
|
|
61
|
-
defense?: number;
|
|
62
|
-
weight: number;
|
|
63
|
-
allowedEquipSlotType: ItemSlotType[];
|
|
64
|
-
isEquipable: boolean;
|
|
65
|
-
equipSlotType?: ItemSlotType;
|
|
66
|
-
isStackable: boolean;
|
|
67
|
-
maxStackSize: number;
|
|
68
|
-
stackQty?: number;
|
|
69
|
-
isUsable: boolean;
|
|
70
|
-
usableEffect?: string;
|
|
71
|
-
isStorable: boolean;
|
|
72
|
-
x?: number;
|
|
73
|
-
y?: number;
|
|
74
|
-
scene?: string;
|
|
75
|
-
layer?: MapLayers;
|
|
76
|
-
isSolid: boolean;
|
|
77
|
-
isItemContainer?: boolean;
|
|
78
|
-
itemContainer?: string;
|
|
79
|
-
}
|
|
80
|
-
interface IItemContainerSlots {
|
|
81
|
-
[slot: number]: IItem;
|
|
82
|
-
}
|
|
83
|
-
export interface IItemContainer extends IResource {
|
|
84
|
-
parentItem: string;
|
|
85
|
-
owner?: string;
|
|
86
|
-
name?: string;
|
|
87
|
-
slotQty: number;
|
|
88
|
-
slots: IItemContainerSlots;
|
|
89
|
-
allowedItemTypes?: ItemType[];
|
|
90
|
-
isEmpty: boolean;
|
|
91
|
-
}
|
|
92
82
|
export declare enum ItemSocketEvents {
|
|
93
83
|
Update = "Update",
|
|
94
84
|
Look = "Look",
|
|
@@ -98,7 +88,10 @@ export declare enum ItemSocketEvents {
|
|
|
98
88
|
Drop = "Drop",
|
|
99
89
|
Use = "Use",
|
|
100
90
|
GetItemInfo = "GetItemInfo",
|
|
101
|
-
ReadItemInfo = "ReadItemInfo"
|
|
91
|
+
ReadItemInfo = "ReadItemInfo",
|
|
92
|
+
ContainerOpen = "ContainerOpen",
|
|
93
|
+
ContainerRead = "ContainerRead",
|
|
94
|
+
ContainerTransfer = "ContainerTransfer"
|
|
102
95
|
}
|
|
103
96
|
export interface IGetItemInfo {
|
|
104
97
|
id: string;
|
|
@@ -139,5 +132,4 @@ export interface IPayloadProps {
|
|
|
139
132
|
item: IItem | null;
|
|
140
133
|
actionType: ItemSocketEvents | string;
|
|
141
134
|
}
|
|
142
|
-
export {};
|
|
143
135
|
//# sourceMappingURL=item.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.types.d.ts","sourceRoot":"","sources":["../../src/types/item.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,
|
|
1
|
+
{"version":3,"file":"item.types.d.ts","sourceRoot":"","sources":["../../src/types/item.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,WAAW,KAAM,SAAQ,SAAS;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;IAC5B,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE,YAAY,EAAE,CAAC;IACrC,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,YAAY,CAAC;I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ItemSubType;
|
|
|
32
32
|
ItemSubType["Staff"] = "Staff";
|
|
33
33
|
ItemSubType["Sword"] = "Sword";
|
|
34
34
|
ItemSubType["Other"] = "Other";
|
|
35
|
-
ItemSubType["
|
|
35
|
+
ItemSubType["DeadBody"] = "DeadBody";
|
|
36
|
+
ItemSubType["Dagger"] = "Dagger";
|
|
36
37
|
})(ItemSubType = exports.ItemSubType || (exports.ItemSubType = {}));
|
|
37
38
|
var ItemSlotType;
|
|
38
39
|
(function (ItemSlotType) {
|
|
@@ -59,6 +60,9 @@ var ItemSocketEvents;
|
|
|
59
60
|
ItemSocketEvents["Use"] = "Use";
|
|
60
61
|
ItemSocketEvents["GetItemInfo"] = "GetItemInfo";
|
|
61
62
|
ItemSocketEvents["ReadItemInfo"] = "ReadItemInfo";
|
|
63
|
+
ItemSocketEvents["ContainerOpen"] = "ContainerOpen";
|
|
64
|
+
ItemSocketEvents["ContainerRead"] = "ContainerRead";
|
|
65
|
+
ItemSocketEvents["ContainerTransfer"] = "ContainerTransfer";
|
|
62
66
|
})(ItemSocketEvents = exports.ItemSocketEvents || (exports.ItemSocketEvents = {}));
|
|
63
67
|
exports.ActionsByItemType = {
|
|
64
68
|
Equipment: [ItemSocketEvents.Equip, ItemSocketEvents.GetItemInfo, ItemSocketEvents.Drop],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.types.js","sourceRoot":"","sources":["../../src/types/item.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"item.types.js","sourceRoot":"","sources":["../../src/types/item.types.ts"],"names":[],"mappings":";;;AAsCA,IAAY,QAYX;AAZD,WAAY,QAAQ;IAClB,6BAAiB,CAAA;IACjB,2BAAe,CAAA;IACf,mCAAuB,CAAA;IACvB,+BAAmB,CAAA;IACnB,qCAAyB,CAAA;IACzB,2CAA+B,CAAA;IAC/B,2BAAe,CAAA;IACf,uCAA2B,CAAA;IAC3B,yBAAa,CAAA;IACb,mCAAuB,CAAA;IACvB,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AC,WAAW,EAAE,gBAAgB,CAAC,IAAI,CAAC;IACxF,UAAU,EAAE,CAAC,gBAAgB,CAAC,GAAG,EAAE,gBAAgB,CAAC,WAAW,EAAE,gBAAgB,CAAC,IAAI,CAAC;IACvF,aAAa,EAAE,CAAC,EAAE,gBAAgB,CAAC,WAAW,EAAE,gBAAgB,CAAC,IAAI,CAAC;IACtE,KAAK,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC;CACtC,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { IItem, ItemType } from "./item.types";
|
|
2
|
+
import { IResource } from "./resource.types";
|
|
3
|
+
interface IItemContainerSlots {
|
|
4
|
+
[slot: number]: IItem;
|
|
5
|
+
}
|
|
6
|
+
export interface IItemContainer extends IResource {
|
|
7
|
+
parentItem: string;
|
|
8
|
+
owner?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
slotQty: number;
|
|
11
|
+
slots: IItemContainerSlots;
|
|
12
|
+
allowedItemTypes?: ItemType[];
|
|
13
|
+
isEmpty: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface IItemContainerOpen {
|
|
16
|
+
containerId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IItemTransfer {
|
|
19
|
+
itemId: string;
|
|
20
|
+
fromContainerId: string;
|
|
21
|
+
toContainerId: string;
|
|
22
|
+
}
|
|
23
|
+
export interface IItemPickup {
|
|
24
|
+
itemId: string;
|
|
25
|
+
x: number;
|
|
26
|
+
y: number;
|
|
27
|
+
scene: string;
|
|
28
|
+
toContainerId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface IItemDrop {
|
|
31
|
+
itemId: string;
|
|
32
|
+
x: number;
|
|
33
|
+
y: number;
|
|
34
|
+
scene: string;
|
|
35
|
+
fromContainerId: string;
|
|
36
|
+
toPosition: {
|
|
37
|
+
x: number;
|
|
38
|
+
y: number;
|
|
39
|
+
scene: string;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export interface IItemContainerRead {
|
|
43
|
+
itemContainer: IItemContainer;
|
|
44
|
+
}
|
|
45
|
+
export interface IItemContainerProps {
|
|
46
|
+
openedContainers: Set<string>;
|
|
47
|
+
containersData: {
|
|
48
|
+
[key: string]: IItemContainer;
|
|
49
|
+
};
|
|
50
|
+
onMouseOverElement: (element: any) => void;
|
|
51
|
+
}
|
|
52
|
+
export {};
|
|
53
|
+
//# sourceMappingURL=itemContainer.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"itemContainer.types.d.ts","sourceRoot":"","sources":["../../src/types/itemContainer.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,UAAU,mBAAmB;IAC3B,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC;CACvB;AAED,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,mBAAmB,CAAC;IAC3B,gBAAgB,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;QACV,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAED,MAAM,WAAW,kBAAkB;IACjC,aAAa,EAAE,cAAc,CAAC;CAC/B;AAED,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,cAAc,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAAA;KAAE,CAAC;IAClD,kBAAkB,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC;CAC5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"itemContainer.types.js","sourceRoot":"","sources":["../../src/types/itemContainer.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +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,EAYrC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NPCMetaData = void 0;
|
|
4
|
+
const GridHelper_1 = require("../libs/GridHelper");
|
|
5
|
+
const character_types_1 = require("./character.types");
|
|
6
|
+
const maps_types_1 = require("./maps.types");
|
|
7
|
+
exports.NPCMetaData = [
|
|
8
|
+
{
|
|
9
|
+
key: "alice",
|
|
10
|
+
name: "Alice",
|
|
11
|
+
x: (0, GridHelper_1.FromGridX)(22),
|
|
12
|
+
y: (0, GridHelper_1.FromGridY)(12),
|
|
13
|
+
direction: "down",
|
|
14
|
+
scene: "MainScene",
|
|
15
|
+
class: character_types_1.CharacterClass.Cleric,
|
|
16
|
+
gender: character_types_1.CharacterGender.Female,
|
|
17
|
+
layer: maps_types_1.MapLayers.Player,
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
//# sourceMappingURL=npcMetadata.types.js.map
|
|
@@ -0,0 +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,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"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { IEntityBasicInfo } from "./entity.types";
|
|
2
|
+
export declare enum PlayerSocketEvents {
|
|
3
|
+
PlayerCreate = "PlayerCreate",
|
|
4
|
+
PlayerPositionUpdate = "PlayerPositionUpdate",
|
|
5
|
+
PlayerPositionUpdateConfirm = "PlayerPositionUpdateConfirm",
|
|
6
|
+
PlayerLogout = "PlayerLogout",
|
|
7
|
+
PlayerPrivateMessage = "PlayerPrivateMessage",
|
|
8
|
+
PlayerPing = "PlayerPing",
|
|
9
|
+
PlayerForceDisconnect = "PlayerForceDisconnect"
|
|
10
|
+
}
|
|
11
|
+
export interface IPlayerPing {
|
|
12
|
+
id: string;
|
|
13
|
+
}
|
|
14
|
+
export interface IPlayerPositionUpdateConfirm {
|
|
15
|
+
id: string;
|
|
16
|
+
direction: string;
|
|
17
|
+
isValid: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare type Events = PlayerSocketEvents;
|
|
20
|
+
export interface IConnectedPlayer {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
x: number;
|
|
24
|
+
y: number;
|
|
25
|
+
channelId: string;
|
|
26
|
+
direction?: string;
|
|
27
|
+
isMoving?: boolean;
|
|
28
|
+
cameraCoordinates: ICameraCoordinates;
|
|
29
|
+
otherEntitiesInView: IEntitiesInView;
|
|
30
|
+
}
|
|
31
|
+
export interface IEntitiesInView {
|
|
32
|
+
[id: string]: IEntityBasicInfo;
|
|
33
|
+
}
|
|
34
|
+
export interface IConnectedPlayers {
|
|
35
|
+
[id: string]: IConnectedPlayer;
|
|
36
|
+
}
|
|
37
|
+
export interface PlayerLogoutPayload {
|
|
38
|
+
id: string;
|
|
39
|
+
}
|
|
40
|
+
export interface ICameraCoordinates {
|
|
41
|
+
x: number;
|
|
42
|
+
y: number;
|
|
43
|
+
width: number;
|
|
44
|
+
height: number;
|
|
45
|
+
}
|
|
46
|
+
export interface IPlayerForceDisconnect {
|
|
47
|
+
reason: string;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=player.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"player.types.d.ts","sourceRoot":"","sources":["../../src/types/player.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGlD,oBAAY,kBAAkB;IAC5B,YAAY,iBAAiB;IAC7B,oBAAoB,yBAAyB;IAC7C,2BAA2B,gCAAgC;IAC3D,YAAY,iBAAiB;IAC7B,oBAAoB,yBAAyB;IAC7C,UAAU,eAAe;IACzB,qBAAqB,0BAA0B;CAChD;AAED,MAAM,WAAW,WAAW;IAE1B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,oBAAY,MAAM,GAAG,kBAAkB,CAAC;AAExC,MAAM,WAAW,gBAAgB;IAC/B,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,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,kBAAkB,CAAC;IACtC,mBAAmB,EAAE,eAAe,CAAC;CACtC;AAED,MAAM,WAAW,eAAe;IAC9B,CAAC,EAAE,EAAE,MAAM,GAAG,gBAAgB,CAAC;CAChC;AAED,MAAM,WAAW,iBAAiB;IAChC,CAAC,EAAE,EAAE,MAAM,GAAG,gBAAgB,CAAC;CAChC;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,kBAAkB;IACjC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlayerSocketEvents = void 0;
|
|
4
|
+
var PlayerSocketEvents;
|
|
5
|
+
(function (PlayerSocketEvents) {
|
|
6
|
+
PlayerSocketEvents["PlayerCreate"] = "PlayerCreate";
|
|
7
|
+
PlayerSocketEvents["PlayerPositionUpdate"] = "PlayerPositionUpdate";
|
|
8
|
+
PlayerSocketEvents["PlayerPositionUpdateConfirm"] = "PlayerPositionUpdateConfirm";
|
|
9
|
+
PlayerSocketEvents["PlayerLogout"] = "PlayerLogout";
|
|
10
|
+
PlayerSocketEvents["PlayerPrivateMessage"] = "PlayerPrivateMessage";
|
|
11
|
+
PlayerSocketEvents["PlayerPing"] = "PlayerPing";
|
|
12
|
+
PlayerSocketEvents["PlayerForceDisconnect"] = "PlayerForceDisconnect";
|
|
13
|
+
})(PlayerSocketEvents = exports.PlayerSocketEvents || (exports.PlayerSocketEvents = {}));
|
|
14
|
+
//# sourceMappingURL=player.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"player.types.js","sourceRoot":"","sources":["../../src/types/player.types.ts"],"names":[],"mappings":";;;AAGA,IAAY,kBAQX;AARD,WAAY,kBAAkB;IAC5B,mDAA6B,CAAA;IAC7B,mEAA6C,CAAA;IAC7C,iFAA2D,CAAA;IAC3D,mDAA6B,CAAA;IAC7B,mEAA6C,CAAA;IAC7C,+CAAyB,CAAA;IACzB,qEAA+C,CAAA;AACjD,CAAC,EARW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAQ7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.types.d.ts","sourceRoot":"","sources":["../../src/types/ui.types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,WAAW,gBAAgB;CAC5B;AAED,oBAAY,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAEzD,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,aAAa,CAAC;CACrB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UISocketEvents = void 0;
|
|
4
|
+
var UISocketEvents;
|
|
5
|
+
(function (UISocketEvents) {
|
|
6
|
+
UISocketEvents["ShowMessage"] = "ShowMessage";
|
|
7
|
+
})(UISocketEvents = exports.UISocketEvents || (exports.UISocketEvents = {}));
|
|
8
|
+
//# sourceMappingURL=ui.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.types.js","sourceRoot":"","sources":["../../src/types/ui.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAEX;AAFD,WAAY,cAAc;IACxB,6CAA2B,CAAA;AAC7B,CAAC,EAFW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAEzB"}
|