Skip to content

Room Clear Frame

Defined in: packages/isaacscript-common/src/classes/features/other/RoomClearFrame.ts:14

  • Feature

getRoomClearGameFrame(): int | undefined

Defined in: packages/isaacscript-common/src/classes/features/other/RoomClearFrame.ts:54

Helper function to get the game frame (i.e. Game.GetFrameCount) of the last time that this room was cleared. Returns undefined if the room has never been cleared.

Note that if the room is left, all room clear tracking for it will be discarded.

In order to use this function, you must upgrade your mod with ISCFeature.ROOM_CLEAR_FRAME.

int | undefined

getRoomClearRenderFrame(): int | undefined

Defined in: packages/isaacscript-common/src/classes/features/other/RoomClearFrame.ts:69

Helper function to get the render frame (i.e. Isaac.GetFrameCount) of the last time that this room was cleared. Returns undefined if the room has never been cleared.

Note that if the room is left, all room clear tracking for it will be discarded.

In order to use this function, you must upgrade your mod with ISCFeature.ROOM_CLEAR_FRAME.

int | undefined

getRoomClearRoomFrame(): int | undefined

Defined in: packages/isaacscript-common/src/classes/features/other/RoomClearFrame.ts:84

Helper function to get the room frame (i.e. Room.GetFrameCount) of the last time that this room was cleared. Returns undefined if the room has never been cleared.

Note that if the room is left, all room clear tracking for it will be discarded.

In order to use this function, you must upgrade your mod with ISCFeature.ROOM_CLEAR_FRAME.

int | undefined