@rpg-engine/shared 0.8.48 → 0.8.49

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 (133) 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/deviceHelpers.d.ts +2 -2
  11. package/dist/helpers/deviceHelpers.js +16 -16
  12. package/dist/helpers/itemSlotHelper.d.ts +7 -7
  13. package/dist/helpers/itemSlotHelper.js +27 -27
  14. package/dist/helpers/skillHelpers.d.ts +4 -4
  15. package/dist/helpers/skillHelpers.js +25 -25
  16. package/dist/helpers/weightHelper.d.ts +1 -1
  17. package/dist/helpers/weightHelper.js +14 -14
  18. package/dist/index.d.ts +55 -55
  19. package/dist/index.js +71 -71
  20. package/dist/libs/GridHelper.d.ts +11 -11
  21. package/dist/libs/GridHelper.js +37 -37
  22. package/dist/libs/MathHelper.d.ts +16 -16
  23. package/dist/libs/MathHelper.js +14 -14
  24. package/dist/libs/SocketHelper.d.ts +2 -2
  25. package/dist/libs/SocketHelper.js +14 -14
  26. package/dist/libs/TextHelper.d.ts +7 -7
  27. package/dist/libs/TextHelper.js +21 -21
  28. package/dist/libs/TypeHelper.d.ts +3 -3
  29. package/dist/libs/TypeHelper.js +16 -16
  30. package/dist/translations/app-rate.lang.json +38 -38
  31. package/dist/translations/assets.lang.json +82 -82
  32. package/dist/translations/auth.lang.json +182 -182
  33. package/dist/translations/email.lang.json +70 -70
  34. package/dist/translations/error.lang.json +18 -18
  35. package/dist/translations/form.lang.json +94 -94
  36. package/dist/translations/global.lang.json +90 -90
  37. package/dist/translations/logs.lang.json +6 -6
  38. package/dist/translations/onboarding.lang.d.ts +10 -10
  39. package/dist/translations/onboarding.lang.js +21 -21
  40. package/dist/translations/onboarding.lang.json +50 -50
  41. package/dist/translations/order.lang.json +90 -90
  42. package/dist/translations/search.lang.json +50 -50
  43. package/dist/translations/settings.lang.json +14 -14
  44. package/dist/translations/tabs.lang.json +22 -22
  45. package/dist/translations/users.lang.json +22 -22
  46. package/dist/translations/validation.lang.json +86 -86
  47. package/dist/types/animation.types.d.ts +69 -69
  48. package/dist/types/animation.types.js +46 -46
  49. package/dist/types/api.types.d.ts +21 -21
  50. package/dist/types/api.types.js +20 -20
  51. package/dist/types/asset.types.d.ts +6 -6
  52. package/dist/types/asset.types.js +2 -2
  53. package/dist/types/auth.types.d.ts +7 -7
  54. package/dist/types/auth.types.js +2 -2
  55. package/dist/types/battle.types.d.ts +41 -41
  56. package/dist/types/battle.types.js +18 -18
  57. package/dist/types/buff.types.d.ts +39 -39
  58. package/dist/types/buff.types.js +13 -13
  59. package/dist/types/character.types.d.ts +228 -216
  60. package/dist/types/character.types.d.ts.map +1 -1
  61. package/dist/types/character.types.js +65 -59
  62. package/dist/types/character.types.js.map +1 -1
  63. package/dist/types/chat.types.d.ts +30 -30
  64. package/dist/types/chat.types.js +14 -14
  65. package/dist/types/depot.types.d.ts +18 -18
  66. package/dist/types/depot.types.js +9 -9
  67. package/dist/types/device.types.d.ts +24 -24
  68. package/dist/types/device.types.js +7 -7
  69. package/dist/types/displayText.types.d.ts +10 -10
  70. package/dist/types/displayText.types.js +7 -7
  71. package/dist/types/entity.types.d.ts +30 -30
  72. package/dist/types/entity.types.js +20 -20
  73. package/dist/types/env.types.d.ts +5 -5
  74. package/dist/types/env.types.js +9 -9
  75. package/dist/types/equipment.types.d.ts +35 -35
  76. package/dist/types/equipment.types.js +18 -18
  77. package/dist/types/googleOAuth.types.d.ts +47 -47
  78. package/dist/types/googleOAuth.types.js +2 -2
  79. package/dist/types/inventory.types.d.ts +7 -7
  80. package/dist/types/inventory.types.js +2 -2
  81. package/dist/types/item.types.d.ts +370 -370
  82. package/dist/types/item.types.js +154 -154
  83. package/dist/types/itemContainer.types.d.ts +83 -83
  84. package/dist/types/itemContainer.types.js +11 -11
  85. package/dist/types/macro.types.d.ts +8 -8
  86. package/dist/types/macro.types.js +12 -12
  87. package/dist/types/maps.types.d.ts +82 -82
  88. package/dist/types/maps.types.js +81 -81
  89. package/dist/types/marketplace.types.d.ts +60 -60
  90. package/dist/types/marketplace.types.js +14 -14
  91. package/dist/types/notification.types.d.ts +14 -14
  92. package/dist/types/notification.types.js +2 -2
  93. package/dist/types/npc.types.d.ts +152 -152
  94. package/dist/types/npc.types.js +48 -48
  95. package/dist/types/pagination.types.d.ts +13 -13
  96. package/dist/types/pagination.types.js +2 -2
  97. package/dist/types/party.types.d.ts +82 -82
  98. package/dist/types/party.types.js +54 -54
  99. package/dist/types/places.types.d.ts +16 -16
  100. package/dist/types/places.types.js +9 -9
  101. package/dist/types/preloadScene.types.d.ts +4 -4
  102. package/dist/types/preloadScene.types.js +7 -7
  103. package/dist/types/quest.types.d.ts +74 -74
  104. package/dist/types/quest.types.js +21 -21
  105. package/dist/types/resource.types.d.ts +5 -5
  106. package/dist/types/resource.types.js +2 -2
  107. package/dist/types/scene.types.d.ts +8 -8
  108. package/dist/types/scene.types.js +8 -8
  109. package/dist/types/shortcut.types.d.ts +11 -11
  110. package/dist/types/shortcut.types.js +9 -9
  111. package/dist/types/skills.types.d.ts +144 -144
  112. package/dist/types/skills.types.js +106 -106
  113. package/dist/types/socket.types.d.ts +18 -18
  114. package/dist/types/socket.types.js +8 -8
  115. package/dist/types/spell.types.d.ts +127 -127
  116. package/dist/types/spell.types.js +86 -86
  117. package/dist/types/tiled.types.d.ts +119 -119
  118. package/dist/types/tiled.types.js +7 -7
  119. package/dist/types/trade.types.d.ts +65 -65
  120. package/dist/types/trade.types.js +15 -15
  121. package/dist/types/translation.types.d.ts +5 -5
  122. package/dist/types/translation.types.js +8 -8
  123. package/dist/types/ui.types.d.ts +8 -8
  124. package/dist/types/ui.types.js +7 -7
  125. package/dist/types/useWith.types.d.ts +25 -25
  126. package/dist/types/useWith.types.js +9 -9
  127. package/dist/types/user.types.d.ts +101 -101
  128. package/dist/types/user.types.js +38 -38
  129. package/dist/types/validation.types.d.ts +9 -9
  130. package/dist/types/validation.types.js +2 -2
  131. package/dist/types/view.types.d.ts +15 -15
  132. package/dist/types/view.types.js +7 -7
  133. package/package.json +43 -43
