Skip to content

Conversation

@KANAjetzt
Copy link
Member

@KANAjetzt KANAjetzt commented Apr 19, 2023

Splits up ModLoaderUtils into this new Classes:

/internal dir

  • Moved mod_loader_utils.gd to /internal/mod_loader_utils.gd
  • Moved /api/godot.gd to /internal/godot.gd
  • Created file.gd in /internal
  • Created cli.gd in /internal
  • Created path.gd in /internal

I also

  • moved the deprecated log functions to the bottom of mod_loader_utils.gd. - af1e728
  • moved _get_autoload_array() to ModLoaderGodot and removed get_autoload_index() because it was only used by the self setup. - 4fdae39

works towards #153

and moved all file related utils there
Moved all relevant functions from *mod_loader_utils.gd* and updated the function calls.
and removed `get_autoload_index()` because it was only used by the self setup. That is using *setup_utils.gd* now.
moved all relevant functions from *mod_loader_utils.gd*, updated all function calls.
@KANAjetzt KANAjetzt added the refactor / cleanup Improves readability or maintainability label Apr 19, 2023
@KANAjetzt KANAjetzt added this to the v6.0.0 milestone Apr 19, 2023
@KANAjetzt KANAjetzt requested review from a team, Qubus0 and ithinkandicode April 19, 2023 15:18
@KANAjetzt KANAjetzt self-assigned this Apr 19, 2023
Copy link
Collaborator

@Qubus0 Qubus0 left a comment

Choose a reason for hiding this comment

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

internalize all the things!

@KANAjetzt KANAjetzt added this pull request to the merge queue Apr 21, 2023
Merged via the queue into GodotModding:development with commit 9f4b902 Apr 21, 2023
@KANAjetzt KANAjetzt deleted the refactor_utils branch April 21, 2023 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor / cleanup Improves readability or maintainability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants