Package-level declarations

Types

Link copied to clipboard
data class ChapterRestorePoint(val sceneRestorePoint: SceneRestorePoint, val scene: Int)

Provides a restore point for a Chapter with a specified sceneRestorePoint and scene.

Link copied to clipboard
data class CharacterRestorePoint(val character: Character, val emotion: Emotion, val position: Position)

Provides a restore point for a Character with a specified character, emotion and position.

Link copied to clipboard
data class RestorePoint(val name: String, val flags: Map<String, Boolean>, val storyRestorePoint: StoryRestorePoint, val creationDate: LocalDateTime = LocalDateTime.now(), val thumbnail: Thumbnail = Thumbnail.NONE)

Provides a restore point with a specified name, flags and storyRestorePoint. Optionally a creationDate and thumbnail can be specified.

Link copied to clipboard

Provides an object for parsing a RestorePoint to and from JSON.

Link copied to clipboard

Provides a serializer for RestorePoint objects.

Link copied to clipboard
data class SceneRestorePoint(val characterRestorePoints: List<CharacterRestorePoint>, val step: Int)

Provides a restore point for a Scene with a specified list of characterRestorePoints and step.

Link copied to clipboard
data class StoryRestorePoint(val chapterRestorePoint: ChapterRestorePoint, val chapter: Int)

Provides a restore point for a Story with a specified chapterRestorePoint and chapter.

Link copied to clipboard
data class Thumbnail(val width: Int, val height: Int, val rgbBytes: List<Byte>)

Provides a thumbnail in 24-bit RGB format with a specified width, height and rgbBytes.