@rpg-engine/shared 0.7.41 → 0.7.43

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 (217) hide show
  1. package/README.md +29 -29
  2. package/dist/constants/date.constants.d.ts +2 -2
  3. package/dist/constants/date.constants.d.ts.map +0 -0
  4. package/dist/constants/date.constants.js +5 -5
  5. package/dist/constants/date.constants.js.map +0 -0
  6. package/dist/constants/npc.constants.d.ts +1 -1
  7. package/dist/constants/npc.constants.d.ts.map +0 -0
  8. package/dist/constants/npc.constants.js +4 -4
  9. package/dist/constants/npc.constants.js.map +0 -0
  10. package/dist/constants/socket.constants.d.ts +2 -2
  11. package/dist/constants/socket.constants.d.ts.map +0 -0
  12. package/dist/constants/socket.constants.js +6 -6
  13. package/dist/constants/socket.constants.js.map +0 -0
  14. package/dist/constants/world.constants.d.ts +10 -10
  15. package/dist/constants/world.constants.d.ts.map +0 -0
  16. package/dist/constants/world.constants.js +13 -13
  17. package/dist/constants/world.constants.js.map +0 -0
  18. package/dist/helpers/deviceHelpers.d.ts +2 -2
  19. package/dist/helpers/deviceHelpers.js +16 -16
  20. package/dist/helpers/itemSlotHelper.d.ts +7 -7
  21. package/dist/helpers/itemSlotHelper.d.ts.map +0 -0
  22. package/dist/helpers/itemSlotHelper.js +27 -27
  23. package/dist/helpers/itemSlotHelper.js.map +0 -0
  24. package/dist/helpers/skillHelpers.d.ts +4 -4
  25. package/dist/helpers/skillHelpers.d.ts.map +0 -0
  26. package/dist/helpers/skillHelpers.js +25 -25
  27. package/dist/helpers/skillHelpers.js.map +0 -0
  28. package/dist/index.d.ts +50 -49
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +66 -65
  31. package/dist/index.js.map +1 -1
  32. package/dist/libs/GridHelper.d.ts +11 -11
  33. package/dist/libs/GridHelper.d.ts.map +0 -0
  34. package/dist/libs/GridHelper.js +37 -37
  35. package/dist/libs/GridHelper.js.map +0 -0
  36. package/dist/libs/MathHelper.d.ts +16 -16
  37. package/dist/libs/MathHelper.d.ts.map +0 -0
  38. package/dist/libs/MathHelper.js +14 -14
  39. package/dist/libs/MathHelper.js.map +0 -0
  40. package/dist/libs/SocketHelper.d.ts +2 -2
  41. package/dist/libs/SocketHelper.d.ts.map +0 -0
  42. package/dist/libs/SocketHelper.js +14 -14
  43. package/dist/libs/SocketHelper.js.map +0 -0
  44. package/dist/libs/TextHelper.d.ts +7 -7
  45. package/dist/libs/TextHelper.d.ts.map +0 -0
  46. package/dist/libs/TextHelper.js +21 -21
  47. package/dist/libs/TextHelper.js.map +0 -0
  48. package/dist/libs/TypeHelper.d.ts +3 -3
  49. package/dist/libs/TypeHelper.d.ts.map +0 -0
  50. package/dist/libs/TypeHelper.js +16 -16
  51. package/dist/libs/TypeHelper.js.map +0 -0
  52. package/dist/translations/app-rate.lang.json +38 -38
  53. package/dist/translations/assets.lang.json +82 -82
  54. package/dist/translations/auth.lang.json +182 -182
  55. package/dist/translations/email.lang.json +70 -70
  56. package/dist/translations/error.lang.json +18 -18
  57. package/dist/translations/form.lang.json +94 -94
  58. package/dist/translations/global.lang.json +90 -90
  59. package/dist/translations/logs.lang.json +6 -6
  60. package/dist/translations/onboarding.lang.d.ts +10 -10
  61. package/dist/translations/onboarding.lang.d.ts.map +0 -0
  62. package/dist/translations/onboarding.lang.js +21 -21
  63. package/dist/translations/onboarding.lang.js.map +0 -0
  64. package/dist/translations/onboarding.lang.json +50 -50
  65. package/dist/translations/order.lang.json +90 -90
  66. package/dist/translations/search.lang.json +50 -50
  67. package/dist/translations/settings.lang.json +14 -14
  68. package/dist/translations/tabs.lang.json +22 -22
  69. package/dist/translations/users.lang.json +22 -22
  70. package/dist/translations/validation.lang.json +86 -86
  71. package/dist/types/animation.types.d.ts +64 -64
  72. package/dist/types/animation.types.d.ts.map +0 -0
  73. package/dist/types/animation.types.js +41 -41
  74. package/dist/types/animation.types.js.map +0 -0
  75. package/dist/types/api.types.d.ts +21 -21
  76. package/dist/types/api.types.d.ts.map +0 -0
  77. package/dist/types/api.types.js +20 -20
  78. package/dist/types/api.types.js.map +0 -0
  79. package/dist/types/asset.types.d.ts +6 -6
  80. package/dist/types/asset.types.d.ts.map +0 -0
  81. package/dist/types/asset.types.js +2 -2
  82. package/dist/types/asset.types.js.map +0 -0
  83. package/dist/types/auth.types.d.ts +7 -7
  84. package/dist/types/auth.types.d.ts.map +0 -0
  85. package/dist/types/auth.types.js +2 -2
  86. package/dist/types/auth.types.js.map +0 -0
  87. package/dist/types/battle.types.d.ts +40 -40
  88. package/dist/types/battle.types.d.ts.map +0 -0
  89. package/dist/types/battle.types.js +18 -18
  90. package/dist/types/battle.types.js.map +0 -0
  91. package/dist/types/character.types.d.ts +197 -196
  92. package/dist/types/character.types.d.ts.map +1 -1
  93. package/dist/types/character.types.js +51 -51
  94. package/dist/types/character.types.js.map +0 -0
  95. package/dist/types/chat.types.d.ts +30 -30
  96. package/dist/types/chat.types.d.ts.map +0 -0
  97. package/dist/types/chat.types.js +14 -14
  98. package/dist/types/chat.types.js.map +0 -0
  99. package/dist/types/depot.types.d.ts +18 -18
  100. package/dist/types/depot.types.js +9 -9
  101. package/dist/types/device.types.d.ts +24 -24
  102. package/dist/types/device.types.d.ts.map +0 -0
  103. package/dist/types/device.types.js +7 -7
  104. package/dist/types/device.types.js.map +0 -0
  105. package/dist/types/entity.types.d.ts +30 -30
  106. package/dist/types/entity.types.d.ts.map +0 -0
  107. package/dist/types/entity.types.js +20 -20
  108. package/dist/types/entity.types.js.map +0 -0
  109. package/dist/types/env.types.d.ts +5 -5
  110. package/dist/types/env.types.d.ts.map +0 -0
  111. package/dist/types/env.types.js +9 -9
  112. package/dist/types/env.types.js.map +0 -0
  113. package/dist/types/equipment.types.d.ts +35 -35
  114. package/dist/types/equipment.types.d.ts.map +0 -0
  115. package/dist/types/equipment.types.js +18 -18
  116. package/dist/types/equipment.types.js.map +0 -0
  117. package/dist/types/googleOAuth.types.d.ts +47 -47
  118. package/dist/types/googleOAuth.types.d.ts.map +0 -0
  119. package/dist/types/googleOAuth.types.js +2 -2
  120. package/dist/types/googleOAuth.types.js.map +0 -0
  121. package/dist/types/inventory.types.d.ts +7 -7
  122. package/dist/types/inventory.types.d.ts.map +0 -0
  123. package/dist/types/inventory.types.js +2 -2
  124. package/dist/types/inventory.types.js.map +0 -0
  125. package/dist/types/item.types.d.ts +345 -345
  126. package/dist/types/item.types.d.ts.map +0 -0
  127. package/dist/types/item.types.js +155 -155
  128. package/dist/types/item.types.js.map +0 -0
  129. package/dist/types/itemContainer.types.d.ts +83 -83
  130. package/dist/types/itemContainer.types.d.ts.map +0 -0
  131. package/dist/types/itemContainer.types.js +11 -11
  132. package/dist/types/itemContainer.types.js.map +0 -0
  133. package/dist/types/macro.types.d.ts +9 -0
  134. package/dist/types/macro.types.d.ts.map +1 -0
  135. package/dist/types/macro.types.js +13 -0
  136. package/dist/types/macro.types.js.map +1 -0
  137. package/dist/types/maps.types.d.ts +82 -82
  138. package/dist/types/maps.types.d.ts.map +0 -0
  139. package/dist/types/maps.types.js +81 -81
  140. package/dist/types/maps.types.js.map +0 -0
  141. package/dist/types/notification.types.d.ts +14 -14
  142. package/dist/types/notification.types.d.ts.map +0 -0
  143. package/dist/types/notification.types.js +2 -2
  144. package/dist/types/notification.types.js.map +0 -0
  145. package/dist/types/npc.types.d.ts +151 -151
  146. package/dist/types/npc.types.d.ts.map +0 -0
  147. package/dist/types/npc.types.js +48 -48
  148. package/dist/types/npc.types.js.map +0 -0
  149. package/dist/types/pagination.types.d.ts +13 -13
  150. package/dist/types/pagination.types.d.ts.map +0 -0
  151. package/dist/types/pagination.types.js +2 -2
  152. package/dist/types/pagination.types.js.map +0 -0
  153. package/dist/types/places.types.d.ts +16 -16
  154. package/dist/types/places.types.d.ts.map +0 -0
  155. package/dist/types/places.types.js +9 -9
  156. package/dist/types/places.types.js.map +0 -0
  157. package/dist/types/preloadScene.types.d.ts +4 -4
  158. package/dist/types/preloadScene.types.d.ts.map +0 -0
  159. package/dist/types/preloadScene.types.js +7 -7
  160. package/dist/types/preloadScene.types.js.map +0 -0
  161. package/dist/types/quest.types.d.ts +74 -74
  162. package/dist/types/quest.types.d.ts.map +0 -0
  163. package/dist/types/quest.types.js +21 -21
  164. package/dist/types/quest.types.js.map +0 -0
  165. package/dist/types/resource.types.d.ts +5 -5
  166. package/dist/types/resource.types.d.ts.map +0 -0
  167. package/dist/types/resource.types.js +2 -2
  168. package/dist/types/resource.types.js.map +0 -0
  169. package/dist/types/scene.types.d.ts +8 -8
  170. package/dist/types/scene.types.d.ts.map +0 -0
  171. package/dist/types/scene.types.js +8 -8
  172. package/dist/types/scene.types.js.map +0 -0
  173. package/dist/types/shortcut.types.d.ts +11 -11
  174. package/dist/types/shortcut.types.js +9 -9
  175. package/dist/types/skills.types.d.ts +141 -141
  176. package/dist/types/skills.types.d.ts.map +0 -0
  177. package/dist/types/skills.types.js +105 -105
  178. package/dist/types/skills.types.js.map +0 -0
  179. package/dist/types/socket.types.d.ts +17 -17
  180. package/dist/types/socket.types.d.ts.map +0 -0
  181. package/dist/types/socket.types.js +8 -8
  182. package/dist/types/socket.types.js.map +0 -0
  183. package/dist/types/spell.types.d.ts +24 -24
  184. package/dist/types/spell.types.js +9 -9
  185. package/dist/types/tiled.types.d.ts +119 -119
  186. package/dist/types/tiled.types.d.ts.map +0 -0
  187. package/dist/types/tiled.types.js +7 -7
  188. package/dist/types/tiled.types.js.map +0 -0
  189. package/dist/types/trade.types.d.ts +38 -38
  190. package/dist/types/trade.types.d.ts.map +0 -0
  191. package/dist/types/trade.types.js +8 -8
  192. package/dist/types/trade.types.js.map +0 -0
  193. package/dist/types/translation.types.d.ts +5 -5
  194. package/dist/types/translation.types.d.ts.map +0 -0
  195. package/dist/types/translation.types.js +8 -8
  196. package/dist/types/translation.types.js.map +0 -0
  197. package/dist/types/ui.types.d.ts +8 -8
  198. package/dist/types/ui.types.d.ts.map +0 -0
  199. package/dist/types/ui.types.js +7 -7
  200. package/dist/types/ui.types.js.map +0 -0
  201. package/dist/types/useWith.types.d.ts +25 -25
  202. package/dist/types/useWith.types.d.ts.map +0 -0
  203. package/dist/types/useWith.types.js +9 -9
  204. package/dist/types/useWith.types.js.map +0 -0
  205. package/dist/types/user.types.d.ts +101 -101
  206. package/dist/types/user.types.d.ts.map +0 -0
  207. package/dist/types/user.types.js +38 -38
  208. package/dist/types/user.types.js.map +0 -0
  209. package/dist/types/validation.types.d.ts +9 -9
  210. package/dist/types/validation.types.d.ts.map +0 -0
  211. package/dist/types/validation.types.js +2 -2
  212. package/dist/types/validation.types.js.map +0 -0
  213. package/dist/types/view.types.d.ts +14 -14
  214. package/dist/types/view.types.d.ts.map +0 -0
  215. package/dist/types/view.types.js +7 -7
  216. package/dist/types/view.types.js.map +0 -0
  217. package/package.json +43 -43
