@drincs/pixi-vn 0.5.1 → 0.5.2

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 (53) hide show
  1. package/dist/classes/CharacterBaseModel.js.map +1 -1
  2. package/dist/classes/CharacterBaseModel.mjs.map +1 -1
  3. package/dist/classes/StoredClassModel.js.map +1 -1
  4. package/dist/classes/StoredClassModel.mjs.map +1 -1
  5. package/dist/classes/index.js.map +1 -1
  6. package/dist/classes/index.mjs.map +1 -1
  7. package/dist/classes/ticker/TickerFadeAlpha.js.map +1 -1
  8. package/dist/classes/ticker/TickerFadeAlpha.mjs.map +1 -1
  9. package/dist/classes/ticker/TickerMove.js.map +1 -1
  10. package/dist/classes/ticker/TickerMove.mjs.map +1 -1
  11. package/dist/classes/ticker/TickerRotate.js.map +1 -1
  12. package/dist/classes/ticker/TickerRotate.mjs.map +1 -1
  13. package/dist/classes/ticker/index.js.map +1 -1
  14. package/dist/classes/ticker/index.mjs.map +1 -1
  15. package/dist/constants.d.mts +1 -1
  16. package/dist/constants.d.ts +1 -1
  17. package/dist/constants.js +1 -1
  18. package/dist/constants.js.map +1 -1
  19. package/dist/constants.mjs +1 -1
  20. package/dist/constants.mjs.map +1 -1
  21. package/dist/functions/DialogueUtility.js +18 -0
  22. package/dist/functions/DialogueUtility.js.map +1 -1
  23. package/dist/functions/DialogueUtility.mjs +18 -0
  24. package/dist/functions/DialogueUtility.mjs.map +1 -1
  25. package/dist/functions/FlagsUtility.js.map +1 -1
  26. package/dist/functions/FlagsUtility.mjs.map +1 -1
  27. package/dist/functions/GameUtility.js.map +1 -1
  28. package/dist/functions/GameUtility.mjs.map +1 -1
  29. package/dist/functions/ImageUtility.js.map +1 -1
  30. package/dist/functions/ImageUtility.mjs.map +1 -1
  31. package/dist/functions/SavesUtility.js +19 -1
  32. package/dist/functions/SavesUtility.js.map +1 -1
  33. package/dist/functions/SavesUtility.mjs +19 -1
  34. package/dist/functions/SavesUtility.mjs.map +1 -1
  35. package/dist/functions/index.js +19 -1
  36. package/dist/functions/index.js.map +1 -1
  37. package/dist/functions/index.mjs +19 -1
  38. package/dist/functions/index.mjs.map +1 -1
  39. package/dist/index.js +19 -1
  40. package/dist/index.js.map +1 -1
  41. package/dist/index.mjs +19 -1
  42. package/dist/index.mjs.map +1 -1
  43. package/dist/managers/StepManager.d.mts +14 -0
  44. package/dist/managers/StepManager.d.ts +14 -0
  45. package/dist/managers/StepManager.js +18 -0
  46. package/dist/managers/StepManager.js.map +1 -1
  47. package/dist/managers/StepManager.mjs +18 -0
  48. package/dist/managers/StepManager.mjs.map +1 -1
  49. package/dist/managers/index.js +18 -0
  50. package/dist/managers/index.js.map +1 -1
  51. package/dist/managers/index.mjs +18 -0
  52. package/dist/managers/index.mjs.map +1 -1
  53. package/package.json +1 -1
@@ -1708,6 +1708,24 @@ var _GameStepManager = class _GameStepManager {
1708
1708
  return yield _GameStepManager.runCurrentStep(props);
1709
1709
  });
1710
1710
  }
1711
+ /**
1712
+ * When the player is in a choice menu, can use this function to exit to the choice menu.
1713
+ * @param props The props to pass to the step.
1714
+ * @returns StepLabelResultType or undefined.
1715
+ * @example
1716
+ * ```typescript
1717
+ * GameStepManager.exitToChoiceMenu(yourParams).then((result) => {
1718
+ * if (result) {
1719
+ * // your code
1720
+ * }
1721
+ * })
1722
+ * ```
1723
+ */
1724
+ static exitToChoiceMenu(props) {
1725
+ return __async(this, null, function* () {
1726
+ return _GameStepManager.runNextStep(props);
1727
+ });
1728
+ }
1711
1729
  /* After Update Methods */
1712
1730
  // /**
1713
1731
  // * After the update or code edit, some steps or labels may no longer match.
@@ -2332,7 +2350,7 @@ function showWithDissolveTransition(tag, image, speed, priority) {
2332
2350
  }
2333
2351
 
2334
2352
  // src/constants.ts
2335
- var PIXIVN_VERSION = "0.5.1";
2353
+ var PIXIVN_VERSION = "0.5.2";
2336
2354
 
2337
2355
  // src/functions/SavesUtility.ts
2338
2356
  function getSaveData() {