@drincs/nqtr 0.3.6 → 0.4.0

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 (341) hide show
  1. package/dist/RoomInterface-BRA386zn.d.mts +171 -0
  2. package/dist/RoomInterface-Cwm08AzD.d.ts +171 -0
  3. package/dist/{StageInterface-DJ7l0ubG.d.mts → StageInterface-LDgQToad.d.mts} +28 -14
  4. package/dist/{StageInterface-DJ7l0ubG.d.ts → StageInterface-LDgQToad.d.ts} +28 -14
  5. package/dist/classes/index.cjs +2 -0
  6. package/dist/classes/index.cjs.map +1 -0
  7. package/dist/classes/index.d.mts +508 -31
  8. package/dist/classes/index.d.ts +508 -31
  9. package/dist/classes/index.mjs +1 -1
  10. package/dist/classes/index.mjs.map +1 -1
  11. package/dist/decorators/index.cjs +2 -0
  12. package/dist/decorators/index.cjs.map +1 -0
  13. package/dist/decorators/index.d.mts +108 -9
  14. package/dist/decorators/index.d.ts +108 -9
  15. package/dist/decorators/index.mjs +1 -1
  16. package/dist/decorators/index.mjs.map +1 -1
  17. package/dist/index-B8-yQhYT.d.ts +188 -0
  18. package/dist/index-CJubtUni.d.mts +301 -0
  19. package/dist/index-Cq_kqDbo.d.ts +301 -0
  20. package/dist/index-knrOEAIO.d.mts +188 -0
  21. package/dist/index.cjs +2 -0
  22. package/dist/index.cjs.map +1 -0
  23. package/dist/index.d.mts +14 -46
  24. package/dist/index.d.ts +14 -46
  25. package/dist/index.mjs +1 -1
  26. package/dist/index.mjs.map +1 -1
  27. package/dist/interface/index.cjs +2 -0
  28. package/dist/{functions/index.js.map → interface/index.cjs.map} +1 -1
  29. package/dist/interface/index.d.mts +3 -14
  30. package/dist/interface/index.d.ts +3 -14
  31. package/dist/managers/index.cjs +2 -0
  32. package/dist/managers/index.cjs.map +1 -0
  33. package/dist/managers/index.d.mts +4 -17
  34. package/dist/managers/index.d.ts +4 -17
  35. package/dist/managers/index.mjs +1 -1
  36. package/dist/managers/index.mjs.map +1 -1
  37. package/dist/types/index.cjs +2 -0
  38. package/dist/{functions/index.mjs.map → types/index.cjs.map} +1 -1
  39. package/dist/types/index.d.mts +60 -4
  40. package/dist/types/index.d.ts +60 -4
  41. package/package.json +13 -5
  42. package/dist/RoomInterface-BglEhkQT.d.ts +0 -79
  43. package/dist/RoomInterface-DsZAp6Pv.d.mts +0 -79
  44. package/dist/classes/ActivityBaseModel.d.mts +0 -63
  45. package/dist/classes/ActivityBaseModel.d.ts +0 -63
  46. package/dist/classes/ActivityBaseModel.js +0 -2
  47. package/dist/classes/ActivityBaseModel.js.map +0 -1
  48. package/dist/classes/ActivityBaseModel.mjs +0 -2
  49. package/dist/classes/ActivityBaseModel.mjs.map +0 -1
  50. package/dist/classes/ActivityStoredClass.d.mts +0 -27
  51. package/dist/classes/ActivityStoredClass.d.ts +0 -27
  52. package/dist/classes/ActivityStoredClass.js +0 -2
  53. package/dist/classes/ActivityStoredClass.js.map +0 -1
  54. package/dist/classes/ActivityStoredClass.mjs +0 -2
  55. package/dist/classes/ActivityStoredClass.mjs.map +0 -1
  56. package/dist/classes/CommitmentBaseModel.d.mts +0 -65
  57. package/dist/classes/CommitmentBaseModel.d.ts +0 -65
  58. package/dist/classes/CommitmentBaseModel.js +0 -2
  59. package/dist/classes/CommitmentBaseModel.js.map +0 -1
  60. package/dist/classes/CommitmentBaseModel.mjs +0 -2
  61. package/dist/classes/CommitmentBaseModel.mjs.map +0 -1
  62. package/dist/classes/CommitmentStoredClass.d.mts +0 -31
  63. package/dist/classes/CommitmentStoredClass.d.ts +0 -31
  64. package/dist/classes/CommitmentStoredClass.js +0 -2
  65. package/dist/classes/CommitmentStoredClass.js.map +0 -1
  66. package/dist/classes/CommitmentStoredClass.mjs +0 -2
  67. package/dist/classes/CommitmentStoredClass.mjs.map +0 -1
  68. package/dist/classes/index.js +0 -2
  69. package/dist/classes/index.js.map +0 -1
  70. package/dist/classes/navigation/LocationBaseModel.d.mts +0 -54
  71. package/dist/classes/navigation/LocationBaseModel.d.ts +0 -54
  72. package/dist/classes/navigation/LocationBaseModel.js +0 -2
  73. package/dist/classes/navigation/LocationBaseModel.js.map +0 -1
  74. package/dist/classes/navigation/LocationBaseModel.mjs +0 -2
  75. package/dist/classes/navigation/LocationBaseModel.mjs.map +0 -1
  76. package/dist/classes/navigation/LocationStoredClass.d.mts +0 -23
  77. package/dist/classes/navigation/LocationStoredClass.d.ts +0 -23
  78. package/dist/classes/navigation/LocationStoredClass.js +0 -2
  79. package/dist/classes/navigation/LocationStoredClass.js.map +0 -1
  80. package/dist/classes/navigation/LocationStoredClass.mjs +0 -2
  81. package/dist/classes/navigation/LocationStoredClass.mjs.map +0 -1
  82. package/dist/classes/navigation/MapBaseModel.d.mts +0 -41
  83. package/dist/classes/navigation/MapBaseModel.d.ts +0 -41
  84. package/dist/classes/navigation/MapBaseModel.js +0 -2
  85. package/dist/classes/navigation/MapBaseModel.js.map +0 -1
  86. package/dist/classes/navigation/MapBaseModel.mjs +0 -2
  87. package/dist/classes/navigation/MapBaseModel.mjs.map +0 -1
  88. package/dist/classes/navigation/MapStoredClass.d.mts +0 -14
  89. package/dist/classes/navigation/MapStoredClass.d.ts +0 -14
  90. package/dist/classes/navigation/MapStoredClass.js +0 -2
  91. package/dist/classes/navigation/MapStoredClass.js.map +0 -1
  92. package/dist/classes/navigation/MapStoredClass.mjs +0 -2
  93. package/dist/classes/navigation/MapStoredClass.mjs.map +0 -1
  94. package/dist/classes/navigation/NavigationAbstractClass.d.mts +0 -48
  95. package/dist/classes/navigation/NavigationAbstractClass.d.ts +0 -48
  96. package/dist/classes/navigation/NavigationAbstractClass.js +0 -2
  97. package/dist/classes/navigation/NavigationAbstractClass.js.map +0 -1
  98. package/dist/classes/navigation/NavigationAbstractClass.mjs +0 -2
  99. package/dist/classes/navigation/NavigationAbstractClass.mjs.map +0 -1
  100. package/dist/classes/navigation/RoomBaseModel.d.mts +0 -67
  101. package/dist/classes/navigation/RoomBaseModel.d.ts +0 -67
  102. package/dist/classes/navigation/RoomBaseModel.js +0 -2
  103. package/dist/classes/navigation/RoomBaseModel.js.map +0 -1
  104. package/dist/classes/navigation/RoomBaseModel.mjs +0 -2
  105. package/dist/classes/navigation/RoomBaseModel.mjs.map +0 -1
  106. package/dist/classes/navigation/RoomStoredClass.d.mts +0 -23
  107. package/dist/classes/navigation/RoomStoredClass.d.ts +0 -23
  108. package/dist/classes/navigation/RoomStoredClass.js +0 -2
  109. package/dist/classes/navigation/RoomStoredClass.js.map +0 -1
  110. package/dist/classes/navigation/RoomStoredClass.mjs +0 -2
  111. package/dist/classes/navigation/RoomStoredClass.mjs.map +0 -1
  112. package/dist/classes/quest/QuestBaseModel.d.mts +0 -36
  113. package/dist/classes/quest/QuestBaseModel.d.ts +0 -36
  114. package/dist/classes/quest/QuestBaseModel.js +0 -2
  115. package/dist/classes/quest/QuestBaseModel.js.map +0 -1
  116. package/dist/classes/quest/QuestBaseModel.mjs +0 -2
  117. package/dist/classes/quest/QuestBaseModel.mjs.map +0 -1
  118. package/dist/classes/quest/QuestStoredClass.d.mts +0 -37
  119. package/dist/classes/quest/QuestStoredClass.d.ts +0 -37
  120. package/dist/classes/quest/QuestStoredClass.js +0 -2
  121. package/dist/classes/quest/QuestStoredClass.js.map +0 -1
  122. package/dist/classes/quest/QuestStoredClass.mjs +0 -2
  123. package/dist/classes/quest/QuestStoredClass.mjs.map +0 -1
  124. package/dist/classes/quest/StageBaseModel.d.mts +0 -50
  125. package/dist/classes/quest/StageBaseModel.d.ts +0 -50
  126. package/dist/classes/quest/StageBaseModel.js +0 -2
  127. package/dist/classes/quest/StageBaseModel.js.map +0 -1
  128. package/dist/classes/quest/StageBaseModel.mjs +0 -2
  129. package/dist/classes/quest/StageBaseModel.mjs.map +0 -1
  130. package/dist/classes/quest/StageStoredClass.d.mts +0 -46
  131. package/dist/classes/quest/StageStoredClass.d.ts +0 -46
  132. package/dist/classes/quest/StageStoredClass.js +0 -2
  133. package/dist/classes/quest/StageStoredClass.js.map +0 -1
  134. package/dist/classes/quest/StageStoredClass.mjs +0 -2
  135. package/dist/classes/quest/StageStoredClass.mjs.map +0 -1
  136. package/dist/constants.d.mts +0 -4
  137. package/dist/constants.d.ts +0 -4
  138. package/dist/constants.js +0 -2
  139. package/dist/constants.js.map +0 -1
  140. package/dist/constants.mjs +0 -2
  141. package/dist/constants.mjs.map +0 -1
  142. package/dist/decorators/ActivityDecorator.d.mts +0 -15
  143. package/dist/decorators/ActivityDecorator.d.ts +0 -15
  144. package/dist/decorators/ActivityDecorator.js +0 -2
  145. package/dist/decorators/ActivityDecorator.js.map +0 -1
  146. package/dist/decorators/ActivityDecorator.mjs +0 -2
  147. package/dist/decorators/ActivityDecorator.mjs.map +0 -1
  148. package/dist/decorators/CommitmentDecorator.d.mts +0 -27
  149. package/dist/decorators/CommitmentDecorator.d.ts +0 -27
  150. package/dist/decorators/CommitmentDecorator.js +0 -2
  151. package/dist/decorators/CommitmentDecorator.js.map +0 -1
  152. package/dist/decorators/CommitmentDecorator.mjs +0 -2
  153. package/dist/decorators/CommitmentDecorator.mjs.map +0 -1
  154. package/dist/decorators/QuestDecorator.d.mts +0 -22
  155. package/dist/decorators/QuestDecorator.d.ts +0 -22
  156. package/dist/decorators/QuestDecorator.js +0 -2
  157. package/dist/decorators/QuestDecorator.js.map +0 -1
  158. package/dist/decorators/QuestDecorator.mjs +0 -2
  159. package/dist/decorators/QuestDecorator.mjs.map +0 -1
  160. package/dist/decorators/RoomDecorator.d.mts +0 -28
  161. package/dist/decorators/RoomDecorator.d.ts +0 -28
  162. package/dist/decorators/RoomDecorator.js +0 -2
  163. package/dist/decorators/RoomDecorator.js.map +0 -1
  164. package/dist/decorators/RoomDecorator.mjs +0 -2
  165. package/dist/decorators/RoomDecorator.mjs.map +0 -1
  166. package/dist/decorators/index.js +0 -2
  167. package/dist/decorators/index.js.map +0 -1
  168. package/dist/functions/index.d.mts +0 -2
  169. package/dist/functions/index.d.ts +0 -2
  170. package/dist/functions/index.js +0 -2
  171. package/dist/functions/index.mjs +0 -2
  172. package/dist/index.js +0 -2
  173. package/dist/index.js.map +0 -1
  174. package/dist/interface/ActivityInterface.d.mts +0 -40
  175. package/dist/interface/ActivityInterface.d.ts +0 -40
  176. package/dist/interface/ActivityInterface.js +0 -2
  177. package/dist/interface/ActivityInterface.js.map +0 -1
  178. package/dist/interface/ActivityInterface.mjs +0 -2
  179. package/dist/interface/ActivityInterface.mjs.map +0 -1
  180. package/dist/interface/ActivityProps.d.mts +0 -48
  181. package/dist/interface/ActivityProps.d.ts +0 -48
  182. package/dist/interface/ActivityProps.js +0 -2
  183. package/dist/interface/ActivityProps.js.map +0 -1
  184. package/dist/interface/ActivityProps.mjs +0 -2
  185. package/dist/interface/ActivityProps.mjs.map +0 -1
  186. package/dist/interface/CommitmentInterface.d.mts +0 -6
  187. package/dist/interface/CommitmentInterface.d.ts +0 -6
  188. package/dist/interface/CommitmentInterface.js +0 -2
  189. package/dist/interface/CommitmentInterface.js.map +0 -1
  190. package/dist/interface/CommitmentInterface.mjs +0 -2
  191. package/dist/interface/CommitmentInterface.mjs.map +0 -1
  192. package/dist/interface/CommitmentProps.d.mts +0 -79
  193. package/dist/interface/CommitmentProps.d.ts +0 -79
  194. package/dist/interface/CommitmentProps.js +0 -2
  195. package/dist/interface/CommitmentProps.js.map +0 -1
  196. package/dist/interface/CommitmentProps.mjs +0 -2
  197. package/dist/interface/CommitmentProps.mjs.map +0 -1
  198. package/dist/interface/index.js +0 -2
  199. package/dist/interface/index.js.map +0 -1
  200. package/dist/interface/navigation/LocationBaseModelProps.d.mts +0 -32
  201. package/dist/interface/navigation/LocationBaseModelProps.d.ts +0 -32
  202. package/dist/interface/navigation/LocationBaseModelProps.js +0 -2
  203. package/dist/interface/navigation/LocationBaseModelProps.js.map +0 -1
  204. package/dist/interface/navigation/LocationBaseModelProps.mjs +0 -2
  205. package/dist/interface/navigation/LocationBaseModelProps.mjs.map +0 -1
  206. package/dist/interface/navigation/LocationInterface.d.mts +0 -6
  207. package/dist/interface/navigation/LocationInterface.d.ts +0 -6
  208. package/dist/interface/navigation/LocationInterface.js +0 -2
  209. package/dist/interface/navigation/LocationInterface.js.map +0 -1
  210. package/dist/interface/navigation/LocationInterface.mjs +0 -2
  211. package/dist/interface/navigation/LocationInterface.mjs.map +0 -1
  212. package/dist/interface/navigation/MapBaseModelProps.d.mts +0 -22
  213. package/dist/interface/navigation/MapBaseModelProps.d.ts +0 -22
  214. package/dist/interface/navigation/MapBaseModelProps.js +0 -2
  215. package/dist/interface/navigation/MapBaseModelProps.js.map +0 -1
  216. package/dist/interface/navigation/MapBaseModelProps.mjs +0 -2
  217. package/dist/interface/navigation/MapBaseModelProps.mjs.map +0 -1
  218. package/dist/interface/navigation/MapInterface.d.mts +0 -6
  219. package/dist/interface/navigation/MapInterface.d.ts +0 -6
  220. package/dist/interface/navigation/MapInterface.js +0 -2
  221. package/dist/interface/navigation/MapInterface.js.map +0 -1
  222. package/dist/interface/navigation/MapInterface.mjs +0 -2
  223. package/dist/interface/navigation/MapInterface.mjs.map +0 -1
  224. package/dist/interface/navigation/NavigationAbstractClass.d.mts +0 -54
  225. package/dist/interface/navigation/NavigationAbstractClass.d.ts +0 -54
  226. package/dist/interface/navigation/NavigationAbstractClass.js +0 -2
  227. package/dist/interface/navigation/NavigationAbstractClass.js.map +0 -1
  228. package/dist/interface/navigation/NavigationAbstractClass.mjs +0 -2
  229. package/dist/interface/navigation/NavigationAbstractClass.mjs.map +0 -1
  230. package/dist/interface/navigation/RoomBaseModelProps.d.mts +0 -37
  231. package/dist/interface/navigation/RoomBaseModelProps.d.ts +0 -37
  232. package/dist/interface/navigation/RoomBaseModelProps.js +0 -2
  233. package/dist/interface/navigation/RoomBaseModelProps.js.map +0 -1
  234. package/dist/interface/navigation/RoomBaseModelProps.mjs +0 -2
  235. package/dist/interface/navigation/RoomBaseModelProps.mjs.map +0 -1
  236. package/dist/interface/navigation/RoomInterface.d.mts +0 -6
  237. package/dist/interface/navigation/RoomInterface.d.ts +0 -6
  238. package/dist/interface/navigation/RoomInterface.js +0 -2
  239. package/dist/interface/navigation/RoomInterface.js.map +0 -1
  240. package/dist/interface/navigation/RoomInterface.mjs +0 -2
  241. package/dist/interface/navigation/RoomInterface.mjs.map +0 -1
  242. package/dist/interface/quest/QuestInterface.d.mts +0 -2
  243. package/dist/interface/quest/QuestInterface.d.ts +0 -2
  244. package/dist/interface/quest/QuestInterface.js +0 -2
  245. package/dist/interface/quest/QuestInterface.js.map +0 -1
  246. package/dist/interface/quest/QuestInterface.mjs +0 -2
  247. package/dist/interface/quest/QuestInterface.mjs.map +0 -1
  248. package/dist/interface/quest/QuestProps.d.mts +0 -39
  249. package/dist/interface/quest/QuestProps.d.ts +0 -39
  250. package/dist/interface/quest/QuestProps.js +0 -2
  251. package/dist/interface/quest/QuestProps.js.map +0 -1
  252. package/dist/interface/quest/QuestProps.mjs +0 -2
  253. package/dist/interface/quest/QuestProps.mjs.map +0 -1
  254. package/dist/interface/quest/StageFlags.d.mts +0 -12
  255. package/dist/interface/quest/StageFlags.d.ts +0 -12
  256. package/dist/interface/quest/StageFlags.js +0 -2
  257. package/dist/interface/quest/StageFlags.js.map +0 -1
  258. package/dist/interface/quest/StageFlags.mjs +0 -2
  259. package/dist/interface/quest/StageFlags.mjs.map +0 -1
  260. package/dist/interface/quest/StageInterface.d.mts +0 -2
  261. package/dist/interface/quest/StageInterface.d.ts +0 -2
  262. package/dist/interface/quest/StageInterface.js +0 -2
  263. package/dist/interface/quest/StageInterface.js.map +0 -1
  264. package/dist/interface/quest/StageInterface.mjs +0 -2
  265. package/dist/interface/quest/StageInterface.mjs.map +0 -1
  266. package/dist/interface/quest/StageProps.d.mts +0 -60
  267. package/dist/interface/quest/StageProps.d.ts +0 -60
  268. package/dist/interface/quest/StageProps.js +0 -2
  269. package/dist/interface/quest/StageProps.js.map +0 -1
  270. package/dist/interface/quest/StageProps.mjs +0 -2
  271. package/dist/interface/quest/StageProps.mjs.map +0 -1
  272. package/dist/managers/NavigatorManager.d.mts +0 -22
  273. package/dist/managers/NavigatorManager.d.ts +0 -22
  274. package/dist/managers/NavigatorManager.js +0 -2
  275. package/dist/managers/NavigatorManager.js.map +0 -1
  276. package/dist/managers/NavigatorManager.mjs +0 -2
  277. package/dist/managers/NavigatorManager.mjs.map +0 -1
  278. package/dist/managers/QuestManager.d.mts +0 -17
  279. package/dist/managers/QuestManager.d.ts +0 -17
  280. package/dist/managers/QuestManager.js +0 -2
  281. package/dist/managers/QuestManager.js.map +0 -1
  282. package/dist/managers/QuestManager.mjs +0 -2
  283. package/dist/managers/QuestManager.mjs.map +0 -1
  284. package/dist/managers/RoutineManager.d.mts +0 -59
  285. package/dist/managers/RoutineManager.d.ts +0 -59
  286. package/dist/managers/RoutineManager.js +0 -2
  287. package/dist/managers/RoutineManager.js.map +0 -1
  288. package/dist/managers/RoutineManager.mjs +0 -2
  289. package/dist/managers/RoutineManager.mjs.map +0 -1
  290. package/dist/managers/TimeManager.d.mts +0 -74
  291. package/dist/managers/TimeManager.d.ts +0 -74
  292. package/dist/managers/TimeManager.js +0 -2
  293. package/dist/managers/TimeManager.js.map +0 -1
  294. package/dist/managers/TimeManager.mjs +0 -2
  295. package/dist/managers/TimeManager.mjs.map +0 -1
  296. package/dist/managers/TimeManagerSettings.d.mts +0 -13
  297. package/dist/managers/TimeManagerSettings.d.ts +0 -13
  298. package/dist/managers/TimeManagerSettings.js +0 -2
  299. package/dist/managers/TimeManagerSettings.js.map +0 -1
  300. package/dist/managers/TimeManagerSettings.mjs +0 -2
  301. package/dist/managers/TimeManagerSettings.mjs.map +0 -1
  302. package/dist/managers/index.js +0 -2
  303. package/dist/managers/index.js.map +0 -1
  304. package/dist/nqtr.d.d.mts +0 -195
  305. package/dist/nqtr.d.d.ts +0 -195
  306. package/dist/nqtr.d.js +0 -2
  307. package/dist/nqtr.d.js.map +0 -1
  308. package/dist/nqtr.d.mjs +0 -2
  309. package/dist/nqtr.d.mjs.map +0 -1
  310. package/dist/types/ExecutionType.d.mts +0 -3
  311. package/dist/types/ExecutionType.d.ts +0 -3
  312. package/dist/types/ExecutionType.js +0 -2
  313. package/dist/types/ExecutionType.js.map +0 -1
  314. package/dist/types/ExecutionType.mjs +0 -2
  315. package/dist/types/ExecutionType.mjs.map +0 -1
  316. package/dist/types/OnRunEvent.d.mts +0 -9
  317. package/dist/types/OnRunEvent.d.ts +0 -9
  318. package/dist/types/OnRunEvent.js +0 -2
  319. package/dist/types/OnRunEvent.js.map +0 -1
  320. package/dist/types/OnRunEvent.mjs +0 -2
  321. package/dist/types/OnRunEvent.mjs.map +0 -1
  322. package/dist/types/QuestsRequired.d.mts +0 -2
  323. package/dist/types/QuestsRequired.d.ts +0 -2
  324. package/dist/types/QuestsRequired.js +0 -2
  325. package/dist/types/QuestsRequired.js.map +0 -1
  326. package/dist/types/QuestsRequired.mjs +0 -2
  327. package/dist/types/QuestsRequired.mjs.map +0 -1
  328. package/dist/types/TimeDataType.d.mts +0 -6
  329. package/dist/types/TimeDataType.d.ts +0 -6
  330. package/dist/types/TimeDataType.js +0 -2
  331. package/dist/types/TimeDataType.js.map +0 -1
  332. package/dist/types/TimeDataType.mjs +0 -2
  333. package/dist/types/TimeDataType.mjs.map +0 -1
  334. package/dist/types/TimeSettings.d.mts +0 -58
  335. package/dist/types/TimeSettings.d.ts +0 -58
  336. package/dist/types/TimeSettings.js +0 -2
  337. package/dist/types/TimeSettings.js.map +0 -1
  338. package/dist/types/TimeSettings.mjs +0 -2
  339. package/dist/types/TimeSettings.mjs.map +0 -1
  340. package/dist/types/index.js +0 -2
  341. package/dist/types/index.js.map +0 -1
