GodotModding / GodotModding/godot-mod-loader

investigate if we can insert hooks in the middle of methods

Open
#473 0 comments 0 reactions 0 assignees View on GitHub
4.x enhancement investigate
Dominant language
GDScript
Stars
675
Forks
54
Avg merge
2m
Merged PRs (30d)
2

Description

with dynamic hook gen it should be possible for us to insert new hooks at any point of a method.
each insertion will of course change the line numbers so we'll have to keep track of how the vanilla line numbers change, if we are basing the positioning on those (can't think of a more foolproof way)

potential issues
- indentation needs to be detected
- this is rather sensitive to changes between game versions

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.