Hi there,
There's currently no method for this, but this could be achieved as follows:
public Type ES3GetType(string key)
{
using(var reader = ES3Reader.Create())
{
if(!Goto(key))
throw new KeyNotFoundException("Key \"" + key + "\" was not found in file \""+settings.FullPath+"\". Use Load<T>(key, defaultValue) if you want to return a default value if the key does not exist.");
return ReadTypeFromHeader<object>();
}
}
With regards to finding all keys of a certain type, this would be less trivial. As we've not had a request for this before (in Easy Save 2 or Easy Save 3) we would need more interest to warrant implementing this feature.
All the best,
Joel