@rpg-engine/shared 0.2.30 → 0.2.31

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 (164) hide show
  1. package/dist/constants/npc.constants.d.ts +2 -0
  2. package/dist/constants/npc.constants.d.ts.map +1 -0
  3. package/dist/constants/npc.constants.js +5 -0
  4. package/dist/constants/npc.constants.js.map +1 -0
  5. package/dist/constants/socket.constants.d.ts +3 -0
  6. package/dist/constants/socket.constants.d.ts.map +1 -0
  7. package/dist/constants/socket.constants.js +7 -0
  8. package/dist/constants/socket.constants.js.map +1 -0
  9. package/dist/constants/world.constants.d.ts +11 -0
  10. package/dist/constants/world.constants.d.ts.map +1 -0
  11. package/dist/constants/world.constants.js +14 -0
  12. package/dist/constants/world.constants.js.map +1 -0
  13. package/dist/index.d.ts +33 -0
  14. package/dist/index.d.ts.map +1 -0
  15. package/dist/index.js +49 -0
  16. package/dist/index.js.map +1 -0
  17. package/dist/libs/GridHelper.d.ts +12 -0
  18. package/dist/libs/GridHelper.d.ts.map +1 -0
  19. package/dist/libs/GridHelper.js +38 -0
  20. package/dist/libs/GridHelper.js.map +1 -0
  21. package/dist/libs/MathHelper.d.ts +17 -0
  22. package/dist/libs/MathHelper.d.ts.map +1 -0
  23. package/dist/libs/MathHelper.js +15 -0
  24. package/dist/libs/MathHelper.js.map +1 -0
  25. package/dist/libs/SocketHelper.d.ts +3 -0
  26. package/dist/libs/SocketHelper.d.ts.map +1 -0
  27. package/dist/libs/SocketHelper.js +15 -0
  28. package/dist/libs/SocketHelper.js.map +1 -0
  29. package/dist/libs/TextHelper.d.ts +8 -0
  30. package/dist/libs/TextHelper.d.ts.map +1 -0
  31. package/dist/libs/TextHelper.js +22 -0
  32. package/dist/libs/TextHelper.js.map +1 -0
  33. package/dist/libs/TypeHelper.d.ts +4 -0
  34. package/dist/libs/TypeHelper.d.ts.map +1 -0
  35. package/dist/libs/TypeHelper.js +17 -0
  36. package/dist/libs/TypeHelper.js.map +1 -0
  37. package/dist/translations/app-rate.lang.json +38 -0
  38. package/dist/translations/assets.lang.json +82 -0
  39. package/dist/translations/auth.lang.json +182 -0
  40. package/dist/translations/email.lang.json +70 -0
  41. package/dist/translations/error.lang.json +18 -0
  42. package/dist/translations/form.lang.json +94 -0
  43. package/dist/translations/global.lang.json +90 -0
  44. package/dist/translations/logs.lang.json +6 -0
  45. package/dist/translations/onboarding.lang.d.ts +11 -0
  46. package/dist/translations/onboarding.lang.d.ts.map +1 -0
  47. package/dist/translations/onboarding.lang.js +22 -0
  48. package/dist/translations/onboarding.lang.js.map +1 -0
  49. package/dist/translations/onboarding.lang.json +50 -0
  50. package/dist/translations/order.lang.json +90 -0
  51. package/dist/translations/search.lang.json +50 -0
  52. package/dist/translations/settings.lang.json +14 -0
  53. package/dist/translations/tabs.lang.json +22 -0
  54. package/dist/translations/users.lang.json +22 -0
  55. package/dist/translations/validation.lang.json +86 -0
  56. package/dist/types/animation.types.d.ts +8 -0
  57. package/dist/types/animation.types.d.ts.map +1 -0
  58. package/dist/types/animation.types.js +3 -0
  59. package/dist/types/animation.types.js.map +1 -0
  60. package/dist/types/api.types.d.ts +22 -0
  61. package/dist/types/api.types.d.ts.map +1 -0
  62. package/dist/types/api.types.js +21 -0
  63. package/dist/types/api.types.js.map +1 -0
  64. package/dist/types/asset.types.d.ts +7 -0
  65. package/dist/types/asset.types.d.ts.map +1 -0
  66. package/dist/types/asset.types.js +3 -0
  67. package/dist/types/asset.types.js.map +1 -0
  68. package/dist/types/auth.types.d.ts +8 -0
  69. package/dist/types/auth.types.d.ts.map +1 -0
  70. package/dist/types/auth.types.js +3 -0
  71. package/dist/types/auth.types.js.map +1 -0
  72. package/dist/types/battle.types.d.ts +23 -0
  73. package/dist/types/battle.types.d.ts.map +1 -0
  74. package/dist/types/battle.types.js +18 -0
  75. package/dist/types/battle.types.js.map +1 -0
  76. package/dist/types/character.types.d.ts +119 -0
  77. package/dist/types/character.types.d.ts.map +1 -0
  78. package/dist/types/character.types.js +30 -0
  79. package/dist/types/character.types.js.map +1 -0
  80. package/dist/types/chat.types.d.ts +5 -0
  81. package/dist/types/chat.types.d.ts.map +1 -0
  82. package/dist/types/chat.types.js +9 -0
  83. package/dist/types/chat.types.js.map +1 -0
  84. package/dist/types/device.types.d.ts +25 -0
  85. package/dist/types/device.types.d.ts.map +1 -0
  86. package/dist/types/device.types.js +8 -0
  87. package/dist/types/device.types.js.map +1 -0
  88. package/dist/types/entity.types.d.ts +13 -0
  89. package/dist/types/entity.types.d.ts.map +1 -0
  90. package/dist/types/entity.types.js +9 -0
  91. package/dist/types/entity.types.js.map +1 -0
  92. package/dist/types/env.types.d.ts +6 -0
  93. package/dist/types/env.types.d.ts.map +1 -0
  94. package/dist/types/env.types.js +10 -0
  95. package/dist/types/env.types.js.map +1 -0
  96. package/dist/types/googleOAuth.types.d.ts +48 -0
  97. package/dist/types/googleOAuth.types.d.ts.map +1 -0
  98. package/dist/types/googleOAuth.types.js +3 -0
  99. package/dist/types/googleOAuth.types.js.map +1 -0
  100. package/dist/types/maps.types.d.ts +17 -0
  101. package/dist/types/maps.types.d.ts.map +1 -0
  102. package/dist/types/maps.types.js +11 -0
  103. package/dist/types/maps.types.js.map +1 -0
  104. package/dist/types/notification.types.d.ts +15 -0
  105. package/dist/types/notification.types.d.ts.map +1 -0
  106. package/dist/types/notification.types.js +3 -0
  107. package/dist/types/notification.types.js.map +1 -0
  108. package/dist/types/npc.types.d.ts +98 -0
  109. package/dist/types/npc.types.d.ts.map +1 -0
  110. package/dist/types/npc.types.js +42 -0
  111. package/dist/types/npc.types.js.map +1 -0
  112. package/dist/types/npcMetadata.types.d.ts +7 -0
  113. package/dist/types/npcMetadata.types.d.ts.map +1 -0
  114. package/dist/types/npcMetadata.types.js +20 -0
  115. package/dist/types/npcMetadata.types.js.map +1 -0
  116. package/dist/types/pagination.types.d.ts +14 -0
  117. package/dist/types/pagination.types.d.ts.map +1 -0
  118. package/dist/types/pagination.types.js +3 -0
  119. package/dist/types/pagination.types.js.map +1 -0
  120. package/dist/types/places.types.d.ts +17 -0
  121. package/dist/types/places.types.d.ts.map +1 -0
  122. package/dist/types/places.types.js +10 -0
  123. package/dist/types/places.types.js.map +1 -0
  124. package/dist/types/player.types.d.ts +49 -0
  125. package/dist/types/player.types.d.ts.map +1 -0
  126. package/dist/types/player.types.js +14 -0
  127. package/dist/types/player.types.js.map +1 -0
  128. package/dist/types/preloadScene.types.d.ts +5 -0
  129. package/dist/types/preloadScene.types.d.ts.map +1 -0
  130. package/dist/types/preloadScene.types.js +8 -0
  131. package/dist/types/preloadScene.types.js.map +1 -0
  132. package/dist/types/resource.types.d.ts +6 -0
  133. package/dist/types/resource.types.d.ts.map +1 -0
  134. package/dist/types/resource.types.js +3 -0
  135. package/dist/types/resource.types.js.map +1 -0
  136. package/dist/types/scene.types.d.ts +9 -0
  137. package/dist/types/scene.types.d.ts.map +1 -0
  138. package/dist/types/scene.types.js +9 -0
  139. package/dist/types/scene.types.js.map +1 -0
  140. package/dist/types/skills.types.d.ts +25 -0
  141. package/dist/types/skills.types.d.ts.map +1 -0
  142. package/dist/types/skills.types.js +3 -0
  143. package/dist/types/skills.types.js.map +1 -0
  144. package/dist/types/socket.types.d.ts +18 -0
  145. package/dist/types/socket.types.d.ts.map +1 -0
  146. package/dist/types/socket.types.js +9 -0
  147. package/dist/types/socket.types.js.map +1 -0
  148. package/dist/types/tiled.types.d.ts +108 -0
  149. package/dist/types/tiled.types.d.ts.map +1 -0
  150. package/dist/types/tiled.types.js +14 -0
  151. package/dist/types/tiled.types.js.map +1 -0
  152. package/dist/types/translation.types.d.ts +6 -0
  153. package/dist/types/translation.types.d.ts.map +1 -0
  154. package/dist/types/translation.types.js +9 -0
  155. package/dist/types/translation.types.js.map +1 -0
  156. package/dist/types/user.types.d.ts +97 -0
  157. package/dist/types/user.types.d.ts.map +1 -0
  158. package/dist/types/user.types.js +39 -0
  159. package/dist/types/user.types.js.map +1 -0
  160. package/dist/types/validation.types.d.ts +10 -0
  161. package/dist/types/validation.types.d.ts.map +1 -0
  162. package/dist/types/validation.types.js +3 -0
  163. package/dist/types/validation.types.js.map +1 -0
  164. package/package.json +1 -1
