mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 08:17:47 +01:00
docs: add missing docs
This commit is contained in:
parent
ab3b35dfc1
commit
94d27b2428
2 changed files with 12 additions and 0 deletions
|
|
@ -418,6 +418,10 @@ namespace Dalamud.Game.Internal.Gui {
|
||||||
return this.toggleUiHideHook.Original(thisPtr, unknownByte);
|
return this.toggleUiHideHook.Original(thisPtr, unknownByte);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets a pointer to the game's UI module.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>IntPtr pointing to UI module</returns>
|
||||||
public IntPtr GetUIModule()
|
public IntPtr GetUIModule()
|
||||||
{
|
{
|
||||||
return this.getUiModule(Marshal.ReadIntPtr(Address.GetUIModulePtr));
|
return this.getUiModule(Marshal.ReadIntPtr(Address.GetUIModulePtr));
|
||||||
|
|
|
||||||
|
|
@ -25,11 +25,19 @@ namespace Dalamud.Game.Internal.Gui
|
||||||
this.showToast = Marshal.GetDelegateForFunctionPointer<ShowToastDelegate>(Address.ShowToast);
|
this.showToast = Marshal.GetDelegateForFunctionPointer<ShowToastDelegate>(Address.ShowToast);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Show a toast message with the given content.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="message">The message to be shown</param>
|
||||||
public void Show(string message)
|
public void Show(string message)
|
||||||
{
|
{
|
||||||
this.Show(Encoding.UTF8.GetBytes(message));
|
this.Show(Encoding.UTF8.GetBytes(message));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Show a toast message with the given content.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="message">The message to be shown</param>
|
||||||
public void Show(SeString message)
|
public void Show(SeString message)
|
||||||
{
|
{
|
||||||
this.Show(message.Encode());
|
this.Show(message.Encode());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue