@rpg-engine/shared 0.3.39 → 0.3.42

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.
Files changed (107) hide show
  1. package/README.md +29 -29
  2. package/dist/constants/date.constants.d.ts +2 -2
  3. package/dist/constants/date.constants.js +5 -5
  4. package/dist/constants/npc.constants.d.ts +1 -1
  5. package/dist/constants/npc.constants.js +4 -4
  6. package/dist/constants/socket.constants.d.ts +2 -2
  7. package/dist/constants/socket.constants.js +6 -6
  8. package/dist/constants/world.constants.d.ts +10 -10
  9. package/dist/constants/world.constants.js +13 -13
  10. package/dist/helpers/skillHelpers.d.ts +4 -4
  11. package/dist/helpers/skillHelpers.js +25 -25
  12. package/dist/index.d.ts +39 -39
  13. package/dist/index.js +55 -55
  14. package/dist/libs/GridHelper.d.ts +11 -11
  15. package/dist/libs/GridHelper.js +37 -37
  16. package/dist/libs/MathHelper.d.ts +16 -16
  17. package/dist/libs/MathHelper.js +14 -14
  18. package/dist/libs/SocketHelper.d.ts +2 -2
  19. package/dist/libs/SocketHelper.js +14 -14
  20. package/dist/libs/TextHelper.d.ts +7 -7
  21. package/dist/libs/TextHelper.js +21 -21
  22. package/dist/libs/TypeHelper.d.ts +3 -3
  23. package/dist/libs/TypeHelper.js +16 -16
  24. package/dist/translations/app-rate.lang.json +38 -38
  25. package/dist/translations/assets.lang.json +82 -82
  26. package/dist/translations/auth.lang.json +182 -182
  27. package/dist/translations/email.lang.json +70 -70
  28. package/dist/translations/error.lang.json +18 -18
  29. package/dist/translations/form.lang.json +94 -94
  30. package/dist/translations/global.lang.json +90 -90
  31. package/dist/translations/logs.lang.json +6 -6
  32. package/dist/translations/onboarding.lang.d.ts +10 -10
  33. package/dist/translations/onboarding.lang.js +21 -21
  34. package/dist/translations/onboarding.lang.json +50 -50
  35. package/dist/translations/order.lang.json +90 -90
  36. package/dist/translations/search.lang.json +50 -50
  37. package/dist/translations/settings.lang.json +14 -14
  38. package/dist/translations/tabs.lang.json +22 -22
  39. package/dist/translations/users.lang.json +22 -22
  40. package/dist/translations/validation.lang.json +86 -86
  41. package/dist/types/animation.types.d.ts +16 -16
  42. package/dist/types/animation.types.js +2 -2
  43. package/dist/types/api.types.d.ts +21 -21
  44. package/dist/types/api.types.js +20 -20
  45. package/dist/types/asset.types.d.ts +6 -6
  46. package/dist/types/asset.types.js +2 -2
  47. package/dist/types/auth.types.d.ts +7 -7
  48. package/dist/types/auth.types.js +2 -2
  49. package/dist/types/battle.types.d.ts +35 -35
  50. package/dist/types/battle.types.js +17 -17
  51. package/dist/types/character.types.d.ts +134 -134
  52. package/dist/types/character.types.js +29 -29
  53. package/dist/types/chat.types.d.ts +30 -30
  54. package/dist/types/chat.types.js +14 -14
  55. package/dist/types/device.types.d.ts +24 -24
  56. package/dist/types/device.types.js +7 -7
  57. package/dist/types/entity.types.d.ts +20 -20
  58. package/dist/types/entity.types.js +14 -14
  59. package/dist/types/env.types.d.ts +5 -5
  60. package/dist/types/env.types.js +9 -9
  61. package/dist/types/equipment.types.d.ts +32 -16
  62. package/dist/types/equipment.types.d.ts.map +1 -1
  63. package/dist/types/equipment.types.js +19 -2
  64. package/dist/types/equipment.types.js.map +1 -1
  65. package/dist/types/googleOAuth.types.d.ts +47 -47
  66. package/dist/types/googleOAuth.types.js +2 -2
  67. package/dist/types/item.types.d.ts +157 -156
  68. package/dist/types/item.types.d.ts.map +1 -1
  69. package/dist/types/item.types.js +99 -98
  70. package/dist/types/item.types.js.map +1 -1
  71. package/dist/types/itemContainer.types.d.ts +52 -52
  72. package/dist/types/itemContainer.types.js +2 -2
  73. package/dist/types/maps.types.d.ts +19 -19
  74. package/dist/types/maps.types.js +11 -11
  75. package/dist/types/notification.types.d.ts +14 -14
  76. package/dist/types/notification.types.js +2 -2
  77. package/dist/types/npc.types.d.ts +114 -105
  78. package/dist/types/npc.types.d.ts.map +1 -1
  79. package/dist/types/npc.types.js +35 -35
  80. package/dist/types/npc.types.js.map +1 -1
  81. package/dist/types/pagination.types.d.ts +13 -13
  82. package/dist/types/pagination.types.js +2 -2
  83. package/dist/types/places.types.d.ts +16 -16
  84. package/dist/types/places.types.js +9 -9
  85. package/dist/types/preloadScene.types.d.ts +4 -4
  86. package/dist/types/preloadScene.types.js +7 -7
  87. package/dist/types/resource.types.d.ts +5 -5
  88. package/dist/types/resource.types.js +2 -2
  89. package/dist/types/scene.types.d.ts +8 -8
  90. package/dist/types/scene.types.js +8 -8
  91. package/dist/types/skills.types.d.ts +57 -57
  92. package/dist/types/skills.types.js +22 -22
  93. package/dist/types/socket.types.d.ts +17 -17
  94. package/dist/types/socket.types.js +8 -8
  95. package/dist/types/tiled.types.d.ts +107 -107
  96. package/dist/types/tiled.types.js +13 -13
  97. package/dist/types/translation.types.d.ts +5 -5
  98. package/dist/types/translation.types.js +8 -8
  99. package/dist/types/ui.types.d.ts +8 -8
  100. package/dist/types/ui.types.js +7 -7
  101. package/dist/types/user.types.d.ts +101 -101
  102. package/dist/types/user.types.js +38 -38
  103. package/dist/types/validation.types.d.ts +9 -9
  104. package/dist/types/validation.types.js +2 -2
  105. package/dist/types/view.types.d.ts +14 -14
  106. package/dist/types/view.types.js +7 -7
  107. package/package.json +41 -41
@@ -1,53 +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
- itemId: 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 {};
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
+ itemId: 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
53
  //# sourceMappingURL=itemContainer.types.d.ts.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=itemContainer.types.js.map
@@ -1,20 +1,20 @@
1
- export declare enum MapLayers {
2
- Ground = 0,
3
- OverGround = 1,
4
- Character = 2,
5
- OverCharacter = 3
6
- }
7
- export interface IMapMetadataTileset {
8
- name: string;
9
- imagePath: string;
10
- }
11
- export interface IMapMetaData {
12
- name: string;
13
- hash: string;
14
- layers: string[];
15
- tileWidth: number;
16
- tileHeight: number;
17
- tilesets: IMapMetadataTileset[];
18
- }
19
- export declare const MAP_LAYERS: string[];
1
+ export declare enum MapLayers {
2
+ Ground = 0,
3
+ OverGround = 1,
4
+ Character = 2,
5
+ OverCharacter = 3
6
+ }
7
+ export interface IMapMetadataTileset {
8
+ name: string;
9
+ imagePath: string;
10
+ }
11
+ export interface IMapMetaData {
12
+ name: string;
13
+ hash: string;
14
+ layers: string[];
15
+ tileWidth: number;
16
+ tileHeight: number;
17
+ tilesets: IMapMetadataTileset[];
18
+ }
19
+ export declare const MAP_LAYERS: string[];
20
20
  //# sourceMappingURL=maps.types.d.ts.map
@@ -1,12 +1,12 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MAP_LAYERS = exports.MapLayers = void 0;
4
- var MapLayers;
5
- (function (MapLayers) {
6
- MapLayers[MapLayers["Ground"] = 0] = "Ground";
7
- MapLayers[MapLayers["OverGround"] = 1] = "OverGround";
8
- MapLayers[MapLayers["Character"] = 2] = "Character";
9
- MapLayers[MapLayers["OverCharacter"] = 3] = "OverCharacter";
10
- })(MapLayers = exports.MapLayers || (exports.MapLayers = {}));
11
- exports.MAP_LAYERS = ["ground", "over-ground", "character", "over-character"];
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MAP_LAYERS = exports.MapLayers = void 0;
4
+ var MapLayers;
5
+ (function (MapLayers) {
6
+ MapLayers[MapLayers["Ground"] = 0] = "Ground";
7
+ MapLayers[MapLayers["OverGround"] = 1] = "OverGround";
8
+ MapLayers[MapLayers["Character"] = 2] = "Character";
9
+ MapLayers[MapLayers["OverCharacter"] = 3] = "OverCharacter";
10
+ })(MapLayers = exports.MapLayers || (exports.MapLayers = {}));
11
+ exports.MAP_LAYERS = ["ground", "over-ground", "character", "over-character"];
12
12
  //# sourceMappingURL=maps.types.js.map
@@ -1,15 +1,15 @@
1
- export interface IShowPromptOption {
2
- label: string;
3
- color?: string;
4
- action: (label: string) => void;
5
- }
6
- export interface IShowPrompt {
7
- question: string;
8
- options: IShowPromptOption[];
9
- addDefaultCancelOption?: boolean;
10
- }
11
- export interface INotification {
12
- variant: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "light" | "dark";
13
- message: string;
14
- }
1
+ export interface IShowPromptOption {
2
+ label: string;
3
+ color?: string;
4
+ action: (label: string) => void;
5
+ }
6
+ export interface IShowPrompt {
7
+ question: string;
8
+ options: IShowPromptOption[];
9
+ addDefaultCancelOption?: boolean;
10
+ }
11
+ export interface INotification {
12
+ variant: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "light" | "dark";
13
+ message: string;
14
+ }
15
15
  //# sourceMappingURL=notification.types.d.ts.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=notification.types.js.map
@@ -1,106 +1,115 @@
1
- import { AnimationDirection } from "./animation.types";
2
- import { CharacterClass, CharacterGender, ICharacter } from "./character.types";
3
- import { EntityAttackType } from "./entity.types";
4
- import { MapLayers } from "./maps.types";
5
- import { IResource } from "./resource.types";
6
- import { ISkill } from "./skills.types";
7
- export interface INPC extends IResource {
8
- tiledId?: number;
9
- key: string;
10
- textureKey: string;
11
- name: string;
12
- health: number;
13
- maxHealth: number;
14
- mana: number;
15
- maxMana: number;
16
- alignment: NPCAlignment;
17
- targetType: NPCTargetType;
18
- targetCharacter?: ICharacter | null;
19
- x: number;
20
- y: number;
21
- initialX: number;
22
- initialY: number;
23
- direction: AnimationDirection;
24
- scene: string;
25
- class: CharacterClass;
26
- gender: CharacterGender;
27
- layer: MapLayers;
28
- attackType: EntityAttackType;
29
- originalMovementType: NPCMovementType;
30
- currentMovementType: NPCMovementType;
31
- maxRangeInGridCells?: number;
32
- maxRangedDistanceInGridCells?: number;
33
- pathOrientation?: NPCPathOrientation;
34
- fixedPath?: {
35
- endGridX: number;
36
- endGridY: number;
37
- };
38
- pm2InstanceManager: number;
39
- speed: number;
40
- dialogText: string;
41
- skills: ISkill | string;
42
- spawnIntervalMin: number;
43
- nextSpawnTime: Date;
44
- fleeOnLowHealth: boolean;
45
- experience: number;
46
- }
47
- export declare enum NPCTargetType {
48
- Default = "Default",
49
- Talking = "Talking"
50
- }
51
- export declare enum NPCAlignment {
52
- Friendly = "Friendly",
53
- Neutral = "Neutral",
54
- Hostile = "Hostile"
55
- }
56
- export declare enum NPCPathOrientation {
57
- Forward = "Forward",
58
- Backward = "Backward"
59
- }
60
- export declare enum NPCMovementType {
61
- Random = "Random",
62
- FixedPath = "FixedPath",
63
- Stopped = "Stopped",
64
- MoveAway = "MoveAway",
65
- MoveTowards = "MoveTowards"
66
- }
67
- export declare enum NPCSocketEvents {
68
- NPCDataUpdate = "NPCDataUpdate",
69
- NPCPositionUpdate = "NPCPositionUpdate",
70
- NPCTalkToNPC = "NPCTalkToNPC",
71
- NPCStartDialogNPC = "NPCStartDialogNPC",
72
- NPCStopDialogNPC = "NPCStopDialogNPC"
73
- }
74
- export interface INPCPositionUpdatePayload {
75
- id: string;
76
- name: string;
77
- x: number;
78
- y: number;
79
- direction: string;
80
- key: string;
81
- layer: MapLayers;
82
- textureKey: string;
83
- scene: string;
84
- speed: number;
85
- alignment: NPCAlignment;
86
- health: number;
87
- maxHealth: number;
88
- mana: number;
89
- maxMana: number;
90
- }
91
- export interface INPCDataUpdatePayload {
92
- [key: string]: any;
93
- }
94
- export interface INPCGetInfoEmitterClient {
95
- npcId: string;
96
- }
97
- export interface INPCGetInfoEmitterServer extends INPC {
98
- }
99
- export interface INPCStartDialog {
100
- npcId: string;
101
- dialogText: string;
102
- }
103
- export interface INPCStopDialog {
104
- npcId: string;
105
- }
1
+ import { AnimationDirection } from "./animation.types";
2
+ import { CharacterClass, CharacterGender, ICharacter } from "./character.types";
3
+ import { EntityAttackType } from "./entity.types";
4
+ import { MapLayers } from "./maps.types";
5
+ import { IResource } from "./resource.types";
6
+ import { ISkill } from "./skills.types";
7
+ export interface INPC extends IResource {
8
+ tiledId?: number;
9
+ key: string;
10
+ textureKey: string;
11
+ name: string;
12
+ health: number;
13
+ maxHealth: number;
14
+ mana: number;
15
+ maxMana: number;
16
+ alignment: NPCAlignment;
17
+ targetType: NPCTargetType;
18
+ targetCharacter?: ICharacter | null;
19
+ x: number;
20
+ y: number;
21
+ initialX: number;
22
+ initialY: number;
23
+ direction: AnimationDirection;
24
+ scene: string;
25
+ class: CharacterClass;
26
+ gender: CharacterGender;
27
+ layer: MapLayers;
28
+ attackType: EntityAttackType;
29
+ originalMovementType: NPCMovementType;
30
+ currentMovementType: NPCMovementType;
31
+ maxRangeInGridCells?: number;
32
+ maxRangedDistanceInGridCells?: number;
33
+ pathOrientation?: NPCPathOrientation;
34
+ fixedPath?: {
35
+ endGridX: number;
36
+ endGridY: number;
37
+ };
38
+ pm2InstanceManager: number;
39
+ speed: number;
40
+ dialogText: string;
41
+ skills: ISkill | string;
42
+ spawnIntervalMin: number;
43
+ nextSpawnTime: Date;
44
+ fleeOnLowHealth: boolean;
45
+ experience?: number;
46
+ xpToRelease?: {
47
+ charId: number;
48
+ xp: number;
49
+ }[];
50
+ loots?: INPCLoot[];
51
+ }
52
+ export declare enum NPCTargetType {
53
+ Default = "Default",
54
+ Talking = "Talking"
55
+ }
56
+ export declare enum NPCAlignment {
57
+ Friendly = "Friendly",
58
+ Neutral = "Neutral",
59
+ Hostile = "Hostile"
60
+ }
61
+ export declare enum NPCPathOrientation {
62
+ Forward = "Forward",
63
+ Backward = "Backward"
64
+ }
65
+ export declare enum NPCMovementType {
66
+ Random = "Random",
67
+ FixedPath = "FixedPath",
68
+ Stopped = "Stopped",
69
+ MoveAway = "MoveAway",
70
+ MoveTowards = "MoveTowards"
71
+ }
72
+ export declare enum NPCSocketEvents {
73
+ NPCDataUpdate = "NPCDataUpdate",
74
+ NPCPositionUpdate = "NPCPositionUpdate",
75
+ NPCTalkToNPC = "NPCTalkToNPC",
76
+ NPCStartDialogNPC = "NPCStartDialogNPC",
77
+ NPCStopDialogNPC = "NPCStopDialogNPC"
78
+ }
79
+ export interface INPCPositionUpdatePayload {
80
+ id: string;
81
+ name: string;
82
+ x: number;
83
+ y: number;
84
+ direction: string;
85
+ key: string;
86
+ layer: MapLayers;
87
+ textureKey: string;
88
+ scene: string;
89
+ speed: number;
90
+ alignment: NPCAlignment;
91
+ health: number;
92
+ maxHealth: number;
93
+ mana: number;
94
+ maxMana: number;
95
+ }
96
+ export interface INPCDataUpdatePayload {
97
+ [key: string]: any;
98
+ }
99
+ export interface INPCGetInfoEmitterClient {
100
+ npcId: string;
101
+ }
102
+ export interface INPCGetInfoEmitterServer extends INPC {
103
+ }
104
+ export interface INPCStartDialog {
105
+ npcId: string;
106
+ dialogText: string;
107
+ }
108
+ export interface INPCStopDialog {
109
+ npcId: string;
110
+ }
111
+ export interface INPCLoot {
112
+ itemBlueprintKey: string;
113
+ chance: number;
114
+ }
106
115
  //# 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,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,MAAM,WAA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AG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,YAAY,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,wBAAyB,SAAQ,IAAI;CAAG;AAEzD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,QAAQ;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -1,36 +1,36 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NPCSocketEvents = exports.NPCMovementType = exports.NPCPathOrientation = exports.NPCAlignment = exports.NPCTargetType = void 0;
