@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
@@ -1702,6 +1702,24 @@ var _GameStepManager = class _GameStepManager {
1702
1702
  return yield _GameStepManager.runCurrentStep(props);
1703
1703
  });
1704
1704
  }
1705
+ /**
1706
+ * When the player is in a choice menu, can use this function to exit to the choice menu.
1707
+ * @param props The props to pass to the step.
1708
+ * @returns StepLabelResultType or undefined.
1709
+ * @example
1710
+ * ```typescript
1711
+ * GameStepManager.exitToChoiceMenu(yourParams).then((result) => {
1712
+ * if (result) {
1713
+ * // your code
1714
+ * }
1715
+ * })
1716
+ * ```
1717
+ */
1718
+ static exitToChoiceMenu(props) {
1719
+ return __async(this, null, function* () {
1720
+ return _GameStepManager.runNextStep(props);
1721
+ });
1722
+ }
1705
1723
  /* After Update Methods */
1706
1724
  // /**
1707
1725
  // * After the update or code edit, some steps or labels may no longer match.
@@ -2326,7 +2344,7 @@ function showWithDissolveTransition(tag, image, speed, priority) {
2326
2344
  }
2327
2345
 
2328
2346
  // src/constants.ts
2329
- var PIXIVN_VERSION = "0.5.1";
2347
+ var PIXIVN_VERSION = "0.5.2";
2330
2348
 
2331
2349
  // src/functions/SavesUtility.ts
2332
2350
  function getSaveData() {