diff --git a/Dalamud/Game/Internal/Gui/GameGui.cs b/Dalamud/Game/Internal/Gui/GameGui.cs index 6cbbe37f7..70ba8f8cd 100644 --- a/Dalamud/Game/Internal/Gui/GameGui.cs +++ b/Dalamud/Game/Internal/Gui/GameGui.cs @@ -418,6 +418,10 @@ namespace Dalamud.Game.Internal.Gui { return this.toggleUiHideHook.Original(thisPtr, unknownByte); } + /// + /// Gets a pointer to the game's UI module. + /// + /// IntPtr pointing to UI module public IntPtr GetUIModule() { return this.getUiModule(Marshal.ReadIntPtr(Address.GetUIModulePtr)); diff --git a/Dalamud/Game/Internal/Gui/ToastGui.cs b/Dalamud/Game/Internal/Gui/ToastGui.cs index 21c6e92a4..89b166c11 100755 --- a/Dalamud/Game/Internal/Gui/ToastGui.cs +++ b/Dalamud/Game/Internal/Gui/ToastGui.cs @@ -25,11 +25,19 @@ namespace Dalamud.Game.Internal.Gui this.showToast = Marshal.GetDelegateForFunctionPointer(Address.ShowToast); } + /// + /// Show a toast message with the given content. + /// + /// The message to be shown public void Show(string message) { this.Show(Encoding.UTF8.GetBytes(message)); } + /// + /// Show a toast message with the given content. + /// + /// The message to be shown public void Show(SeString message) { this.Show(message.Encode());