ExVenture.StagedChanges (ExVenture v0.1.0) View Source

Context for staging changes to structs

Instead of saving directly to a struct any updates, save attribute/value pairs for the struct. They are applied directly in the web admin, but the game will instead load only what is committed to the struct.

Link to this section Summary

Functions

Apply a struct's staged changes to the struct

Get all changes for all zones

Clear out all staged changes for a struct

Commit all of the staged changes to the structs

Delete a single staged change

Get a staged change by id

Record changes to a struct in staged changes

Link to this section Functions

Apply a struct's staged changes to the struct

Does not save the changes

Get all changes for all zones

Clear out all staged changes for a struct

Commit all of the staged changes to the structs

Delete a single staged change

Get a staged change by id

Link to this function

record_changes(changeset)

View Source

Record changes to a struct in staged changes