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

Utils for ModLoader autoload position #104

Merged
merged 7 commits into from
Feb 9, 2023
Merged

Utils for ModLoader autoload position #104

merged 7 commits into from
Feb 9, 2023

Conversation

KANAjetzt
Copy link
Collaborator

@KANAjetzt KANAjetzt commented Feb 8, 2023

Adds two functions to ModLoaderUtils so they can be used in mod_loader.gd and the setup script.

  • get_autoload_array() -> Array
    Get an array of all autoloads -> ["autoload/AutoloadName", ...]

  • get_autoload_index(autoload_name: String) -> int
    Get the index of a specific autoload

Updates code from #96 to use the new util.

Has to be merged after #99

@KANAjetzt KANAjetzt added enhancement New feature or request installation labels Feb 8, 2023
@KANAjetzt KANAjetzt requested review from ithinkandicode and a team February 8, 2023 20:17
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.

Perfect 👍

Copy link
Collaborator

@ithinkandicode ithinkandicode left a comment

Choose a reason for hiding this comment

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

yep yep love it, great work KANA 👍

addons/mod_loader/mod_loader.gd Show resolved Hide resolved
addons/mod_loader/mod_loader.gd Show resolved Hide resolved
@KANAjetzt KANAjetzt merged commit 47b75e2 into GodotModding:develop Feb 9, 2023
@KANAjetzt KANAjetzt deleted the get_mod_loader_position_index branch February 11, 2023 00:17
@KANAjetzt KANAjetzt mentioned this pull request Feb 15, 2023
@KANAjetzt KANAjetzt mentioned this pull request Feb 23, 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 installation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants