bindings: DungeonFile.fromJson #454
Labels
No labels
area/ci-release
area/cli
area/docs
area/dungeon
area/ftl
area/graphics
area/gui
area/music
area/saves
area/tooling
port/amiga
port/dos
port/fm-towns
port/mac
port/pc98
port/sega-cd
priority/high
priority/low
priority/medium
type/bug
type/chore
type/docs
type/feature
type/research
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jqueuniet/dm2-tools#454
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
SaveGame.fromJsonrebuilds a save handle from its dump, but a dungeon only rebuilds through the freedungeonFromJson, which returns bytes.Proposal
DungeonFile.fromJson(json), a handle from atoJsondump;dungeonFromJsonstays as a wrapper or goes, as for the other free functions.Acceptance
DungeonFile.fromJson(file.toJson()).toBytes()equals the original bytes on every fixture (addingtoBytesif needed).