Skip to content

Adding Basic Persistence Models

Latest
Compare
Choose a tag to compare
@grofit grofit released this 27 Oct 09:56
· 43 commits to master since this release

Summary

For a while its been discussed that there should be a separation between the "live" representation of data and the "persisted" representation of data with guidance being that you should create cutdown models that represent just what you need and manually transform/serialize your data as needed, and this has worked fine however its not super easy for newer devs to just get up and running with.

So to try and improve on that experience out of the box we have added some basic persistence based data models with some mapping implementations which act as a basis for you to create your own persistence logic that will turn a character, item, inventory etc into something that can be easily persisted and then re-hydrated when read back in.

To find out more go view the online demos at https://openrpg.github.io/OpenRpg.Demos.Web