-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Currently, all functions from a sv_XXXX namespace are displayed like so:
And when copy-pasting code from the data viewer into our Rust macro, we need to manually prepend sv_module_access::
(or whatever the namespace is) to those appropriate lines. It would be very beneficial to display that namespace name before those functions calls outright to not only work better with the Rust macro, but also to generally help with readability of the ACMD code in the data viewer.
Just having grab
isn't a very self-explanatory of what the function is, but having the sv_module_access namespace before it gives a better clue as to where/what the function is.
This would preferably apply to all sv_XXX namespace functions EXCEPT sv_animcmd ONES. This is to maintain compatibility with the Rust macro.
If this was to be fixed, all that would need to happen is to have function calls from the sv_XXXX namespace show up like so:
sv_module_access::function_name(blah, blah, blah)
sv_system::battle_object()
Examples of these situations can found in the following:
For sv_module_access, any Catch
script will use sv_module_access::grab
Hero's AttackS4 contains a sv_system::battle_object call