@@ -1,31 +1,508 @@
1
- export { default as ActivityBaseModel } from './ActivityBaseModel.mjs';
2
- export { default as ActivityStoredClass } from './ActivityStoredClass.mjs';
3
- export { default as CommitmentBaseModel } from './CommitmentBaseModel.mjs';
4
- export { default as CommitmentStoredClass } from './CommitmentStoredClass.mjs';
5
- export { default as LocationBaseModel } from './navigation/LocationBaseModel.mjs';
6
- export { default as LocationStoredClass } from './navigation/LocationStoredClass.mjs';
7
- export { default as MapBaseModel } from './navigation/MapBaseModel.mjs';
8
- export { default as MapStoredClass } from './navigation/MapStoredClass.mjs';
9
- export { default as RoomBaseModel } from './navigation/RoomBaseModel.mjs';
10
- export { default as RoomStoredClass } from './navigation/RoomStoredClass.mjs';
11
- export { default as QuestBaseModel } from './quest/QuestBaseModel.mjs';
12
- export { default as QuestStoredClass } from './quest/QuestStoredClass.mjs';
13
- export { default as StageBaseModel } from './quest/StageBaseModel.mjs';
14
- export { default as StageStoredClass } from './quest/StageStoredClass.mjs';
15
- import '../interface/ActivityInterface.mjs';
16
- import '@drincs/nqtr';
17
- import '../interface/ActivityProps.mjs';
18
- import '../types/OnRunEvent.mjs';
19
- import '@drincs/pixi-vn';
20
- import '../interface/CommitmentProps.mjs';
21
- import '../RoomInterface-DsZAp6Pv.mjs';
22
- import '../types/ExecutionType.mjs';
23
- import '../interface/navigation/NavigationAbstractClass.mjs';
24
- import '../interface/navigation/LocationBaseModelProps.mjs';
25
- import './navigation/NavigationAbstractClass.mjs';
26
- import '../interface/navigation/MapBaseModelProps.mjs';
27
- import '../interface/navigation/RoomBaseModelProps.mjs';
28
- import '../interface/quest/QuestProps.mjs';
29
- import '../StageInterface-DJ7l0ubG.mjs';
30
- import '../interface/quest/StageProps.mjs';
31
- import '../interface/quest/StageFlags.mjs';
1
+ import { A as ActivityInterface, a as ActivityBaseInternalInterface, C as CommitmentInterface, b as CommitmentBaseInternalInterface, R as RoomInterface, N as NavigationAbstractInterface, c as LocationInternalInterface, M as MapInterface, d as MapBaseInternalInterface, L as LocationInterface, e as RoomBaseInternalInterface } from '../RoomInterface-BRA386zn.mjs';
2
+ import { A as ActivityProps, C as CommitmentProps, L as LocationBaseModelProps, M as MapBaseModelProps, R as RoomBaseModelProps, Q as QuestProps, S as StageProps, a as StageFlags } from '../index-CJubtUni.mjs';
3
+ import { a as OnRunEvent, O as OnRunAsyncFunction, E as ExecutionType, e as QuestBaseInternalInterface, S as StageInterface, Q as QuestInterface, f as StageBaseInternalInterface, d as QuestsRequiredType } from '../StageInterface-LDgQToad.mjs';
4
+ import { StoredClassModel, CharacterInterface } from '@drincs/pixi-vn';
5
+ import { OnRunProps } from '@drincs/nqtr';
6
+
7
+ declare class ActivityStoredClass<OnRunEventType = ActivityInterface> extends StoredClassModel implements ActivityBaseInternalInterface {
8
+ private readonly _onRun;
9
+ constructor(id: string, _onRun: OnRunEvent<OnRunEventType>, props: {
10
+ fromHour?: number;
11
+ toHour?: number;
12
+ fromDay?: number;
13
+ toDay?: number;
14
+ }, category?: string);
15
+ private _fromHour?;
16
+ get fromHour(): number | undefined;
17
+ private _toHour?;
18
+ get toHour(): number | undefined;
19
+ private _fromDay?;
20
+ get fromDay(): number | undefined;
21
+ private _toDay?;
22
+ get toDay(): number | undefined;
23
+ get run(): OnRunAsyncFunction;
24
+ get expired(): boolean;
25
+ get isActive(): boolean;
26
+ }
27
+
28
+ /**
29
+ * The activity model. It is used to create an activity.
30
+ * @example
31
+ * ```tsx
32
+ * export const nap = new ActivityModel("nap",
33
+ * (_, event) => {
34
+ * if (event) {
35
+ * event.navigate("/game")
36
+ * callLabelWithGoNavigationCallBack(napLabel, event)
37
+ * }
38
+ * else {
39
+ * console.error("Event is undefined")
40
+ * }
41
+ * },
42
+ * {
43
+ * name: "Nap",
44
+ * fromHour: 5,
45
+ * toHour: 23,
46
+ * icon: "https://icon.jpg",
47
+ * }
48
+ * )
49
+ * ```
50
+ */
51
+ declare class ActivityBaseModel extends ActivityStoredClass<ActivityInterface> {
52
+ /**
53
+ * @param id The activity id, that must be unique.
54
+ * @param onRun The function that is called when the activity is runned. Have 2 parameters: the runned activity and the yourParams object, that is an object with the parameters that you want to pass to the onRun function.
55
+ * @param props The activity properties.
56
+ */
57
+ constructor(id: string, onRun: OnRunEvent<ActivityInterface>, props: ActivityProps);
58
+ private defaultName;
59
+ /**
60
+ * The name of the activity.
61
+ */
62
+ get name(): string;
63
+ set name(value: string | undefined);
64
+ private defaultDisabled;
65
+ /**
66
+ * Whether is disabled. If it is a string, it is a Pixi'VN flag name.
67
+ */
68
+ get disabled(): boolean;
69
+ set disabled(value: boolean | string);
70
+ private defaultHidden;
71
+ /**
72
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
73
+ */
74
+ get hidden(): boolean;
75
+ set hidden(value: boolean | string);
76
+ private _icon?;
77
+ /**
78
+ * The icon of the activity.
79
+ */
80
+ get icon(): string | undefined;
81
+ }
82
+
83
+ declare class CommitmentStoredClass extends ActivityStoredClass<CommitmentInterface> implements CommitmentBaseInternalInterface {
84
+ private readonly _characters;
85
+ private readonly _room;
86
+ constructor(id: string, _characters: CharacterInterface[], _room: RoomInterface, onRun: OnRunEvent<CommitmentInterface> | undefined, props: {
87
+ executionType?: ExecutionType;
88
+ priority?: number;
89
+ fromHour?: number;
90
+ toHour?: number;
91
+ fromDay?: number;
92
+ toDay?: number;
93
+ });
94
+ private readonly defaultExecutionType;
95
+ private readonly defaultPriority?;
96
+ get characters(): CharacterInterface[];
97
+ get room(): RoomInterface;
98
+ get executionType(): ExecutionType;
99
+ set executionType(value: ExecutionType);
100
+ get priority(): number;
101
+ set priority(value: number);
102
+ }
103
+
104
+ /**
105
+ * The base model of a commitment. I suggest you extend this class to create your own commitment model.
106
+ * You must use the saveRoom function to save the commitment in the registered commitments.
107
+ * @example
108
+ * ```ts
109
+ * export const mcRoom = new CommitmentBaseModel("test", character, room, {
110
+ * name: "Test",
111
+ * image: "https://image.jpg",
112
+ * executionType: ExecutionTypeEnum.INTERACTION,
113
+ * onRun: (commitment) => {
114
+ * // Do something
115
+ * }
116
+ * })
117
+ * saveCommitment(mcRoom)
118
+ * ```
119
+ */
120
+ declare class CommitmentBaseModel extends CommitmentStoredClass {
121
+ /**
122
+ * @param id The id of the commitment, it must be unique.
123
+ * @param character The character or characters that are in the commitment and so in the room.
124
+ * @param room The room where the commitment is.
125
+ * @param props The properties of the commitment.
126
+ */
127
+ constructor(id: string, character: CharacterInterface | CharacterInterface[] | undefined, room: RoomInterface, props: CommitmentProps);
128
+ private _name;
129
+ /**
130
+ * The name of the commitment.
131
+ */
132
+ get name(): string;
133
+ private _image?;
134
+ /**
135
+ * The image of the commitment.
136
+ */
137
+ get image(): string | undefined;
138
+ private _icon?;
139
+ /**
140
+ * The icon of the commitment.
141
+ */
142
+ get icon(): string | undefined;
143
+ private defaultDisabled;
144
+ /**
145
+ * Whether is disabled. You can also pass a Pixi'VN flag name.
146
+ */
147
+ get disabled(): boolean;
148
+ set disabled(value: boolean | string);
149
+ private defaultHidden;
150
+ /**
151
+ * Whether is hidden. You can also pass a Pixi'VN flag name.
152
+ */
153
+ get hidden(): boolean;
154
+ set hidden(value: boolean | string);
155
+ }
156
+
157
+ declare abstract class NavigationAbstractClass extends StoredClassModel implements NavigationAbstractInterface {
158
+ private defaultActivities;
159
+ constructor(categoryId: string, id: string, defaultActivities?: ActivityInterface[]);
160
+ private get defaultActivitiesIds();
161
+ private get activeActivityScheduling();
162
+ private get excludedActivitiesScheduling();
163
+ private removeActivityScheduling;
164
+ private editActivityScheduling;
165
+ private editExcludedActivityScheduling;
166
+ private get additionalActivitiesIds();
167
+ private get excludedActivitiesIds();
168
+ addActivity(activity: ActivityInterface, options?: {
169
+ /**
170
+ * the activity will be associated with this class only for the specified hours.
171
+ * If you set from 3 and to 5, the activity will be associated with this class only for hours 3, 4 and 5. soSo at 2 or 6 it will not be associated with this class.
172
+ */
173
+ hours?: {
174
+ from: number;
175
+ to: number;
176
+ };
177
+ /**
178
+ * the activity will be associated with this class from the specified day.
179
+ * If you set 3, the activity will be associated with this class from day 3. So at day 2 it will not be associated with this class.
180
+ */
181
+ fromDay?: number;
182
+ /**
183
+ * the activity will be associated with this class to the specified day.
184
+ * If you set 3, the activity will be associated with this class until day 3. So at day 4 it will not be associated with this class.
185
+ */
186
+ toDay?: number;
187
+ }): void;
188
+ removeActivity(activity: ActivityInterface, options?: {
189
+ /**
190
+ * The activity will be excluded from this class only for the specified days.
191
+ * If to 3, the activity will be excluded from this class only for days 1, 2 and 3. So at day 4 it will be associated with this class.
192
+ */
193
+ toDay?: number;
194
+ }): void;
195
+ clearExpiredActivities(): void;
196
+ get activities(): ActivityInterface[];
197
+ }
198
+
199
+ declare class LocationStoredClass extends NavigationAbstractClass implements LocationInternalInterface {
200
+ /**
201
+ * The map where the location is.
202
+ */
203
+ private readonly _map;
204
+ constructor(id: string,
205
+ /**
206
+ * The map where the location is.
207
+ */
208
+ _map: MapInterface, activities?: ActivityInterface[]);
209
+ get map(): MapInterface;
210
+ get rooms(): RoomInterface[];
211
+ }
212
+
213
+ /**
214
+ * The base model of a location. I suggest you extend this class to create your own location model.
215
+ * @example
216
+ * ```typescript
217
+ * export const mcHome = new LocationBaseModel('mc_home', mainMap, {
218
+ * name: 'MC Home',
219
+ * icon: "https://icon.jpg",
220
+ * });
221
+ * ```
222
+ */
223
+ declare class LocationBaseModel extends LocationStoredClass implements LocationInternalInterface {
224
+ /**
225
+ * @param id The id of the location, it must be unique.
226
+ * @param map The map where the location is.
227
+ * @param props The properties of the location.
228
+ */
229
+ constructor(id: string, map: MapInterface, props?: LocationBaseModelProps);
230
+ private defaultName;
231
+ /**
232
+ * The name of the location.
233
+ * If you set undefined, it will return the initial value of name.
234
+ */
235
+ get name(): string;
236
+ set name(value: string | undefined);
237
+ private defaultDisabled;
238
+ /**
239
+ * Whether is disabled. If it is a string, it is a Pixi'VN flag name.
240
+ */
241
+ get disabled(): boolean;
242
+ set disabled(value: boolean | string);
243
+ private defaultHidden;
244
+ /**
245
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
246
+ */
247
+ get hidden(): boolean;
248
+ set hidden(value: boolean | string);
249
+ private _icon?;
250
+ /**
251
+ * The icon of the location.
252
+ */
253
+ get icon(): string | undefined;
254
+ }
255
+
256
+ declare class MapStoredClass extends NavigationAbstractClass implements MapBaseInternalInterface {
257
+ constructor(id: string, activities?: ActivityInterface[]);
258
+ get locations(): LocationInterface[];
259
+ }
260
+
261
+ /**
262
+ * The base model of a map. I suggest you extend this class to create your own map model.
263
+ * @example
264
+ * ```typescript
265
+ * export const mainMap = new MapBaseModel('main_map', {
266
+ * name: 'Main Map',
267
+ * image: "https://image.jpg",
268
+ * });
269
+ * ```
270
+ */
271
+ declare class MapBaseModel extends MapStoredClass implements MapBaseInternalInterface {
272
+ /**
273
+ * @param id The id of the map, it must be unique.
274
+ * @param props The properties of the map.
275
+ */
276
+ constructor(id: string, props?: MapBaseModelProps);
277
+ private defaultName;
278
+ /**
279
+ * The name of the map.
280
+ * If you set undefined, it will return the initial value of name.
281
+ */
282
+ get name(): string;
283
+ set name(value: string | undefined);
284
+ private _image?;
285
+ /**
286
+ * The image of the map.
287
+ */
288
+ get image(): string | undefined;
289
+ }
290
+
291
+ declare class RoomStoredClass extends NavigationAbstractClass implements RoomBaseInternalInterface {
292
+ /**
293
+ * The location where the room is.
294
+ */
295
+ private readonly _location;
296
+ constructor(id: string,
297
+ /**
298
+ * The location where the room is.
299
+ */
300
+ _location: LocationInterface, activities?: ActivityInterface[]);
301
+ get routine(): CommitmentInterface[];
302
+ get location(): LocationInterface;
303
+ get characters(): CharacterInterface[];
304
+ get automaticFunction(): OnRunAsyncFunction | undefined;
305
+ }
306
+
307
+ /**
308
+ * The base model of a room. I suggest you extend this class to create your own room model.
309
+ * **You must use the {@link RegisteredRooms.add} function to save the room in the registered rooms.**
310
+ * @example
311
+ * ```ts
312
+ * export const mcRoom = new RoomBaseModel('mc_room', mcHome, {
313
+ * name: "MC Room",
314
+ * icon: "https://icon.jpg",
315
+ * image: "https://image.jpg",
316
+ * })
317
+ * RegisteredRooms.add(mcRoom)
318
+ * ```
319
+ */
320
+ declare class RoomBaseModel extends RoomStoredClass {
321
+ /**
322
+ * @param id The id of the room, it must be unique.
323
+ * @param location The location where the room is.
324
+ * @param props The properties of the room.
325
+ */
326
+ constructor(id: string, location: LocationInterface, props?: RoomBaseModelProps);
327
+ private defaultName;
328
+ /**
329
+ * The name.
330
+ * If you set undefined, it will return the initial value of name.
331
+ */
332
+ get name(): string;
333
+ set name(value: string | undefined);
334
+ private _image?;
335
+ /**
336
+ * The image of the room.
337
+ */
338
+ get image(): string | undefined;
339
+ private defaultDisabled;
340
+ /**
341
+ * Whether is disabled. If it is a string, it is a Pixi'VN flag name.
342
+ */
343
+ get disabled(): boolean;
344
+ set disabled(value: boolean | string);
345
+ private defaultHidden;
346
+ /**
347
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
348
+ */
349
+ get hidden(): boolean;
350
+ set hidden(value: boolean | string);
351
+ private _icon?;
352
+ /**
353
+ * The function for rendering the icon of the room.
354
+ */
355
+ get icon(): string | undefined;
356
+ /**
357
+ * Get the character commitments of the room.
358
+ * @returns The character commitments of the room.
359
+ */
360
+ get routine(): CommitmentInterface[];
361
+ }
362
+
363
+ declare class QuestStoredClass extends StoredClassModel implements QuestBaseInternalInterface {
364
+ private readonly _stages;
365
+ constructor(id: string, _stages: StageInterface[], props?: {
366
+ /**
367
+ * The function that will be executed when the quest starts.
368
+ */
369
+ onStart?: OnRunEvent<QuestInterface>;
370
+ /**
371
+ * The function that will be executed when a stage end in the quest.
372
+ */
373
+ onNextStage?: OnRunEvent<QuestInterface>;
374
+ });
375
+ get stages(): StageInterface[];
376
+ get currentStageIndex(): number | undefined;
377
+ private set currentStageIndex(value);
378
+ get currentStage(): StageInterface | undefined;
379
+ get started(): boolean;
380
+ get completed(): boolean;
381
+ get inProgress(): boolean;
382
+ get failed(): boolean;
383
+ set failed(value: boolean);
384
+ private _onStart?;
385
+ get onStart(): undefined | OnRunEvent<QuestInterface>;
386
+ private _onNextStage?;
387
+ get onNextStage(): undefined | OnRunEvent<QuestInterface>;
388
+ start(props: OnRunProps): Promise<void>;
389
+ tryToGoNextStage(props: OnRunProps): Promise<boolean>;
390
+ completeCurrentStageAndGoNext(props: OnRunProps): Promise<boolean>;
391
+ goNextStage(props: OnRunProps): Promise<boolean>;
392
+ get currentStageMustStart(): boolean;
393
+ startCurrentStage(props: OnRunProps): Promise<void>;
394
+ }
395
+
396
+ declare class QuestBaseModel extends QuestStoredClass {
397
+ constructor(id: string, stages: StageInterface[], props: QuestProps);
398
+ private _name;
399
+ /**
400
+ * The name of the quest.
401
+ */
402
+ get name(): string;
403
+ private _description;
404
+ /**
405
+ * The description of the quest.
406
+ */
407
+ get description(): string;
408
+ private _icon?;
409
+ /**
410
+ * Icon of the quest.
411
+ */
412
+ get icon(): string | undefined;
413
+ private _image?;
414
+ /**
415
+ * Image of the quest.
416
+ */
417
+ get image(): string | undefined;
418
+ private _inDevelopment;
419
+ /**
420
+ * If the quest is in development.
421
+ */
422
+ get inDevelopment(): boolean;
423
+ }
424
+
425
+ declare class StageStoredClass extends StoredClassModel implements StageBaseInternalInterface {
426
+ constructor(id: string, options?: {
427
+ /**
428
+ * The function that will be executed when the stage starts.
429
+ */
430
+ onStart?: OnRunEvent<StageInterface>;
431
+ /**
432
+ * The function that will be executed when the stage ends.
433
+ */
434
+ onEnd?: OnRunEvent<StageInterface>;
435
+ /**
436
+ * The day required to start the stage.
437
+ * @example If the value is 3, and the previous stage ends on day 1, the stage will start on day 4.
438
+ */
439
+ daysRequiredToStart?: number;
440
+ /**
441
+ * The quests required to start the stage.
442
+ * @default []
443
+ */
444
+ questsRequiredToStart?: QuestsRequiredType[];
445
+ });
446
+ private _onStart?;
447
+ get onStart(): undefined | OnRunEvent<StageInterface>;
448
+ private _onEnd?;
449
+ get onEnd(): undefined | OnRunEvent<StageInterface>;
450
+ get completed(): boolean;
451
+ set completed(value: boolean);
452
+ get started(): boolean;
453
+ set started(value: boolean);
454
+ private get prevStageEndDay();
455
+ private set prevStageEndDay(value);
456
+ get startDay(): number | undefined;
457
+ get canStart(): boolean;
458
+ inizialize(): void;
459
+ start(props: OnRunProps): Promise<void>;
460
+ private _daysRequiredToStart?;
461
+ get daysRequiredToStart(): number;
462
+ private _questsRequiredToStart;
463
+ get questsRequiredToStart(): QuestsRequiredType[];
464
+ }
465
+
466
+ declare class StageBaseModel extends StageStoredClass {
467
+ constructor(id: string, props: StageProps);
468
+ private _name;
469
+ /**
470
+ * The name of the stage.
471
+ */
472
+ get name(): string;
473
+ private _description;
474
+ /**
475
+ * The description of the stage.
476
+ */
477
+ get description(): string;
478
+ private _adviceDescription;
479
+ /**
480
+ * The advice description of the stage.
481
+ */
482
+ get adviceDescription(): string;
483
+ private _image?;
484
+ /**
485
+ * The image of the stage.
486
+ */
487
+ get image(): string | undefined;
488
+ private _flags;
489
+ /**
490
+ * The list of flags that the player must complete to finish the stage.
491
+ */
492
+ get flags(): StageFlags[];
493
+ private _flagsRequiredToStart;
494
+ /**
495
+ * The list of flags required to start the stage.
496
+ */
497
+ get flagsRequiredToStart(): StageFlags[];
498
+ private _requestDescriptionToStart;
499
+ /**
500
+ * The description of the request to start the stage.
501
+ */
502
+ get requestDescriptionToStart(): string;
503
+ get completed(): boolean;
504
+ set completed(value: boolean);
505
+ get canStart(): boolean;
506
+ }
507
+
508
+ export { ActivityBaseModel, ActivityStoredClass, CommitmentBaseModel, CommitmentStoredClass, LocationBaseModel, LocationStoredClass, MapBaseModel, MapStoredClass, QuestBaseModel, QuestStoredClass, RoomBaseModel, RoomStoredClass, StageBaseModel, StageStoredClass };