Beta!

Mods / MagicGuiEditor

Category: #Utility
Author: VeryGoodDog
Side: Client
Created: Jun 8th
Last modified: Jun 8th
Downloads: 19

MagicGuiEditor

The MagicGuiEditor(Mod), MGEM, reloads GUIs as you update their code.

Configuration

In order to recompile your GUI MGEM needs a few things:

  • Path of the file, eg aliases/GuiDialogAliasEditor.cs.
  • Namespaced type name, eg CommandMacros.GuiDialogAliasEditor.
  • Assemblies needed to compile the file. MGEM automatically includes every assembly in the game by default.

To set these, use the .mgemconfig command:

  • .mgemconfig: Prints the current settings.
  • .mgemconfig pathname <path>: Sets the path.
  • .mgemconfig namespacedTypeName <name>: Sets the type name.
  • .mgemconfig refs add <assembly>: Adds a reference assembly.
  • .mgemconfig refs remove <assembly>: Removes an assembly.

Current Limitations

MGEM cannot handle methods being deleted.

Additionally, because methods are only redirected, properties set in the constructor are not updated. This means any dialog bounds configured in the ctor will not update. If you move the configuration to happen in the GuiDialog.OnGuiOpened() method this issue is resolved.

These problems may be correctly resolved in the future.

Version For Game version Downloads Release date Changelog Download
v1.0.1 10 Jun 8th Show MagicGuiEditor_1.0.1_VS_1.14.10.zip
v1.0.0 9 Jun 8th Show MagicGuiEditor_1.0.0_VS_1.14.10.zip

1 Comments

DArkHekRoMaNT, 1 hour ago

Wow! Best mod 😄

delete edit