Hi Chris,
I am encrypting and decrypting save data so player cannot change the data (I am using json format, cause I save some custom data).
• First in OnFinishSaving event the savefile parameter has empty string in fileName field see here. Not sure if it is wanted. (in OnBeforeLoading the field is OK).
• Second I thought that OnBeforeLoading is called before it loads data, but when looking at the implementation it is not. I would need it to be called before it loads the data so I can decrypt the data, cause otherwise it throws an exception.
Do you have some idea how can I achieve this some other way ?
Thanks.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Version of AC is 1.68.1.