Page 1 of 1

KeyExists from within ES3Reader

Posted: Sun May 03, 2020 5:20 pm
by sgoffman
Hi!

I'm migrating an old project from ES2 to ES3, but ES3Reader doesn't seem to have an equivalent to ESReader's "TagExists". I know there's ES3.KeyExists, but I'd rather not take the perf hit of loading the save file again, separately, every time I need to check for a key.

Is there any way to check for a key from within an already-open ES3Reader?

Re: KeyExists from within ES3Reader

Posted: Sun May 03, 2020 5:44 pm
by Joel
Hi there,

I've moved this to the Easy Save 3 forum as this doesn't appear to be Easy Save 2 related.

ES3Reader is only used internally in Easy Save 3 and should not be used. Instead we provide the ES3File API in Easy Save 3 which has the same benefits, but in a much simpler API: https://docs.moodkie.com/easy-save-3/es ... g-es3file/

All the best,
Joel

Re: KeyExists from within ES3Reader

Posted: Mon May 04, 2020 1:40 am
by sgoffman
Thanks Joel! I'll look at switching to ES3File.