@@ -1,65 +1,65 @@
1
- export interface IEntityAnimation {
2
- movement: IEntityMovementAnimation;
3
- death: IEntityDeathAnimation;
4
- }
5
- export declare type AnimationDirection = "down" | "up" | "left" | "right";
6
- export interface IEntityDeathAnimation {
7
- [direction: string]: {
8
- frames: number[];
9
- };
10
- }
11
- export interface IEntityMovementAnimation {
12
- [direction: string]: {
13
- walking: number[];
14
- standing: number | number[];
15
- };
16
- }
17
- export interface IAnimationEffect {
18
- targetId?: string;
19
- targetX?: number;
20
- targetY?: number;
21
- effectKey: string;
22
- }
23
- export interface IProjectileAnimationEffect {
24
- sourceId: string;
25
- targetId: string;
26
- projectileEffectKey: string;
27
- effectKey?: string;
28
- }
29
- export declare enum AnimationSocketEvents {
30
- ShowAnimation = "ShowAnimation",
31
- ShowProjectileAnimation = "ShowProjectileAnimation"
32
- }
33
- export declare enum AnimationEffectKeys {
34
- LevelUp = "level-up",
35
- LifeHeal = "life-heal",
36
- ManaHeal = "mana-heal",
37
- SkillLevelUp = "new-skill",
38
- Poison = "poison",
39
- Burn = "burn",
40
- Freeze = "freeze",
41
- Holy = "holy",
42
- Lifedrain = "lifedrain",
43
- Rooted = "rooted",
44
- HitEnergy = "hit-energy",
45
- MagicShield = "magic-shield",
46
- PhysicalShield = "physical-shield",
47
- HasteSpell = "haste",
48
- Hit = "hit",
49
- HitBlue = "hit-blue",
50
- HitDark = "hit-dark",
51
- HitFire = "hit-fire",
52
- HitHeal = "hit-heal",
53
- HitPoison = "hit-poison",
54
- HitCorruption = "hit-corruption",
55
- Blue = "blue",
56
- Green = "green",
57
- Red = "red",
58
- Energy = "energy",
59
- Dark = "dark",
60
- FireBall = "fireball",
61
- Arrow = "arrow",
62
- Heal = "heal",
63
- Corruption = "corruption"
64
- }
1
+ export interface IEntityAnimation {
2
+ movement: IEntityMovementAnimation;
3
+ death: IEntityDeathAnimation;
4
+ }
5
+ export declare type AnimationDirection = "down" | "up" | "left" | "right";
6
+ export interface IEntityDeathAnimation {
7
+ [direction: string]: {
8
+ frames: number[];
9
+ };
10
+ }
11
+ export interface IEntityMovementAnimation {
12
+ [direction: string]: {
13
+ walking: number[];
14
+ standing: number | number[];
15
+ };
16
+ }
17
+ export interface IAnimationEffect {
18
+ targetId?: string;
19
+ targetX?: number;
20
+ targetY?: number;
21
+ effectKey: string;
22
+ }
23
+ export interface IProjectileAnimationEffect {
24
+ sourceId: string;
25
+ targetId: string;
26
+ projectileEffectKey: string;
27
+ effectKey?: string;
28
+ }
29
+ export declare enum AnimationSocketEvents {
30
+ ShowAnimation = "ShowAnimation",
31
+ ShowProjectileAnimation = "ShowProjectileAnimation"
32
+ }
33
+ export declare enum AnimationEffectKeys {
34
+ LevelUp = "level-up",
35
+ LifeHeal = "life-heal",
36
+ ManaHeal = "mana-heal",
37
+ SkillLevelUp = "new-skill",
38
+ Poison = "poison",
39
+ Burn = "burn",
40
+ Freeze = "freeze",
41
+ Holy = "holy",
42
+ Lifedrain = "lifedrain",
43
+ Rooted = "rooted",
44
+ HitEnergy = "hit-energy",
45
+ MagicShield = "magic-shield",
46
+ PhysicalShield = "physical-shield",
47
+ HasteSpell = "haste",
48
+ Hit = "hit",
49
+ HitBlue = "hit-blue",
50
+ HitDark = "hit-dark",
51
+ HitFire = "hit-fire",
52
+ HitHeal = "hit-heal",
53
+ HitPoison = "hit-poison",
54
+ HitCorruption = "hit-corruption",
55
+ Blue = "blue",
56
+ Green = "green",
57
+ Red = "red",
58
+ Energy = "energy",
59
+ Dark = "dark",
60
+ FireBall = "fireball",
61
+ Arrow = "arrow",
62
+ Heal = "heal",
63
+ Corruption = "corruption"
64
+ }
65
65
  //# sourceMappingURL=animation.types.d.ts.map
