@rpg-engine/shared 0.2.91 → 0.2.95

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 CHANGED
@@ -3,6 +3,7 @@ export * from "./constants/npc.constants";
3
3
  export * from "./constants/socket.constants";
4
4
  export * from "./constants/world.constants";
5
5
  export * from "./libs/GridHelper";
6
+ export * from "./libs/MapZipHelper";
6
7
  export * from "./libs/MathHelper";
7
8
  export * from "./libs/SocketHelper";
8
9
  export * from "./libs/TextHelper";
@@ -14,6 +15,7 @@ export * from "./types/auth.types";
14
15
  export * from "./types/battle.types";
15
16
  export * from "./types/character.types";
16
17
  export * from "./types/chat.types";
18
+ export * from "./types/container.types";
17
19
  export * from "./types/device.types";
18
20
  export * from "./types/env.types";
19
21
  export * from "./types/googleOAuth.types";
@@ -33,5 +35,4 @@ export * from "./types/translation.types";
33
35
  export * from "./types/user.types";
34
36
  export * from "./types/validation.types";
35
37
  export * from "./types/view.types";
36
- export * from "./types/container.types";
37
38
  //# sourceMappingURL=index.d.ts.map
@@ -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,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,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,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,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,qBAAqB,CAAC;AACpC,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,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,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,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC"}
package/dist/index.js CHANGED
@@ -19,6 +19,7 @@ __exportStar(require("./constants/npc.constants"), exports);
19
19
  __exportStar(require("./constants/socket.constants"), exports);
20
20
  __exportStar(require("./constants/world.constants"), exports);
21
21
  __exportStar(require("./libs/GridHelper"), exports);
22
+ __exportStar(require("./libs/MapZipHelper"), exports);
22
23
  __exportStar(require("./libs/MathHelper"), exports);
23
24
  __exportStar(require("./libs/SocketHelper"), exports);
24
25
  __exportStar(require("./libs/TextHelper"), exports);
@@ -30,6 +31,7 @@ __exportStar(require("./types/auth.types"), exports);
30
31
  __exportStar(require("./types/battle.types"), exports);
31
32
  __exportStar(require("./types/character.types"), exports);
32
33
  __exportStar(require("./types/chat.types"), exports);
34
+ __exportStar(require("./types/container.types"), exports);
33
35
  __exportStar(require("./types/device.types"), exports);
34
36
  __exportStar(require("./types/env.types"), exports);
35
37
  __exportStar(require("./types/googleOAuth.types"), exports);
@@ -49,5 +51,4 @@ __exportStar(require("./types/translation.types"), exports);
49
51
  __exportStar(require("./types/user.types"), exports);
50
52
  __exportStar(require("./types/validation.types"), exports);
51
53
  __exportStar(require("./types/view.types"), exports);
