Add generic 'Mods' tab to the GUI#1321
Open
UE4SS wants to merge 10 commits into
Open
Conversation
They previously mostly only worked on LuaMod. This change was done by adding lua/cpp functions, and making the pre-existing functions affect both LuaMod and CppMod.
We'll hopefully move the 'Mods' tab into its own main tab eventually, and also add BP mods to it.
TODO: Decide if the Lua file operations(Open, New buttons) should still exist, and if they should, they should redirect automatically to the Lua Debugger tab since that's where the editor is. TODO: Add BP mods.
In the future we may want to support these operations, but we don't right now, and supporting them is out of scope for this changeset.
It's part of the Mods tab, but abstracted out as function pointers because it's sometimes nonsensical for the Mods tab to have Lua mod controls like creating a new mod, or opening in the editor in the Lua Debugger tab.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This replaces the BPMods tab.
It's based on the Mods tab from the Lua Debugger tab, and both are powered by the same code.
It handles Lua, C++, and BP mods.
You can perform operations on Lua and C++ mods, but not on BP mods since that would be a new feature and be beyond the scope of this PR, so BP mods are displayed as always on.
Type of change