@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
package/dist/index.mjs CHANGED
@@ -1145,7 +1145,7 @@ function showWithDissolveTransition(tag, image, speed, priority) {
1145
1145
  }
1146
1146
 
1147
1147
  // src/constants.ts
1148
- var PIXIVN_VERSION = "0.5.1";
1148
+ var PIXIVN_VERSION = "0.5.2";
1149
1149
 
1150
1150
  // src/functions/SavesUtility.ts
1151
1151
  function getSaveData() {
@@ -2231,6 +2231,24 @@ var _GameStepManager = class _GameStepManager {
2231
2231
  return yield _GameStepManager.runCurrentStep(props);
2232
2232
  });
2233
2233
  }
2234
+ /**
2235
+ * When the player is in a choice menu, can use this function to exit to the choice menu.
2236
+ * @param props The props to pass to the step.
2237
+ * @returns StepLabelResultType or undefined.
2238
+ * @example
2239
+ * ```typescript
2240
+ * GameStepManager.exitToChoiceMenu(yourParams).then((result) => {
2241
+ * if (result) {
2242
+ * // your code
2243
+ * }
2244
+ * })
2245
+ * ```
2246
+ */
2247
+ static exitToChoiceMenu(props) {
2248
+ return __async(this, null, function* () {
2249
+ return _GameStepManager.runNextStep(props);
2250
+ });
2251
+ }
2234
2252
  /* After Update Methods */
2235
2253
  // /**
2236
2254
  // * After the update or code edit, some steps or labels may no longer match.