Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.6 -> Main For Possible SW 1.6 #273

Merged
merged 22 commits into from
Dec 3, 2023
Merged

1.6 -> Main For Possible SW 1.6 #273

merged 22 commits into from
Dec 3, 2023

Conversation

cheese3660
Copy link
Member

This adds 2 things
Value constraints for configurations, and per save mod save data

Falki-git and others added 22 commits November 5, 2023 21:47
… and loading of data stored in the save game files
Add API registration for mods that want to use game's built-in saving and loading of data stored in the save game files
Error logging in AddressableAction
Previously plugin savedata could have only been a class with fields and properties.
Now dictionaries are also supported.

For example:
ModSaves.RegisterSaveLoadGameData<Dictionary<string, SaveDataAdapter>>(
            "My mod GUID",
            OnSave,
            OnLoad
        );
…ion.Bind` in the mod base plugin"

This reverts commit a80cedd
Copy link
Contributor

@jan-bures jan-bures left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cheese3660 cheese3660 merged commit d7f4545 into main Dec 3, 2023
2 checks passed
@jan-bures jan-bures deleted the 1.6 branch December 20, 2023 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants