I named this thread like that because I don’t know if it deserves a new thread. Let me know if I should change something
I wanted to try to implement filters for save manager (for regular saves, autosaves and quicksaves) and couldn’t find a way to get the save type of each save in list. Should I dive deeper into the more hard coded things or just not continue the work?
Also how should I name the regular saves filter? Right now I made placeholder “regular” but I think it needs a better name.
The special save types (versus manual, this term is already displayed to the user in the save load menu) are determined based on the filename. It’s detected with a regex here:
The actual save type is stored inside the file in the save info section JSON. That variable is of type SaveType.SaveInformation
Ok so I kinda got stuck when it comes to refreshing save list with showing only specified type saves, but you don’t need to help me unless you want to.
Edit:
I kinda got it working, but I have feeling the code is kinda messy. I’ll show it here anyways.