File without changes
@@ -1,42 +1,42 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AnimationEffectKeys = exports.AnimationSocketEvents = void 0;
4
- var AnimationSocketEvents;
5
- (function (AnimationSocketEvents) {
6
- AnimationSocketEvents["ShowAnimation"] = "ShowAnimation";
7
- AnimationSocketEvents["ShowProjectileAnimation"] = "ShowProjectileAnimation";
8
- })(AnimationSocketEvents = exports.AnimationSocketEvents || (exports.AnimationSocketEvents = {}));
9
- var AnimationEffectKeys;
10
- (function (AnimationEffectKeys) {
11
- AnimationEffectKeys["LevelUp"] = "level-up";
12
- AnimationEffectKeys["LifeHeal"] = "life-heal";
13
- AnimationEffectKeys["ManaHeal"] = "mana-heal";
14
- AnimationEffectKeys["SkillLevelUp"] = "new-skill";
15
- AnimationEffectKeys["Poison"] = "poison";
16
- AnimationEffectKeys["Burn"] = "burn";
17
- AnimationEffectKeys["Freeze"] = "freeze";
18
- AnimationEffectKeys["Holy"] = "holy";
19
- AnimationEffectKeys["Lifedrain"] = "lifedrain";
20
- AnimationEffectKeys["Rooted"] = "rooted";
21
- AnimationEffectKeys["HitEnergy"] = "hit-energy";
22
- AnimationEffectKeys["MagicShield"] = "magic-shield";
23
- AnimationEffectKeys["PhysicalShield"] = "physical-shield";
24
- AnimationEffectKeys["HasteSpell"] = "haste";
25
- AnimationEffectKeys["Hit"] = "hit";
26
- AnimationEffectKeys["HitBlue"] = "hit-blue";
27
- AnimationEffectKeys["HitDark"] = "hit-dark";
28
- AnimationEffectKeys["HitFire"] = "hit-fire";
29
- AnimationEffectKeys["HitHeal"] = "hit-heal";
30
- AnimationEffectKeys["HitPoison"] = "hit-poison";
31
- AnimationEffectKeys["HitCorruption"] = "hit-corruption";
32
- AnimationEffectKeys["Blue"] = "blue";
33
- AnimationEffectKeys["Green"] = "green";
34
- AnimationEffectKeys["Red"] = "red";
35
- AnimationEffectKeys["Energy"] = "energy";
36
- AnimationEffectKeys["Dark"] = "dark";
37
- AnimationEffectKeys["FireBall"] = "fireball";
38
- AnimationEffectKeys["Arrow"] = "arrow";
39
- AnimationEffectKeys["Heal"] = "heal";
40
- AnimationEffectKeys["Corruption"] = "corruption";
41
- })(AnimationEffectKeys = exports.AnimationEffectKeys || (exports.AnimationEffectKeys = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AnimationEffectKeys = exports.AnimationSocketEvents = void 0;
4
+ var AnimationSocketEvents;
5
+ (function (AnimationSocketEvents) {
6
+ AnimationSocketEvents["ShowAnimation"] = "ShowAnimation";
7
+ AnimationSocketEvents["ShowProjectileAnimation"] = "ShowProjectileAnimation";
8
+ })(AnimationSocketEvents = exports.AnimationSocketEvents || (exports.AnimationSocketEvents = {}));
9
+ var AnimationEffectKeys;
10
+ (function (AnimationEffectKeys) {
11
+ AnimationEffectKeys["LevelUp"] = "level-up";
12
+ AnimationEffectKeys["LifeHeal"] = "life-heal";
13
+ AnimationEffectKeys["ManaHeal"] = "mana-heal";
14
+ AnimationEffectKeys["SkillLevelUp"] = "new-skill";
15
+ AnimationEffectKeys["Poison"] = "poison";
16
+ AnimationEffectKeys["Burn"] = "burn";
17
+ AnimationEffectKeys["Freeze"] = "freeze";
18
+ AnimationEffectKeys["Holy"] = "holy";
19
+ AnimationEffectKeys["Lifedrain"] = "lifedrain";
20
+ AnimationEffectKeys["Rooted"] = "rooted";
21
+ AnimationEffectKeys["HitEnergy"] = "hit-energy";
22
+ AnimationEffectKeys["MagicShield"] = "magic-shield";
23
+ AnimationEffectKeys["PhysicalShield"] = "physical-shield";
24
+ AnimationEffectKeys["HasteSpell"] = "haste";
25
+ AnimationEffectKeys["Hit"] = "hit";
26
+ AnimationEffectKeys["HitBlue"] = "hit-blue";
27
+ AnimationEffectKeys["HitDark"] = "hit-dark";
28
+ AnimationEffectKeys["HitFire"] = "hit-fire";
29
+ AnimationEffectKeys["HitHeal"] = "hit-heal";
30
+ AnimationEffectKeys["HitPoison"] = "hit-poison";
31
+ AnimationEffectKeys["HitCorruption"] = "hit-corruption";
32
+ AnimationEffectKeys["Blue"] = "blue";
33
+ AnimationEffectKeys["Green"] = "green";
34
+ AnimationEffectKeys["Red"] = "red";
35
+ AnimationEffectKeys["Energy"] = "energy";
36
+ AnimationEffectKeys["Dark"] = "dark";
37
+ AnimationEffectKeys["FireBall"] = "fireball";
38
+ AnimationEffectKeys["Arrow"] = "arrow";
39
+ AnimationEffectKeys["Heal"] = "heal";
40
+ AnimationEffectKeys["Corruption"] = "corruption";
41
+ })(AnimationEffectKeys = exports.AnimationEffectKeys || (exports.AnimationEffectKeys = {}));
42
42
  //# sourceMappingURL=animation.types.js.map
File without changes
@@ -1,22 +1,22 @@
1
- export interface IAPIError {
2
- statusCode: number;
3
- message: string[] | string;
4
- error: string;
5
- }
6
- export declare enum HttpStatus {
7
- OK = 200,
8
- Created = 201,
9
- NoContent = 204,
10
- PermanentRedirect = 301,
11
- TemporaryRedirect = 302,
12
- BadRequest = 400,
13
- Unauthorized = 401,
14
- Forbidden = 403,
15
- NotFound = 404,
16
- MethodNotAllowed = 405,
17
- Conflict = 409,
18
- UnprocessableEntity = 422,
19
- InternalServerError = 500,
20
- ServiceUnavailable = 503
21
- }
1
+ export interface IAPIError {
2
+ statusCode: number;
3
+ message: string[] | string;
4
+ error: string;
5
+ }
6
+ export declare enum HttpStatus {
7
+ OK = 200,
8
+ Created = 201,
9
+ NoContent = 204,
10
+ PermanentRedirect = 301,
11
+ TemporaryRedirect = 302,
12
+ BadRequest = 400,
13
+ Unauthorized = 401,
14
+ Forbidden = 403,
15
+ NotFound = 404,
16
+ MethodNotAllowed = 405,
17
+ Conflict = 409,
18
+ UnprocessableEntity = 422,
19
+ InternalServerError = 500,
20
+ ServiceUnavailable = 503
21
+ }
22
22
  //# sourceMappingURL=api.types.d.ts.map
File without changes
@@ -1,21 +1,21 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HttpStatus = void 0;
4
- var HttpStatus;
5
- (function (HttpStatus) {
6
- HttpStatus[HttpStatus["OK"] = 200] = "OK";
7
- HttpStatus[HttpStatus["Created"] = 201] = "Created";
8
- HttpStatus[HttpStatus["NoContent"] = 204] = "NoContent";
9
- HttpStatus[HttpStatus["PermanentRedirect"] = 301] = "PermanentRedirect";
10
- HttpStatus[HttpStatus["TemporaryRedirect"] = 302] = "TemporaryRedirect";
11
- HttpStatus[HttpStatus["BadRequest"] = 400] = "BadRequest";
12
- HttpStatus[HttpStatus["Unauthorized"] = 401] = "Unauthorized";
13
- HttpStatus[HttpStatus["Forbidden"] = 403] = "Forbidden";
14
- HttpStatus[HttpStatus["NotFound"] = 404] = "NotFound";
15
- HttpStatus[HttpStatus["MethodNotAllowed"] = 405] = "MethodNotAllowed";
16
- HttpStatus[HttpStatus["Conflict"] = 409] = "Conflict";
17
- HttpStatus[HttpStatus["UnprocessableEntity"] = 422] = "UnprocessableEntity";
18
- HttpStatus[HttpStatus["InternalServerError"] = 500] = "InternalServerError";
19
- HttpStatus[HttpStatus["ServiceUnavailable"] = 503] = "ServiceUnavailable";
20
- })(HttpStatus = exports.HttpStatus || (exports.HttpStatus = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HttpStatus = void 0;
4
+ var HttpStatus;
5
+ (function (HttpStatus) {
6
+ HttpStatus[HttpStatus["OK"] = 200] = "OK";
7
+ HttpStatus[HttpStatus["Created"] = 201] = "Created";
8
+ HttpStatus[HttpStatus["NoContent"] = 204] = "NoContent";
9
+ HttpStatus[HttpStatus["PermanentRedirect"] = 301] = "PermanentRedirect";
10
+ HttpStatus[HttpStatus["TemporaryRedirect"] = 302] = "TemporaryRedirect";
11
+ HttpStatus[HttpStatus["BadRequest"] = 400] = "BadRequest";
12
+ HttpStatus[HttpStatus["Unauthorized"] = 401] = "Unauthorized";
13
+ HttpStatus[HttpStatus["Forbidden"] = 403] = "Forbidden";
14
+ HttpStatus[HttpStatus["NotFound"] = 404] = "NotFound";
15
+ HttpStatus[HttpStatus["MethodNotAllowed"] = 405] = "MethodNotAllowed";
16
+ HttpStatus[HttpStatus["Conflict"] = 409] = "Conflict";
17
+ HttpStatus[HttpStatus["UnprocessableEntity"] = 422] = "UnprocessableEntity";
18
+ HttpStatus[HttpStatus["InternalServerError"] = 500] = "InternalServerError";
19
+ HttpStatus[HttpStatus["ServiceUnavailable"] = 503] = "ServiceUnavailable";
20
+ })(HttpStatus = exports.HttpStatus || (exports.HttpStatus = {}));
21
21
  //# sourceMappingURL=api.types.js.map
File without changes
@@ -1,7 +1,7 @@
1
- import { IEntityMovementAnimation } from "./animation.types";
2
- export interface IAssetData {
3
- textureKey: string;
4
- path: string;
5
- animations: IEntityMovementAnimation;
6
- }
1
+ import { IEntityMovementAnimation } from "./animation.types";
2
+ export interface IAssetData {
3
+ textureKey: string;
4
+ path: string;
5
+ animations: IEntityMovementAnimation;
6
+ }
7
7
  //# sourceMappingURL=asset.types.d.ts.map
File without changes
@@ -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=asset.types.js.map
File without changes
@@ -1,8 +1,8 @@
1
- export interface IAuthResponse {
2
- accessToken: string;
3
- refreshToken: string;
4
- }
5
- export interface IAuthRefreshTokenResponse {
6
- accessToken: string;
7
- }
1
+ export interface IAuthResponse {
2
+ accessToken: string;
3
+ refreshToken: string;
4
+ }
5
+ export interface IAuthRefreshTokenResponse {
6
+ accessToken: string;
7
+ }
8
8
  //# sourceMappingURL=auth.types.d.ts.map
File without changes
@@ -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=auth.types.js.map
File without changes
@@ -1,41 +1,41 @@
1
- import { EntityType } from "./entity.types";
2
- export declare enum BattleSocketEvents {
3
- InitTargeting = "InitTargeting",
4
- StopTargeting = "StopTargeting",
5
- CancelTargeting = "CancelTargeting",
6
- BattleEvent = "BattleEvent",
7
- BattleDeath = "BattleDeath",
8
- RangedAttackFailure = "RangedAttackFailure"
9
- }
10
- export declare enum BattleEventType {
11
- Miss = "Miss",
12
- Block = "Block",
13
- Hit = "Hit"
14
- }
15
- export interface IBattleEventFromServer {
16
- attackerId: string;
17
- attackerType: "Character" | "NPC";
18
- targetId: string;
19
- targetType: "Character" | "NPC";
20
- eventType: BattleEventType;
21
- totalDamage?: number;
22
- postDamageTargetHP?: number;
23
- level?: number;
24
- skill?: string;
25
- }
26
- export interface IBattleDeath {
27
- id: string;
28
- type: "Character" | "NPC";
29
- }
30
- export interface IBattleInitTargeting {
31
- targetId: string;
32
- type: EntityType;
33
- }
34
- export interface IBattleCancelTargeting {
35
- targetId: string;
36
- type: EntityType;
37
- reason?: string;
38
- }
39
- export interface IBattleRangedAttackFailed extends IBattleCancelTargeting {
40
- }
1
+ import { EntityType } from "./entity.types";
2
+ export declare enum BattleSocketEvents {
3
+ InitTargeting = "InitTargeting",
4
+ StopTargeting = "StopTargeting",
5
+ CancelTargeting = "CancelTargeting",
6
+ BattleEvent = "BattleEvent",
7
+ BattleDeath = "BattleDeath",
8
+ RangedAttackFailure = "RangedAttackFailure"
9
+ }
10
+ export declare enum BattleEventType {
11
+ Miss = "Miss",
12
+ Block = "Block",
13
+ Hit = "Hit"
14
+ }
15
+ export interface IBattleEventFromServer {
16
+ attackerId: string;
17
+ attackerType: "Character" | "NPC";
18
+ targetId: string;
19
+ targetType: "Character" | "NPC";
20
+ eventType: BattleEventType;
21
+ totalDamage?: number;
22
+ postDamageTargetHP?: number;
23
+ level?: number;
24
+ skill?: string;
25
+ }
26
+ export interface IBattleDeath {
27
+ id: string;
28
+ type: "Character" | "NPC";
29
+ }
30
+ export interface IBattleInitTargeting {
31
+ targetId: string;
32
+ type: EntityType;
33
+ }
34
+ export interface IBattleCancelTargeting {
35
+ targetId: string;
36
+ type: EntityType;
37
+ reason?: string;
38
+ }
39
+ export interface IBattleRangedAttackFailed extends IBattleCancelTargeting {
40
+ }
41
41
  //# sourceMappingURL=battle.types.d.ts.map
File without changes
@@ -1,19 +1,19 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BattleEventType = exports.BattleSocketEvents = void 0;
4
- var BattleSocketEvents;
5
- (function (BattleSocketEvents) {
6
- BattleSocketEvents["InitTargeting"] = "InitTargeting";
7
- BattleSocketEvents["StopTargeting"] = "StopTargeting";
8
- BattleSocketEvents["CancelTargeting"] = "CancelTargeting";
9
- BattleSocketEvents["BattleEvent"] = "BattleEvent";
10
- BattleSocketEvents["BattleDeath"] = "BattleDeath";
11
- BattleSocketEvents["RangedAttackFailure"] = "RangedAttackFailure";
12
- })(BattleSocketEvents = exports.BattleSocketEvents || (exports.BattleSocketEvents = {}));
13
- var BattleEventType;
14
- (function (BattleEventType) {
15
- BattleEventType["Miss"] = "Miss";
16
- BattleEventType["Block"] = "Block";
17
- BattleEventType["Hit"] = "Hit";
18
- })(BattleEventType = exports.BattleEventType || (exports.BattleEventType = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BattleEventType = exports.BattleSocketEvents = void 0;
4
+ var BattleSocketEvents;
5
+ (function (BattleSocketEvents) {
6
+ BattleSocketEvents["InitTargeting"] = "InitTargeting";
7
+ BattleSocketEvents["StopTargeting"] = "StopTargeting";
8
+ BattleSocketEvents["CancelTargeting"] = "CancelTargeting";
9
+ BattleSocketEvents["BattleEvent"] = "BattleEvent";
10
+ BattleSocketEvents["BattleDeath"] = "BattleDeath";
11
+ BattleSocketEvents["RangedAttackFailure"] = "RangedAttackFailure";
12
+ })(BattleSocketEvents = exports.BattleSocketEvents || (exports.BattleSocketEvents = {}));
13
+ var BattleEventType;
14
+ (function (BattleEventType) {
15
+ BattleEventType["Miss"] = "Miss";
16
+ BattleEventType["Block"] = "Block";
17
+ BattleEventType["Hit"] = "Hit";
18
+ })(BattleEventType = exports.BattleEventType || (exports.BattleEventType = {}));
19
19
  //# sourceMappingURL=battle.types.js.map
File without changes