4
- var NPCTargetType;
5
- (function (NPCTargetType) {
6
- NPCTargetType["Default"] = "Default";
7
- NPCTargetType["Talking"] = "Talking";
8
- })(NPCTargetType = exports.NPCTargetType || (exports.NPCTargetType = {}));
9
- var NPCAlignment;
10
- (function (NPCAlignment) {
11
- NPCAlignment["Friendly"] = "Friendly";
12
- NPCAlignment["Neutral"] = "Neutral";
13
- NPCAlignment["Hostile"] = "Hostile";
14
- })(NPCAlignment = exports.NPCAlignment || (exports.NPCAlignment = {}));
15
- var NPCPathOrientation;
16
- (function (NPCPathOrientation) {
17
- NPCPathOrientation["Forward"] = "Forward";
18
- NPCPathOrientation["Backward"] = "Backward";
19
- })(NPCPathOrientation = exports.NPCPathOrientation || (exports.NPCPathOrientation = {}));
20
- var NPCMovementType;
21
- (function (NPCMovementType) {
22
- NPCMovementType["Random"] = "Random";
23
- NPCMovementType["FixedPath"] = "FixedPath";
24
- NPCMovementType["Stopped"] = "Stopped";
25
- NPCMovementType["MoveAway"] = "MoveAway";
26
- NPCMovementType["MoveTowards"] = "MoveTowards";
27
- })(NPCMovementType = exports.NPCMovementType || (exports.NPCMovementType = {}));
28
- var NPCSocketEvents;
29
- (function (NPCSocketEvents) {
30
- NPCSocketEvents["NPCDataUpdate"] = "NPCDataUpdate";
31
- NPCSocketEvents["NPCPositionUpdate"] = "NPCPositionUpdate";
32
- NPCSocketEvents["NPCTalkToNPC"] = "NPCTalkToNPC";
33
- NPCSocketEvents["NPCStartDialogNPC"] = "NPCStartDialogNPC";
34
- NPCSocketEvents["NPCStopDialogNPC"] = "NPCStopDialogNPC";
35
- })(NPCSocketEvents = exports.NPCSocketEvents || (exports.NPCSocketEvents = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NPCSocketEvents = exports.NPCMovementType = exports.NPCPathOrientation = exports.NPCAlignment = exports.NPCTargetType = void 0;
4
+ var NPCTargetType;
5
+ (function (NPCTargetType) {
6
+ NPCTargetType["Default"] = "Default";
7
+ NPCTargetType["Talking"] = "Talking";
8
+ })(NPCTargetType = exports.NPCTargetType || (exports.NPCTargetType = {}));
9
+ var NPCAlignment;
10
+ (function (NPCAlignment) {
11
+ NPCAlignment["Friendly"] = "Friendly";
12
+ NPCAlignment["Neutral"] = "Neutral";
13
+ NPCAlignment["Hostile"] = "Hostile";
14
+ })(NPCAlignment = exports.NPCAlignment || (exports.NPCAlignment = {}));
15
+ var NPCPathOrientation;
16
+ (function (NPCPathOrientation) {
17
+ NPCPathOrientation["Forward"] = "Forward";
18
+ NPCPathOrientation["Backward"] = "Backward";
19
+ })(NPCPathOrientation = exports.NPCPathOrientation || (exports.NPCPathOrientation = {}));
20
+ var NPCMovementType;
21
+ (function (NPCMovementType) {
22
+ NPCMovementType["Random"] = "Random";
23
+ NPCMovementType["FixedPath"] = "FixedPath";
24
+ NPCMovementType["Stopped"] = "Stopped";
25
+ NPCMovementType["MoveAway"] = "MoveAway";
26
+ NPCMovementType["MoveTowards"] = "MoveTowards";
27
+ })(NPCMovementType = exports.NPCMovementType || (exports.NPCMovementType = {}));
28
+ var NPCSocketEvents;
29
+ (function (NPCSocketEvents) {
30
+ NPCSocketEvents["NPCDataUpdate"] = "NPCDataUpdate";
31
+ NPCSocketEvents["NPCPositionUpdate"] = "NPCPositionUpdate";
32
+ NPCSocketEvents["NPCTalkToNPC"] = "NPCTalkToNPC";
33
+ NPCSocketEvents["NPCStartDialogNPC"] = "NPCStartDialogNPC";
34
+ NPCSocketEvents["NPCStopDialogNPC"] = "NPCStopDialogNPC";
35
+ })(NPCSocketEvents = exports.NPCSocketEvents || (exports.NPCSocketEvents = {}));
36
36
  //# sourceMappingURL=npc.types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"npc.types.js","sourceRoot":"","sources":["../../src/types/npc.types.ts"],"names":[],"mappings":";;;AAgDA,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,oCAAmB,CAAA;AACrB,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;AACrB,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;AACvB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,eAMX;AAND,WAAY,eAAe;IACzB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,KAAf,uBAAe,QAM1B"}
@@ -1,14 +1,14 @@
1
- export interface IPaginationResponse<T> {
2
- docs: T[];
3
- totalDocs: number;
4
- offset: number;
5
- limit: number;
6
- totalPages: number;
7
- page: number;
8
- pagingCounter: number;
9
- hasPrevPage: boolean;
10
- hasNextPage: boolean;
11
- prevPage: number | null;
12
- nextPage: number | null;
13
- }
1
+ export interface IPaginationResponse<T> {
2
+ docs: T[];
3
+ totalDocs: number;
4
+ offset: number;
5
+ limit: number;
6
+ totalPages: number;
7
+ page: number;
8
+ pagingCounter: number;
9
+ hasPrevPage: boolean;
10
+ hasNextPage: boolean;
11
+ prevPage: number | null;
12
+ nextPage: number | null;
13
+ }
14
14
  //# sourceMappingURL=pagination.types.d.ts.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=pagination.types.js.map
@@ -1,17 +1,17 @@
1
- export declare enum Countries {
2
- US = "US",
3
- Brazil = "Brazil",
4
- Global = "Global"
5
- }
6
- export interface ICountry {
7
- name: string;
8
- code: string;
9
- }
10
- export interface ICountryCity {
11
- country: {
12
- name: string;
13
- code: string;
14
- };
15
- cities: string[];
16
- }
1
+ export declare enum Countries {
2
+ US = "US",
3
+ Brazil = "Brazil",
4
+ Global = "Global"
5
+ }
6
+ export interface ICountry {
7
+ name: string;
8
+ code: string;
9
+ }
10
+ export interface ICountryCity {
11
+ country: {
12
+ name: string;
13
+ code: string;
14
+ };
15
+ cities: string[];
16
+ }
17
17
  //# sourceMappingURL=places.types.d.ts.map
@@ -1,10 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Countries = void 0;
4
- var Countries;
5
- (function (Countries) {
6
- Countries["US"] = "US";
7
- Countries["Brazil"] = "Brazil";
8
- Countries["Global"] = "Global";
9
- })(Countries = exports.Countries || (exports.Countries = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Countries = void 0;
4
+ var Countries;
5
+ (function (Countries) {
6
+ Countries["US"] = "US";
7
+ Countries["Brazil"] = "Brazil";
8
+ Countries["Global"] = "Global";
9
+ })(Countries = exports.Countries || (exports.Countries = {}));
10
10
  //# sourceMappingURL=places.types.js.map
@@ -1,5 +1,5 @@
1
- export declare const PreloadSceneData: {
2
- key: string;
3
- assets: {};
4
- };
1
+ export declare const PreloadSceneData: {
2
+ key: string;
3
+ assets: {};
4
+ };
5
5
  //# sourceMappingURL=preloadScene.types.d.ts.map
@@ -1,8 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PreloadSceneData = void 0;
4
- exports.PreloadSceneData = {
5
- key: "PreloadScene",
6
- assets: {},
7
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreloadSceneData = void 0;
4
+ exports.PreloadSceneData = {
5
+ key: "PreloadScene",
6
+ assets: {},
7
+ };
8
8
  //# sourceMappingURL=preloadScene.types.js.map