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

bootstrap SaveModule SP #71

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rslgp
Copy link
Contributor

@rslgp rslgp commented Mar 10, 2024

encapsulates Save Load complexity, and can be continued with MP compatibility,
the dev only need to instance the SaveModule, and use GlobalVar_save(), or GlobalVar_load(), and worry only about their own data structure save logic, not worry about PZ details and version about it

@rslgp
Copy link
Contributor Author

rslgp commented Mar 10, 2024

and it can be improved to handle MP compatible too, like helicoper events does

so dev dont worry about SP and MP implementation about save load

just call the method from SaveModule,

and pass they own save load functions, dealing with prep data, and received data

@rslgp
Copy link
Contributor Author

rslgp commented Mar 10, 2024

and there is the way using filewriter too, that can add more versatility

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.

1 participant