is there an equivelant to something like this
string item = ES3.Save<GameObject> ("Gameobject" , this);
and ofc
ES3.Load<GameObject> (item );
i just want to put the data into a database.
if there is nothing like that is the tag System work in ES3 the same way it does in Es2 for Saving Game objects in Es3 to the same file ?
like this ES3.Save<GameObject> ("Gameobject" , this , "Playername inventory" +".txt?tag= normal Tag stuff ");
can ES3 Save to a String variable and not just a file ?
-
- Posts: 1
- Joined: Mon Aug 28, 2017 11:16 pm
Re: can ES3 Save to a String variable and not just a file ?
Hi there,
This is not yet possible as the functionality to do it has not yet entered the beta.
However, you can save the data to file and load this as a string using ES3.LoadRawString.
In the future there will be a LoadRawString method in the ES3File class, which is the main class for managing data in memory rather than on disk.
Also just to clarify, the first parameter in the ES3.Save methods is the tag (or 'key' as it's now referred to), and the third (optional) parameter is the filename.
Please see the documentation for more information on the parameters:
http://docs.moodkie.com/easy-save-3/es3 ... /es3-save/
http://docs.moodkie.com/easy-save-3/getting-started/
All the best,
Joel
This is not yet possible as the functionality to do it has not yet entered the beta.
However, you can save the data to file and load this as a string using ES3.LoadRawString.
In the future there will be a LoadRawString method in the ES3File class, which is the main class for managing data in memory rather than on disk.
Also just to clarify, the first parameter in the ES3.Save methods is the tag (or 'key' as it's now referred to), and the third (optional) parameter is the filename.
Please see the documentation for more information on the parameters:
http://docs.moodkie.com/easy-save-3/es3 ... /es3-save/
http://docs.moodkie.com/easy-save-3/getting-started/
All the best,
Joel