@@ -0,0 +1,50 @@
1
+ {
2
+ "search": {
3
+ "eng": "Search",
4
+ "ptBr": "Pesquisar"
5
+ },
6
+ "searchPlaceholder": {
7
+ "eng": "Search by company or ticker",
8
+ "ptBr": "Pesquise a companhia ou ticker"
9
+ },
10
+ "sortBy": {
11
+ "eng": "Sort by",
12
+ "ptBr": "Ordenar por"
13
+ },
14
+ "resultsFound": {
15
+ "eng": "results found",
16
+ "ptBr": "resultados encontrados"
17
+ },
18
+ "first15": {
19
+ "eng": "First 15 results found",
20
+ "ptBr": "15 primeiros resultados encontrados"
21
+ },
22
+ "noResult": {
23
+ "eng": "No result found",
24
+ "ptBr": "Nenhum resultado encontrado"
25
+ },
26
+ "oneResult": {
27
+ "eng": "One result found",
28
+ "ptBr": "Um resultado encontrado"
29
+ },
30
+ "countrySortBy": {
31
+ "eng": "Country",
32
+ "ptBr": "País"
33
+ },
34
+ "nameSortBy": {
35
+ "eng": "Company Name",
36
+ "ptBr": "Nome da Companhia"
37
+ },
38
+ "tickerSortBy": {
39
+ "eng": "Ticker",
40
+ "ptBr": "Ticker"
41
+ },
42
+ "typeSortBy": {
43
+ "eng": "Type",
44
+ "ptBr": "Tipo"
45
+ },
46
+ "stockExchangeSortBy": {
47
+ "eng": "Stock Exchange",
48
+ "ptBr": "Bolsa de Valores"
49
+ }
50
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "settings": {
3
+ "eng": "Settings",
4
+ "ptBr": "Configurações"
5
+ },
6
+ "colorDisplay": {
7
+ "eng": "Color Display",
8
+ "ptBr": "Modo de Cores"
9
+ },
10
+ "language": {
11
+ "eng": "Language",
12
+ "ptBr": "Idioma"
13
+ }
14
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "home": {
3
+ "eng": "Home",
4
+ "ptBr": "Início"
5
+ },
6
+ "track": {
7
+ "eng": "Track",
8
+ "ptBr": "Rastrear"
9
+ },
10
+ "search": {
11
+ "eng": "Search",
12
+ "ptBr": "Buscar"
13
+ },
14
+ "news": {
15
+ "eng": "News",
16
+ "ptBr": "Notícias"
17
+ },
18
+ "settings": {
19
+ "eng": "Settings",
20
+ "ptBr": "Configurações"
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "adminOnly": {
3
+ "eng": "Only admins can access this route!",
4
+ "ptBr": "Apenas administradores podem acessar esta rota."
5
+ },
6
+ "userAlreadyExists": {
7
+ "eng": "The user with e-mail {{email}} already exists! Please, try again.",
8
+ "ptBr": "O usuário com e-mail {{email}} já existe! Por favor, tente novamente."
9
+ },
10
+ "userNotFound": {
11
+ "eng": "User does not exist!",
12
+ "ptBr": "Usuário não existe!"
13
+ },
14
+ "userCreationError": {
15
+ "eng": "Error while trying to sign up. Please, check if all required fields were filled correctly.",
16
+ "ptBr": "Erro ao tentar criar novo usuário. Por favor, verifique se todos os campos obrigatórios foram preenchidos corretamente."
17
+ },
18
+ "userAlreadyUnsubscribed": {
19
+ "eng": "This user is already unsubscribed!",
20
+ "ptBr": "Este usuário já cancelou a inscrição!"
21
+ }
22
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "isNotEmptyMultiple": {
3
+ "eng": "The following fields cannot be empty: {{fields}}.",
4
+ "ptBr": "Os seguintes campos não podem estar vazios: {{field}}."
5
+ },
6
+ "isNotEmpty": {
7
+ "eng": "{{field}} field cannot be empty.",
8
+ "ptBr": "O campo {{field}} não pode estar vazio."
9
+ },
10
+ "isEmpty": {
11
+ "eng": "{{field}} must be empty.",
12
+ "ptBr": "O campo {{field}} deve estar vazio."
13
+ },
14
+ "isString": {
15
+ "eng": "{{field}} field must be a string.",
16
+ "ptBr": "O campo {{field}} deve ser uma string."
17
+ },
18
+ "isType": {
19
+ "eng": "{{field}} field must be of type {{type}}.",
20
+ "ptBr": "O campo {{field}} deve ser do tipo {{type}}."
21
+ },
22
+ "allArrayFields": {
23
+ "eng": "All elements from array {{field}} must be a {{type}}.",
24
+ "ptBr": "Todos os elementos do campo {{field}} devem ser um {{type}}."
25
+ },
26
+ "minLength": {
27
+ "eng": "{{field}} field must have at least $constraint1 characters.",
28
+ "ptBr": "O campo {{field}} deve ter pelo menos $constraint1 caracteres."
29
+ },
30
+ "maxLength": {
31
+ "eng": "{{field}} field must have up to $constraint1 characters.",
32
+ "ptBr": "O campo {{field}} deve ter até $constraint1 caracteres."
33
+ },
34
+ "isPhoneNumber": {
35
+ "eng": "{{field}} field must be a phone number in the following format: {{format}}.",
36
+ "ptBr": "O campo {{field}} deve ser um número de telefone no seguinte formato: {{format}}."
37
+ },
38
+ "isNumber": {
39
+ "eng": "{{field}} field must be a number.",
40
+ "ptBr": "O campo {{field}} deve ser um número."
41
+ },
42
+ "isEmail": {
43
+ "eng": "{{field}} field must be a valid e-mail.",
44
+ "ptBr": "O campo {{field}} deve ser um e-mail válido."
45
+ },
46
+ "alreadyExists": {
47
+ "eng": "{{field}} already exists!",
48
+ "ptBr": "O campo {{field}} já existe!"
49
+ },
50
+ "alreadyExistsFor": {
51
+ "eng": "An entity {{target}} with this {{field}} already exists!",
52
+ "ptBr": "Um(a) {{target}} com o campo {{field}} já existe!"
53
+ },
54
+ "notFound": {
55
+ "eng": "{{field}} not found!",
56
+ "ptBr": "O campo {{field}} não foi encontrado!"
57
+ },
58
+ "creationError": {
59
+ "eng": "Error while trying to create a new {{field}}.",
60
+ "ptBr": "Erro ao tentar inserir dados para o campo {{field}}."
61
+ },
62
+ "isEnum": {
63
+ "eng": "Error: The {{field}} field accepts only one of the following values: {{types}}.",
64
+ "ptBr": "Erro: o campo {{field}} aceita apenas um dos seguintes valores: {{types}}."
65
+ },
66
+ "requiredResourceCreate": {
67
+ "eng": "A valid {{field}} is required for creating this resource.",
68
+ "ptBr": "Um {{field}} válido é necessário para criar este recurso."
69
+ },
70
+ "errorWhileAction": {
71
+ "eng": "Error while trying to {{action}} the field {{field}}.",
72
+ "ptBr": "Erro ao tentar {{action}} o campo {{field}}."
73
+ },
74
+ "successWhileCreation": {
75
+ "eng": "Your {{resource}} was successfully created.",
76
+ "ptBr": "Sucesso ao criar {{resource}}!"
77
+ },
78
+ "successWhileUpdating": {
79
+ "eng": "Your {{resource}} was successfully updated.",
80
+ "ptBr": "Sucesso ao atualizar {{resource}}!"
81
+ },
82
+ "isInvalid": {
83
+ "eng": "The field {{field}} is invalid. Please, try again.",
84
+ "ptBr": "O campo '{{field}}' é inválido. Por favor, tente novamente."
85
+ }
86
+ }
@@ -0,0 +1,8 @@
1
+ export declare type AnimationDirection = "down" | "up" | "left" | "right";
2
+ export interface IAnimationData {
3
+ [direction: string]: {
4
+ walking: number[];
5
+ standing: number | number[];
6
+ };
7
+ }
8
+ //# sourceMappingURL=animation.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animation.types.d.ts","sourceRoot":"","sources":["../../src/types/animation.types.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB,GAAG,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,OAAO,CAAC;AAElE,MAAM,WAAW,cAAc;IAC7B,CAAC,SAAS,EAAE,MAAM,GAAG;QACnB,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;KAC7B,CAAC;CACH"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=animation.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animation.types.js","sourceRoot":"","sources":["../../src/types/animation.types.ts"],"names":[],"mappings":""}
@@ -0,0 +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
+ }
22
+ //# sourceMappingURL=api.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.types.d.ts","sourceRoot":"","sources":["../../src/types/api.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,oBAAY,UAAU;IACpB,EAAE,MAAM;IACR,OAAO,MAAM;IACb,SAAS,MAAM;IACf,iBAAiB,MAAM;IACvB,iBAAiB,MAAM;IACvB,UAAU,MAAM;IAChB,YAAY,MAAM;IAClB,SAAS,MAAM;IACf,QAAQ,MAAM;IACd,gBAAgB,MAAM;IACtB,QAAQ,MAAM;IACd,mBAAmB,MAAM;IACzB,mBAAmB,MAAM;IACzB,kBAAkB,MAAM;CACzB"}
@@ -0,0 +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 = {}));
21
+ //# sourceMappingURL=api.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.types.js","sourceRoot":"","sources":["../../src/types/api.types.ts"],"names":[],"mappings":";;;AAMA,IAAY,UAeX;AAfD,WAAY,UAAU;IACpB,yCAAQ,CAAA;IACR,mDAAa,CAAA;IACb,uDAAe,CAAA;IACf,uEAAuB,CAAA;IACvB,uEAAuB,CAAA;IACvB,yDAAgB,CAAA;IAChB,6DAAkB,CAAA;IAClB,uDAAe,CAAA;IACf,qDAAc,CAAA;IACd,qEAAsB,CAAA;IACtB,qDAAc,CAAA;IACd,2EAAyB,CAAA;IACzB,2EAAyB,CAAA;IACzB,yEAAwB,CAAA;AAC1B,CAAC,EAfW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAerB"}
@@ -0,0 +1,7 @@
1
+ import { IAnimationData } from "./animation.types";
2
+ export interface IAssetData {
3
+ textureKey: string;
4
+ path: string;
5
+ animations: IAnimationData;
6
+ }
7
+ //# sourceMappingURL=asset.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asset.types.d.ts","sourceRoot":"","sources":["../../src/types/asset.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,cAAc,CAAC;CAC5B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=asset.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asset.types.js","sourceRoot":"","sources":["../../src/types/asset.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export interface IAuthResponse {
2
+ accessToken: string;
3
+ refreshToken: string;
4
+ }
5
+ export interface IAuthRefreshTokenResponse {
6
+ accessToken: string;
7
+ }
8
+ //# sourceMappingURL=auth.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.types.d.ts","sourceRoot":"","sources":["../../src/types/auth.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=auth.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.types.js","sourceRoot":"","sources":["../../src/types/auth.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
1
+ export declare enum BattleSocketEvents {
2
+ InitTargeting = "InitTargeting",
3
+ CharacterEvent = "CharacterEvent",
4
+ CharacterDeath = "CharacterDeath",
5
+ NPCEvent = "NPCEvent",
6
+ NPCDeath = "NPCDeath"
7
+ }
8
+ export declare enum BattleEventType {
9
+ Miss = "Miss",
10
+ Block = "Block",
11
+ Hit = "Hit"
12
+ }
13
+ export interface IBattleEventFromServer {
14
+ targetId: string;
15
+ targetType: "Character" | "NPC";
16
+ eventType: BattleEventType;
17
+ totalDamage?: number;
18
+ postDamageTargetHP?: number;
19
+ }
20
+ export interface IBattleCharacterDeath {
21
+ charId: string;
22
+ }
23
+ //# sourceMappingURL=battle.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"battle.types.d.ts","sourceRoot":"","sources":["../../src/types/battle.types.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB;IAC5B,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,oBAAY,eAAe;IACzB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,GAAG,QAAQ;CACZ;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,WAAW,GAAG,KAAK,CAAC;IAChC,SAAS,EAAE,eAAe,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,18 @@
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["CharacterEvent"] = "CharacterEvent";
8
+ BattleSocketEvents["CharacterDeath"] = "CharacterDeath";
9
+ BattleSocketEvents["NPCEvent"] = "NPCEvent";
10
+ BattleSocketEvents["NPCDeath"] = "NPCDeath";
11
+ })(BattleSocketEvents = exports.BattleSocketEvents || (exports.BattleSocketEvents = {}));
12
+ var BattleEventType;
13
+ (function (BattleEventType) {
14
+ BattleEventType["Miss"] = "Miss";
15
+ BattleEventType["Block"] = "Block";
16
+ BattleEventType["Hit"] = "Hit";
17
+ })(BattleEventType = exports.BattleEventType || (exports.BattleEventType = {}));
18
+ //# sourceMappingURL=battle.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"battle.types.js","sourceRoot":"","sources":["../../src/types/battle.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC5B,qDAA+B,CAAA;IAC/B,uDAAiC,CAAA;IACjC,uDAAiC,CAAA;IACjC,2CAAqB,CAAA;IACrB,2CAAqB,CAAA;AACvB,CAAC,EANW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAM7B;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,kCAAe,CAAA;IACf,8BAAW,CAAA;AACb,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B"}
@@ -0,0 +1,119 @@
1
+ import { AnimationDirection } from "./animation.types";
2
+ import { IEntityBasicInfo } from "./entity.types";
3
+ import { MapLayers } from "./maps.types";
4
+ import { IResource } from "./resource.types";
5
+ import { ISkill } from "./skills.types";
6
+ import { IUser } from "./user.types";
7
+ export interface ICharacter extends IResource {
8
+ name: string;
9
+ owner: IUser;
10
+ health: number;
11
+ maxHealth: number;
12
+ mana: number;
13
+ maxMana: number;
14
+ x: number;
15
+ y: number;
16
+ direction: AnimationDirection;
17
+ class: CharacterClass;
18
+ gender: CharacterGender;
19
+ totalWeightCapacity: number;
20
+ isOnline: boolean;
21
+ layer: MapLayers;
22
+ scene: string;
23
+ channelId: string;
24
+ speed: number;
25
+ movementIntervalMs: number;
26
+ lastMovement: Date;
27
+ isBanned: boolean;
28
+ penalty: number;
29
+ banRemovalDate: Date;
30
+ hasPermanentBan: Date;
31
+ skills: ISkill;
32
+ }
33
+ export declare enum CharacterClass {
34
+ None = "None",
35
+ Warrior = "Warrior",
36
+ Berserker = "Berserker",
37
+ Cleric = "Cleric",
38
+ Sorcerer = "Sorcerer",
39
+ Rogue = "Rogue",
40
+ Hunter = "Hunter",
41
+ Assassin = "Assassin"
42
+ }
43
+ export declare enum CharacterGender {
44
+ Male = "Male",
45
+ Female = "Female"
46
+ }
47
+ export declare enum CharacterSocketEvents {
48
+ CharacterCreate = "CharacterCreate",
49
+ CharacterPositionUpdate = "CharacterPositionUpdate",
50
+ CharacterPositionUpdateConfirm = "CharacterPositionUpdateConfirm",
51
+ CharacterLogout = "CharacterLogout",
52
+ CharacterPrivateMessage = "CharacterPrivateMessage",
53
+ CharacterPing = "CharacterPing",
54
+ CharacterForceDisconnect = "CharacterForceDisconnect"
55
+ }
56
+ export interface ICharacterPing {
57
+ id: string;
58
+ }
59
+ export interface ICharacterPositionUpdateConfirm {
60
+ id: string;
61
+ direction: string;
62
+ isValid: boolean;
63
+ }
64
+ export declare type Events = CharacterSocketEvents;
65
+ export interface ICharacterCreateFromClient {
66
+ id: string;
67
+ channelId: string;
68
+ }
69
+ export interface ICharacterCreateFromServer {
70
+ id: string;
71
+ channelId: string;
72
+ name: string;
73
+ x: number;
74
+ y: number;
75
+ direction: AnimationDirection;
76
+ layer: MapLayers;
77
+ speed: number;
78
+ movementIntervalMs: number;
79
+ }
80
+ export interface ICharacterPositionUpdateFromClient {
81
+ id: string;
82
+ x: number;
83
+ y: number;
84
+ newX: number;
85
+ newY: number;
86
+ direction: AnimationDirection;
87
+ otherEntitiesInView: IEntitiesInView;
88
+ }
89
+ export interface ICharacterPositionUpdateFromServer {
90
+ id: string;
91
+ x: number;
92
+ y: number;
93
+ newX: number;
94
+ newY: number;
95
+ otherEntitiesInView: IEntitiesInView;
96
+ name: string;
97
+ direction: AnimationDirection;
98
+ isMoving: boolean;
99
+ layer: MapLayers;
100
+ channelId: string;
101
+ speed: number;
102
+ movementIntervalMs: number;
103
+ }
104
+ export interface IEntitiesInView {
105
+ [id: string]: IEntityBasicInfo;
106
+ }
107
+ export interface ICharacterLogout {
108
+ id: string;
109
+ }
110
+ export interface ICameraCoordinates {
111
+ x: number;
112
+ y: number;
113
+ width: number;
114
+ height: number;
115
+ }
116
+ export interface ICharacterForceDisconnect {
117
+ reason: string;
118
+ }
119
+ //# sourceMappingURL=character.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"character.types.d.ts","sourceRoot":"","sources":["../../src/types/character.types.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CharacterSocketEvents = exports.CharacterGender = exports.CharacterClass = void 0;
4
+ var CharacterClass;
5
+ (function (CharacterClass) {
6
+ CharacterClass["None"] = "None";
7
+ CharacterClass["Warrior"] = "Warrior";
8
+ CharacterClass["Berserker"] = "Berserker";
9
+ CharacterClass["Cleric"] = "Cleric";
10
+ CharacterClass["Sorcerer"] = "Sorcerer";
11
+ CharacterClass["Rogue"] = "Rogue";
12
+ CharacterClass["Hunter"] = "Hunter";
13
+ CharacterClass["Assassin"] = "Assassin";
14
+ })(CharacterClass = exports.CharacterClass || (exports.CharacterClass = {}));
15
+ var CharacterGender;
16
+ (function (CharacterGender) {
17
+ CharacterGender["Male"] = "Male";
18
+ CharacterGender["Female"] = "Female";
19
+ })(CharacterGender = exports.CharacterGender || (exports.CharacterGender = {}));
20
+ var CharacterSocketEvents;
21
+ (function (CharacterSocketEvents) {
22
+ CharacterSocketEvents["CharacterCreate"] = "CharacterCreate";
23
+ CharacterSocketEvents["CharacterPositionUpdate"] = "CharacterPositionUpdate";
24
+ CharacterSocketEvents["CharacterPositionUpdateConfirm"] = "CharacterPositionUpdateConfirm";
25
+ CharacterSocketEvents["CharacterLogout"] = "CharacterLogout";
26
+ CharacterSocketEvents["CharacterPrivateMessage"] = "CharacterPrivateMessage";
27
+ CharacterSocketEvents["CharacterPing"] = "CharacterPing";
28
+ CharacterSocketEvents["CharacterForceDisconnect"] = "CharacterForceDisconnect";
29
+ })(CharacterSocketEvents = exports.CharacterSocketEvents || (exports.CharacterSocketEvents = {}));
30
+ //# sourceMappingURL=character.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"character.types.js","sourceRoot":"","sources":["../../src/types/character.types.ts"],"names":[],"mappings":";;;AAkCA,IAAY,cASX;AATD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,qCAAmB,CAAA;IACnB,yCAAuB,CAAA;IACvB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,iCAAe,CAAA;IACf,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;AACvB,CAAC,EATW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QASzB;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,oCAAiB,CAAA;AACnB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAGD,IAAY,qBAQX;AARD,WAAY,qBAAqB;IAC/B,4DAAmC,CAAA;IACnC,4EAAmD,CAAA;IACnD,0FAAiE,CAAA;IACjE,4DAAmC,CAAA;IACnC,4EAAmD,CAAA;IACnD,wDAA+B,CAAA;IAC/B,8EAAqD,CAAA;AACvD,CAAC,EARW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAQhC"}
@@ -0,0 +1,5 @@
1
+ export declare enum ChatMessageType {
2
+ Global = "Global",
3
+ Private = "Private"
4
+ }
5
+ //# sourceMappingURL=chat.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat.types.d.ts","sourceRoot":"","sources":["../../src/types/chat.types.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChatMessageType = void 0;
4
+ var ChatMessageType;
5
+ (function (ChatMessageType) {
6
+ ChatMessageType["Global"] = "Global";
7
+ ChatMessageType["Private"] = "Private";
8
+ })(ChatMessageType = exports.ChatMessageType || (exports.ChatMessageType = {}));
9
+ //# sourceMappingURL=chat.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat.types.js","sourceRoot":"","sources":["../../src/types/chat.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;AACrB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B"}
@@ -0,0 +1,25 @@
1
+ import { Languages } from "./translation.types";
2
+ interface IDeviceDetailedInfo {
3
+ isVirtual: boolean;
4
+ manufacturer: string;
5
+ model: string;
6
+ operatingSystem: string;
7
+ osVersion: string;
8
+ platform: string;
9
+ }
10
+ export interface IDeviceInfo {
11
+ info: IDeviceDetailedInfo | null;
12
+ screenOrientation: "landscape" | "portrait" | null;
13
+ isAssetScreen: boolean | null;
14
+ language: Languages | null;
15
+ }
16
+ export declare enum DeviceInfoActionTypes {
17
+ updateDeviceInfo = "updateDeviceInfo"
18
+ }
19
+ export interface IDispatchUpdateDeviceInfo {
20
+ type: DeviceInfoActionTypes.updateDeviceInfo;
21
+ payload: IDeviceInfo;
22
+ }
23
+ export declare type DeviceAction = IDispatchUpdateDeviceInfo;
24
+ export {};
25
+ //# sourceMappingURL=device.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device.types.d.ts","sourceRoot":"","sources":["../../src/types/device.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,UAAU,mBAAmB;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACjC,iBAAiB,EAAE,WAAW,GAAG,UAAU,GAAG,IAAI,CAAC;IACnD,aAAa,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,QAAQ,EAAE,SAAS,GAAG,IAAI,CAAC;CAC5B;AAED,oBAAY,qBAAqB;IAC/B,gBAAgB,qBAAqB;CACtC;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,qBAAqB,CAAC,gBAAgB,CAAC;IAC7C,OAAO,EAAE,WAAW,CAAC;CACtB;AAED,oBAAY,YAAY,GAAG,yBAAyB,CAAC"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeviceInfoActionTypes = void 0;
4
+ var DeviceInfoActionTypes;
5
+ (function (DeviceInfoActionTypes) {
6
+ DeviceInfoActionTypes["updateDeviceInfo"] = "updateDeviceInfo";
7
+ })(DeviceInfoActionTypes = exports.DeviceInfoActionTypes || (exports.DeviceInfoActionTypes = {}));
8
+ //# sourceMappingURL=device.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device.types.js","sourceRoot":"","sources":["../../src/types/device.types.ts"],"names":[],"mappings":";;;AAkBA,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC/B,8DAAqC,CAAA;AACvC,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC"}
@@ -0,0 +1,13 @@
1
+ export interface IEntityBasicInfo {
2
+ id: string;
3
+ type?: EntityType;
4
+ name?: string;
5
+ x?: number;
6
+ y?: number;
7
+ direction?: string;
8
+ }
9
+ export declare enum EntityType {
10
+ Character = "Character",
11
+ NPC = "NPC"
12
+ }
13
+ //# sourceMappingURL=entity.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity.types.d.ts","sourceRoot":"","sources":["../../src/types/entity.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oBAAY,UAAU;IACpB,SAAS,cAAc;IACvB,GAAG,QAAQ;CACZ"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EntityType = void 0;
4
+ var EntityType;
5
+ (function (EntityType) {
6
+ EntityType["Character"] = "Character";
7
+ EntityType["NPC"] = "NPC";
8
+ })(EntityType = exports.EntityType || (exports.EntityType = {}));
9
+ //# sourceMappingURL=entity.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity.types.js","sourceRoot":"","sources":["../../src/types/entity.types.ts"],"names":[],"mappings":";;;AASA,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,qCAAuB,CAAA;IACvB,yBAAW,CAAA;AACb,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB"}
@@ -0,0 +1,6 @@
1
+ export declare enum EnvType {
2
+ Development = "Development",
3
+ Staging = "Staging",
4
+ Production = "Production"
5
+ }
6
+ //# sourceMappingURL=env.types.d.ts.map