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

feat: ✨ Utility: Add 2 funcs for saving data to files #143

Merged

Conversation

ithinkandicode
Copy link
Collaborator

@ithinkandicode ithinkandicode commented Feb 27, 2023

Adds two helpers for saving data to a file.

func save_string_to_file(save_string: String, filepath: String) -> bool:
func save_dictionary_to_file(data: Dictionary, filepath: String) -> bool:

Docs: https://github.com/GodotModding/godot-mod-loader/wiki/Upcoming-Features#saving

Before: `save_dictionary_to_file`
After: `save_dictionary_to_json_file`
Copy link
Member

@KANAjetzt KANAjetzt left a comment

Choose a reason for hiding this comment

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

@ithinkandicode ithinkandicode merged commit 68fe89d into GodotModding:development Feb 27, 2023
@ithinkandicode ithinkandicode deleted the utility-file-saving branch February 27, 2023 11:41
@ithinkandicode ithinkandicode changed the title Utility: Add 2 funcs for saving data to files feat: ✨ Utility: Add 2 funcs for saving data to files Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants