isaacscript-common 1.0.566 → 1.0.567

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.
@@ -6,6 +6,13 @@
6
6
  */
7
7
  export declare function changeRoom(roomGridIndex: int): void;
8
8
  export declare function getAllRoomGridIndexes(): int[];
9
+ /**
10
+ * Helper function to get the current dimension. Most of the time, this will be `Dimension.MAIN`,
11
+ * but it can change if e.g. the player is in the mirror world of Downpour/Dross.
12
+ *
13
+ * Note that this function does correctly handle detecting the Death Certificate dimension, which is
14
+ * tricky to properly detect.
15
+ */
9
16
  export declare function getCurrentDimension(): Dimension;
10
17
  /** An alias to the `Level.GetCurrentRoomDesc()` method. */
11
18
  export declare function getCurrentRoomDescReadOnly(): RoomDescriptorReadOnly;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.0.566",
3
+ "version": "1.0.567",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",