52
- __exportStar(require("./types/container.types"), exports);
53
54
  //# sourceMappingURL=index.js.map
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,uDAAqC;AACrC,oDAAkC;AAClC,4DAA0C;AAC1C,qDAAmC;AACnC,qDAAmC;AACnC,6DAA2C;AAC3C,oDAAkC;AAClC,2DAAyC;AACzC,uDAAqC;AACrC,6DAA2C;AAC3C,yDAAuC;AACvC,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,sDAAoC;AACpC,4DAA0C;AAC1C,qDAAmC;AACnC,2DAAyC;AACzC,qDAAmC;AACnC,0DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,4DAA0C;AAC1C,+DAA6C;AAC7C,8DAA4C;AAC5C,oDAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,sDAAoC;AACpC,qDAAmC;AACnC,uDAAqC;AACrC,0DAAwC;AACxC,qDAAmC;AACnC,0DAAwC;AACxC,uDAAqC;AACrC,oDAAkC;AAClC,4DAA0C;AAC1C,qDAAmC;AACnC,qDAAmC;AACnC,6DAA2C;AAC3C,oDAAkC;AAClC,2DAAyC;AACzC,uDAAqC;AACrC,6DAA2C;AAC3C,yDAAuC;AACvC,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,sDAAoC;AACpC,4DAA0C;AAC1C,qDAAmC;AACnC,2DAAyC;AACzC,qDAAmC"}
@@ -0,0 +1,6 @@
1
+ export declare class MapZipHelper {
2
+ static createZipMap(mapName: string, mapObject: object, pathToSave: string): Promise<void>;
3
+ static readZip(fileName: any, filePath: any): Promise<object>;
4
+ }
5
+ export declare const mapZipHelper: MapZipHelper;
6
+ //# sourceMappingURL=MapZipHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MapZipHelper.d.ts","sourceRoot":"","sources":["../../src/libs/MapZipHelper.ts"],"names":[],"mappings":"AAKA,qBAAa,YAAY;WACV,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;WA4BnF,OAAO,CAAC,QAAQ,KAAA,EAAE,QAAQ,KAAA,GAAG,OAAO,CAAC,MAAM,CAAC;CAY1D;AAED,eAAO,MAAM,YAAY,cAAqB,CAAC"}
@@ -0,0 +1,41 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.mapZipHelper = exports.MapZipHelper = void 0;
13
+ const compress = require("compress-json");
14
+ const decompress = require("compress-json");
15
+ const fs = require("fs");
16
+ const JSZip = require("jszip");
17
+ class MapZipHelper {
18
+ static createZipMap(mapName, mapObject, pathToSave) {
19
+ return __awaiter(this, void 0, void 0, function* () {
20
+ const data = compress(mapObject);
21
+ const zip = new JSZip();
22
+ zip.file(`${mapName}.txt`, JSON.stringify(data));
23
+ const buffer = yield zip.generateAsync({ type: "uint8array" });
24
+ yield fs.createWriteStream(`${pathToSave}/${mapName}.zip`).write(buffer);
25
+ });
26
+ }
27
+ static readZip(fileName, filePath) {
28
+ return __awaiter(this, void 0, void 0, function* () {
29
+ const data = yield fs.readFileSync(filePath);
30
+ const zipRead = new JSZip();
31
+ const content = yield zipRead.loadAsync(data);
32
+ const fileBuffer = yield content.file(`${fileName}.txt`).async("uint8array");
33
+ const bufferedString = Buffer.from(fileBuffer.buffer).toString();
34
+ const fileContent = decompress(JSON.parse(bufferedString));
35
+ return fileContent;
36
+ });
37
+ }
38
+ }
39
+ exports.MapZipHelper = MapZipHelper;
40
+ exports.mapZipHelper = new MapZipHelper();
41
+ //# sourceMappingURL=MapZipHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MapZipHelper.js","sourceRoot":"","sources":["../../src/libs/MapZipHelper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,MAAM,QAAQ,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAC1C,MAAM,UAAU,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAC5C,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACzB,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;AAE/B,MAAa,YAAY;IACvB,MAAM,CAAO,YAAY,CAAC,OAAe,EAAE,SAAiB,EAAE,UAAkB;;YAC9E,MAAM,IAAI,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;YACjC,MAAM,GAAG,GAAG,IAAI,KAAK,EAAE,CAAC;YACxB,GAAG,CAAC,IAAI,CAAC,GAAG,OAAO,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;YACjD,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,aAAa,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;YAC/D,MAAM,EAAE,CAAC,iBAAiB,CAAC,GAAG,UAAU,IAAI,OAAO,MAAM,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAC3E,CAAC;KAAA;IAsBD,MAAM,CAAO,OAAO,CAAC,QAAQ,EAAE,QAAQ;;YACrC,MAAM,IAAI,GAAG,MAAM,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;YAE7C,MAAM,OAAO,GAAG,IAAI,KAAK,EAAE,CAAC;YAE5B,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;YAC9C,MAAM,UAAU,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,QAAQ,MAAM,CAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;YAC9E,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,CAAC;YACjE,MAAM,WAAW,GAAG,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;YAE3D,OAAO,WAAW,CAAC;QACrB,CAAC;KAAA;CACF;AAzCD,oCAyCC;AAEY,QAAA,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpg-engine/shared",
3
- "version": "0.2.91",
3
+ "version": "0.2.95",
4
4
  "description": "> TODO: description",
5
5
  "author": "Joao Paulo Furtado <joaopaulofurtado@live.com>",
6
6
  "homepage": "",
@@ -35,6 +35,9 @@
35
35
  "typescript": "^4.6.4"
36
36
  },
37
37
  "devDependencies": {
38
- "@types/mongoose": "^5.11.97"
38
+ "@rpg-engine/shared": "^0.2.51",
39
+ "@types/mongoose": "^5.11.97",
40
+ "compress-json": "^2.0.1",
41
+ "jszip": "^3.10.0"
39
42
  }
40
43
  }
@@ -1,7 +0,0 @@
1
- import { INPC } from "./npc.types";
2
- interface INPCMetaData extends Omit<INPC, "_id"> {
3
- key: string;
4
- }
5
- export declare const NPCMetaData: INPCMetaData[];
6
- export {};
7
- //# sourceMappingURL=npcMetadata.types.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,20 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,49 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,14 +0,0 @@
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
@@ -1 +0,0 @@
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"}