Creates a new KeyframeRecord instance.
The path to the SQLite database file.
Adds a keyframe to the database.
The offset in the VHS file.
The action count at this keyframe.
The template associated with this keyframe.
The level voxel data at this keyframe.
The bounds of the level.
OptionallevelData: string = "{}"Optional level data in JSON format. Default is "{}"
The ID of the newly created keyframe.
Close the database connection.
Gets the latest keyframe before a given action count for a specific template.
The action count to search before.
The template to filter by.
The bounds of the level.
The latest keyframe record or null if not found.
Purge keyframes after a specific action count.
The action count to purge keyframes after.
The number of rows deleted.
Vacuum the database to optimize it.
StaticgetGet a string key for level bounds.
The bounds to generate a key for.
The string key for the bounds.
I am a keyframe record for a BaseLevel. I manage level keyframes in my SQLite database, allowing for efficient retrieval and management of keyframe data.