@@ -1,55 +1,55 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CharacterPartyDistributionBonus = exports.CharacterPartySkillBonus = exports.CharacterPartyDropBonus = exports.CharacterPartyEXPBonus = exports.CharacterPartyBenefits = exports.PartySocketEvents = void 0;
4
- var PartySocketEvents;
5
- (function (PartySocketEvents) {
6
- PartySocketEvents["InviteOrCreate"] = "inviteOrCreate";
7
- PartySocketEvents["PartyInvite"] = "partyInvite";
8
- PartySocketEvents["AcceptInvite"] = "acceptInvite";
9
- PartySocketEvents["LeaveParty"] = "leaveParty";
10
- PartySocketEvents["PartyInfoRead"] = "partyInfoRead";
11
- PartySocketEvents["PartyInfoOpen"] = "partyInfoOpen";
12
- PartySocketEvents["TransferLeadership"] = "transferLeadership";
13
- PartySocketEvents["Create"] = "create";
14
- PartySocketEvents["Invite"] = "invite";
15
- })(PartySocketEvents = exports.PartySocketEvents || (exports.PartySocketEvents = {}));
16
- var CharacterPartyBenefits;
17
- (function (CharacterPartyBenefits) {
18
- CharacterPartyBenefits["Experience"] = "experience";
19
- CharacterPartyBenefits["DropRatio"] = "drop-ratio";
20
- CharacterPartyBenefits["Skill"] = "skill";
21
- CharacterPartyBenefits["Distribution"] = "distribution";
22
- })(CharacterPartyBenefits = exports.CharacterPartyBenefits || (exports.CharacterPartyBenefits = {}));
23
- var CharacterPartyEXPBonus;
24
- (function (CharacterPartyEXPBonus) {
25
- CharacterPartyEXPBonus[CharacterPartyEXPBonus["One"] = 20] = "One";
26
- CharacterPartyEXPBonus[CharacterPartyEXPBonus["Two"] = 30] = "Two";
27
- CharacterPartyEXPBonus[CharacterPartyEXPBonus["Three"] = 40] = "Three";
28
- CharacterPartyEXPBonus[CharacterPartyEXPBonus["Four"] = 50] = "Four";
29
- CharacterPartyEXPBonus[CharacterPartyEXPBonus["Five"] = 60] = "Five";
30
- })(CharacterPartyEXPBonus = exports.CharacterPartyEXPBonus || (exports.CharacterPartyEXPBonus = {}));
31
- var CharacterPartyDropBonus;
32
- (function (CharacterPartyDropBonus) {
33
- CharacterPartyDropBonus[CharacterPartyDropBonus["None"] = 0] = "None";
34
- CharacterPartyDropBonus[CharacterPartyDropBonus["Two"] = 6] = "Two";
35
- CharacterPartyDropBonus[CharacterPartyDropBonus["Three"] = 9] = "Three";
36
- CharacterPartyDropBonus[CharacterPartyDropBonus["Four"] = 12] = "Four";
37
- CharacterPartyDropBonus[CharacterPartyDropBonus["Five"] = 15] = "Five";
38
- })(CharacterPartyDropBonus = exports.CharacterPartyDropBonus || (exports.CharacterPartyDropBonus = {}));
39
- var CharacterPartySkillBonus;
40
- (function (CharacterPartySkillBonus) {
41
- CharacterPartySkillBonus[CharacterPartySkillBonus["None"] = 0] = "None";
42
- CharacterPartySkillBonus[CharacterPartySkillBonus["Two"] = 4] = "Two";
43
- CharacterPartySkillBonus[CharacterPartySkillBonus["Three"] = 6] = "Three";
44
- CharacterPartySkillBonus[CharacterPartySkillBonus["Four"] = 8] = "Four";
45
- CharacterPartySkillBonus[CharacterPartySkillBonus["Five"] = 10] = "Five";
46
- })(CharacterPartySkillBonus = exports.CharacterPartySkillBonus || (exports.CharacterPartySkillBonus = {}));
47
- var CharacterPartyDistributionBonus;
48
- (function (CharacterPartyDistributionBonus) {
49
- CharacterPartyDistributionBonus[CharacterPartyDistributionBonus["None"] = 1] = "None";
50
- CharacterPartyDistributionBonus[CharacterPartyDistributionBonus["Two"] = 0.5] = "Two";
51
- CharacterPartyDistributionBonus[CharacterPartyDistributionBonus["Three"] = 0.33] = "Three";
52
- CharacterPartyDistributionBonus[CharacterPartyDistributionBonus["Four"] = 0.25] = "Four";
53
- CharacterPartyDistributionBonus[CharacterPartyDistributionBonus["Five"] = 0.2] = "Five";
54
- })(CharacterPartyDistributionBonus = exports.CharacterPartyDistributionBonus || (exports.CharacterPartyDistributionBonus = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CharacterPartyDistributionBonus = exports.CharacterPartySkillBonus = exports.CharacterPartyDropBonus = exports.CharacterPartyEXPBonus = exports.CharacterPartyBenefits = exports.PartySocketEvents = void 0;
4
+ var PartySocketEvents;
5
+ (function (PartySocketEvents) {
6
+ PartySocketEvents["InviteOrCreate"] = "inviteOrCreate";
7
+ PartySocketEvents["PartyInvite"] = "partyInvite";
8
+ PartySocketEvents["AcceptInvite"] = "acceptInvite";
9
+ PartySocketEvents["LeaveParty"] = "leaveParty";
10
+ PartySocketEvents["PartyInfoRead"] = "partyInfoRead";
11
+ PartySocketEvents["PartyInfoOpen"] = "partyInfoOpen";
12
+ PartySocketEvents["TransferLeadership"] = "transferLeadership";
13
+ PartySocketEvents["Create"] = "create";
14
+ PartySocketEvents["Invite"] = "invite";
15
+ })(PartySocketEvents = exports.PartySocketEvents || (exports.PartySocketEvents = {}));
16
+ var CharacterPartyBenefits;
17
+ (function (CharacterPartyBenefits) {
18
+ CharacterPartyBenefits["Experience"] = "experience";
19
+ CharacterPartyBenefits["DropRatio"] = "drop-ratio";
20
+ CharacterPartyBenefits["Skill"] = "skill";
21
+ CharacterPartyBenefits["Distribution"] = "distribution";
22
+ })(CharacterPartyBenefits = exports.CharacterPartyBenefits || (exports.CharacterPartyBenefits = {}));
23
+ var CharacterPartyEXPBonus;
24
+ (function (CharacterPartyEXPBonus) {
25
+ CharacterPartyEXPBonus[CharacterPartyEXPBonus["One"] = 20] = "One";
26
+ CharacterPartyEXPBonus[CharacterPartyEXPBonus["Two"] = 30] = "Two";
27
+ CharacterPartyEXPBonus[CharacterPartyEXPBonus["Three"] = 40] = "Three";
28
+ CharacterPartyEXPBonus[CharacterPartyEXPBonus["Four"] = 50] = "Four";
29
+ CharacterPartyEXPBonus[CharacterPartyEXPBonus["Five"] = 60] = "Five";
30
+ })(CharacterPartyEXPBonus = exports.CharacterPartyEXPBonus || (exports.CharacterPartyEXPBonus = {}));
31
+ var CharacterPartyDropBonus;
32
+ (function (CharacterPartyDropBonus) {
33
+ CharacterPartyDropBonus[CharacterPartyDropBonus["None"] = 0] = "None";
34
+ CharacterPartyDropBonus[CharacterPartyDropBonus["Two"] = 6] = "Two";
35
+ CharacterPartyDropBonus[CharacterPartyDropBonus["Three"] = 9] = "Three";
36
+ CharacterPartyDropBonus[CharacterPartyDropBonus["Four"] = 12] = "Four";
37
+ CharacterPartyDropBonus[CharacterPartyDropBonus["Five"] = 15] = "Five";
38
+ })(CharacterPartyDropBonus = exports.CharacterPartyDropBonus || (exports.CharacterPartyDropBonus = {}));
39
+ var CharacterPartySkillBonus;
40
+ (function (CharacterPartySkillBonus) {
41
+ CharacterPartySkillBonus[CharacterPartySkillBonus["None"] = 0] = "None";
42
+ CharacterPartySkillBonus[CharacterPartySkillBonus["Two"] = 4] = "Two";
43
+ CharacterPartySkillBonus[CharacterPartySkillBonus["Three"] = 6] = "Three";
44
+ CharacterPartySkillBonus[CharacterPartySkillBonus["Four"] = 8] = "Four";
45
+ CharacterPartySkillBonus[CharacterPartySkillBonus["Five"] = 10] = "Five";
46
+ })(CharacterPartySkillBonus = exports.CharacterPartySkillBonus || (exports.CharacterPartySkillBonus = {}));
47
+ var CharacterPartyDistributionBonus;
48
+ (function (CharacterPartyDistributionBonus) {
49
+ CharacterPartyDistributionBonus[CharacterPartyDistributionBonus["None"] = 1] = "None";
50
+ CharacterPartyDistributionBonus[CharacterPartyDistributionBonus["Two"] = 0.5] = "Two";
51
+ CharacterPartyDistributionBonus[CharacterPartyDistributionBonus["Three"] = 0.33] = "Three";
52
+ CharacterPartyDistributionBonus[CharacterPartyDistributionBonus["Four"] = 0.25] = "Four";
53
+ CharacterPartyDistributionBonus[CharacterPartyDistributionBonus["Five"] = 0.2] = "Five";
54
+ })(CharacterPartyDistributionBonus = exports.CharacterPartyDistributionBonus || (exports.CharacterPartyDistributionBonus = {}));
55
55
  //# sourceMappingURL=party.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
@@ -1,75 +1,75 @@
1
- import { ICharacter } from "./character.types";
2
- import { IResource } from "./resource.types";
3
- export interface IQuest extends IResource {
4
- key: string;
5
- npcId: string;
6
- title: string;
7
- description: string;
8
- rewards: IQuestReward[];
9
- objectives: IQuestObjectiveKill[] | IQuestObjectiveInteraction[];
10
- thumbnail?: string;
11
- status?: QuestStatus;
12
- }
13
- export interface IQuestReward {
14
- id?: string;
15
- itemKeys: string[];
16
- spellKeys?: string[];
17
- qty: number;
18
- }
19
- export interface IQuestObjective {
20
- id?: string;
21
- type: QuestType;
22
- status?: QuestStatus;
23
- }
24
- export interface IQuestObjectiveKill extends IQuestObjective {
25
- killCount: number;
26
- killCountTarget: number;
27
- creatureKeys: string[];
28
- }
29
- export interface IQuestObjectiveInteraction extends IQuestObjective {
30
- targetNPCkey?: string;
31
- items?: IQuestItems[];
32
- }
33
- export interface IQuestItems {
34
- itemKey: string;
35
- qty: number;
36
- }
37
- export interface IQuestRecord {
38
- id: string;
39
- character: ICharacter | string;
40
- objective: IQuestObjectiveKill | IQuestObjectiveInteraction | string;
41
- }
42
- export declare enum QuestType {
43
- Kill = "Kill",
44
- Interaction = "Interaction"
45
- }
46
- export declare enum QuestStatus {
47
- Pending = "Pending",
48
- InProgress = "InProgress",
49
- Completed = "Completed"
50
- }
51
- export interface IGetQuests {
52
- npcId?: string;
53
- characterId?: string;
54
- status?: QuestStatus;
55
- }
56
- export interface IQuestsResponse {
57
- npcId?: string;
58
- quests: IQuest[];
59
- }
60
- export interface IChooseQuest {
61
- npcId: string;
62
- questId: string;
63
- }
64
- export declare enum QuestSocketEvents {
65
- Started = "Started",
66
- Completed = "Completed",
67
- GetQuests = "GetQuests",
68
- ChooseQuest = "ChooseQuest"
69
- }
70
- export interface IQuestEventFromServer {
71
- characterId: string;
72
- npcId: string;
73
- questId: string;
74
- }
1
+ import { ICharacter } from "./character.types";
2
+ import { IResource } from "./resource.types";
3
+ export interface IQuest extends IResource {
4
+ key: string;
5
+ npcId: string;
6
+ title: string;
7
+ description: string;
8
+ rewards: IQuestReward[];
9
+ objectives: IQuestObjectiveKill[] | IQuestObjectiveInteraction[];
10
+ thumbnail?: string;
11
+ status?: QuestStatus;
12
+ }
13
+ export interface IQuestReward {
14
+ id?: string;
15
+ itemKeys: string[];
16
+ spellKeys?: string[];
17
+ qty: number;
18
+ }
19
+ export interface IQuestObjective {
20
+ id?: string;
21
+ type: QuestType;
22
+ status?: QuestStatus;
23
+ }
24
+ export interface IQuestObjectiveKill extends IQuestObjective {
25
+ killCount: number;
26
+ killCountTarget: number;
27
+ creatureKeys: string[];
28
+ }
29
+ export interface IQuestObjectiveInteraction extends IQuestObjective {
30
+ targetNPCkey?: string;
31
+ items?: IQuestItems[];
32
+ }
33
+ export interface IQuestItems {
34
+ itemKey: string;
35
+ qty: number;
36
+ }
37
+ export interface IQuestRecord {
38
+ id: string;
39
+ character: ICharacter | string;
40
+ objective: IQuestObjectiveKill | IQuestObjectiveInteraction | string;
41
+ }
42
+ export declare enum QuestType {
43
+ Kill = "Kill",
44
+ Interaction = "Interaction"
45
+ }
46
+ export declare enum QuestStatus {
47
+ Pending = "Pending",
48
+ InProgress = "InProgress",
49
+ Completed = "Completed"
50
+ }
51
+ export interface IGetQuests {
52
+ npcId?: string;
53
+ characterId?: string;
54
+ status?: QuestStatus;
55
+ }
56
+ export interface IQuestsResponse {
57
+ npcId?: string;
58
+ quests: IQuest[];
59
+ }
60
+ export interface IChooseQuest {
61
+ npcId: string;
62
+ questId: string;
63
+ }
64
+ export declare enum QuestSocketEvents {
65
+ Started = "Started",
66
+ Completed = "Completed",
67
+ GetQuests = "GetQuests",
68
+ ChooseQuest = "ChooseQuest"
69
+ }
70
+ export interface IQuestEventFromServer {
71
+ characterId: string;
72
+ npcId: string;
73
+ questId: string;
74
+ }
75
75
  //# sourceMappingURL=quest.types.d.ts.map
@@ -1,22 +1,22 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QuestSocketEvents = exports.QuestStatus = exports.QuestType = void 0;
4
- var QuestType;
5
- (function (QuestType) {
6
- QuestType["Kill"] = "Kill";
7
- QuestType["Interaction"] = "Interaction";
8
- })(QuestType = exports.QuestType || (exports.QuestType = {}));
9
- var QuestStatus;
10
- (function (QuestStatus) {
11
- QuestStatus["Pending"] = "Pending";
12
- QuestStatus["InProgress"] = "InProgress";
13
- QuestStatus["Completed"] = "Completed";
14
- })(QuestStatus = exports.QuestStatus || (exports.QuestStatus = {}));
15
- var QuestSocketEvents;
16
- (function (QuestSocketEvents) {
17
- QuestSocketEvents["Started"] = "Started";
18
- QuestSocketEvents["Completed"] = "Completed";
19
- QuestSocketEvents["GetQuests"] = "GetQuests";
20
- QuestSocketEvents["ChooseQuest"] = "ChooseQuest";
21
- })(QuestSocketEvents = exports.QuestSocketEvents || (exports.QuestSocketEvents = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QuestSocketEvents = exports.QuestStatus = exports.QuestType = void 0;
4
+ var QuestType;
5
+ (function (QuestType) {
6
+ QuestType["Kill"] = "Kill";
7
+ QuestType["Interaction"] = "Interaction";
8
+ })(QuestType = exports.QuestType || (exports.QuestType = {}));
9
+ var QuestStatus;
10
+ (function (QuestStatus) {
11
+ QuestStatus["Pending"] = "Pending";
12
+ QuestStatus["InProgress"] = "InProgress";
13
+ QuestStatus["Completed"] = "Completed";
14
+ })(QuestStatus = exports.QuestStatus || (exports.QuestStatus = {}));
15
+ var QuestSocketEvents;
16
+ (function (QuestSocketEvents) {
17
+ QuestSocketEvents["Started"] = "Started";
18
+ QuestSocketEvents["Completed"] = "Completed";
19
+ QuestSocketEvents["GetQuests"] = "GetQuests";
20
+ QuestSocketEvents["ChooseQuest"] = "ChooseQuest";
21
+ })(QuestSocketEvents = exports.QuestSocketEvents || (exports.QuestSocketEvents = {}));
22
22
  //# sourceMappingURL=quest.types.js.map
@@ -1,6 +1,6 @@
1
- export interface IResource {
2
- _id: string;
3
- createdAt?: string | Date;
4
- updatedAt?: string | Date;
5
- }
1
+ export interface IResource {
2
+ _id: string;
3
+ createdAt?: string | Date;
4
+ updatedAt?: string | Date;
5
+ }
6
6
  //# sourceMappingURL=resource.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=resource.types.js.map
@@ -1,9 +1,9 @@
1
- export interface ISceneData {
2
- key: string;
3
- }
4
- export declare const ScenesMetaData: {
5
- MainScene: {
6
- map: string;
7
- };
8
- };
1
+ export interface ISceneData {
2
+ key: string;
3
+ }
4
+ export declare const ScenesMetaData: {
5
+ MainScene: {
6
+ map: string;
7
+ };
8
+ };
9
9
  //# sourceMappingURL=scene.types.d.ts.map
@@ -1,9 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ScenesMetaData = void 0;
4
- exports.ScenesMetaData = {
5
- MainScene: {
6
- map: "another_map",
7
- },
8
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ScenesMetaData = void 0;
4
+ exports.ScenesMetaData = {
5
+ MainScene: {
6
+ map: "another_map",
7
+ },
8
+ };
9
9
  //# sourceMappingURL=scene.types.js.map
@@ -1,12 +1,12 @@
1
- import { IItem } from "./item.types";
2
- import { IRawSpell } from "./spell.types";
3
- export declare enum ShortcutType {
4
- Spell = 0,
5
- Item = 1,
6
- None = 2
7
- }
8
- export interface IShortcut {
9
- type: ShortcutType;
10
- payload: IRawSpell | IItem | null;
11
- }
1
+ import { IItem } from "./item.types";
2
+ import { IRawSpell } from "./spell.types";
3
+ export declare enum ShortcutType {
4
+ Spell = 0,
5
+ Item = 1,
6
+ None = 2
7
+ }
8
+ export interface IShortcut {
9
+ type: ShortcutType;
10
+ payload: IRawSpell | IItem | null;
11
+ }
12
12
  //# sourceMappingURL=shortcut.types.d.ts.map
@@ -1,10 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ShortcutType = void 0;
4
- var ShortcutType;
5
- (function (ShortcutType) {
6
- ShortcutType[ShortcutType["Spell"] = 0] = "Spell";
7
- ShortcutType[ShortcutType["Item"] = 1] = "Item";
8
- ShortcutType[ShortcutType["None"] = 2] = "None";
9
- })(ShortcutType = exports.ShortcutType || (exports.ShortcutType = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShortcutType = void 0;
4
+ var ShortcutType;
5
+ (function (ShortcutType) {
6
+ ShortcutType[ShortcutType["Spell"] = 0] = "Spell";
7
+ ShortcutType[ShortcutType["Item"] = 1] = "Item";
8
+ ShortcutType[ShortcutType["None"] = 2] = "None";
9
+ })(ShortcutType = exports.ShortcutType || (exports.ShortcutType = {}));
10
10
  //# sourceMappingURL=shortcut.types.js.map