mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-29 00:10:02 -05:00
impr: Added support for returning results from scripts
This commit is contained in:
@@ -3,14 +3,18 @@ using ImGuiNET;
|
||||
|
||||
class Script : IScript {
|
||||
|
||||
public static void OnLoad()
|
||||
public static int OnLoad()
|
||||
{
|
||||
// This function is executed the first time the Plugin is loaded
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
public static void Main()
|
||||
public static int Main()
|
||||
{
|
||||
// This function is executed when the plugin is selected in the "Run Script..." menu
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user