isaacscript-common 1.2.208 → 1.2.209

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.
@@ -16,8 +16,6 @@ interface CopyRNGReturn {
16
16
  */
17
17
  export declare function copyRNG<R extends RNG | SerializedRNG, S extends SerializationType>(rng: R, serializationType: S): CopyRNGReturn[S];
18
18
  export declare function copyRNG<R extends RNG | SerializedRNG>(rng: R): CopyRNGReturn[SerializationType.NONE];
19
- /** Helper function to get the next seed value for the provided RNG object. */
20
- export declare function getNextSeed(rng: RNG): Seed;
21
19
  /**
22
20
  * Helper function to get a random `Seed` value to be used in spawning entities and so on. Use this
23
21
  * instead of calling the `Random` function directly since that can return a value of 0 and crash
@@ -92,10 +92,6 @@ function ____exports.copyRNG(self, rng, serializationType)
92
92
  end
93
93
  until true
94
94
  end
95
- function ____exports.getNextSeed(self, rng)
96
- rng:Next()
97
- return rng:GetSeed()
98
- end
99
95
  function ____exports.isSerializedRNG(self, object)
100
96
  local objectType = type(object)
101
97
  if objectType ~= "table" then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.2.208",
3
+ "version": "1.2.209",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",