Class ToastGui
This class facilitates interacting with and creating native toast windows.
Inheritance
Inherited Members
Namespace: Dalamud.Game.Gui.Toast
Assembly: Dalamud.dll
Syntax
public sealed class ToastGui : IDisposable, IServiceType
Methods
| Improve this Doc View SourceShowError(SeString)
Show an error toast message with the given content.
Declaration
public void ShowError(SeString message)
Parameters
| Type | Name | Description |
|---|---|---|
| SeString | message | The message to be shown. |
ShowError(String)
Show an error toast message with the given content.
Declaration
public void ShowError(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | The message to be shown. |
ShowNormal(SeString, ToastOptions)
Show a toast message with the given content.
Declaration
public void ShowNormal(SeString message, ToastOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SeString | message | The message to be shown. |
| ToastOptions | options | Options for the toast. |
ShowNormal(String, ToastOptions)
Show a toast message with the given content.
Declaration
public void ShowNormal(string message, ToastOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | The message to be shown. |
| ToastOptions | options | Options for the toast. |
ShowQuest(SeString, QuestToastOptions)
Show a quest toast message with the given content.
Declaration
public void ShowQuest(SeString message, QuestToastOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SeString | message | The message to be shown. |
| QuestToastOptions | options | Options for the toast. |
ShowQuest(String, QuestToastOptions)
Show a quest toast message with the given content.
Declaration
public void ShowQuest(string message, QuestToastOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | The message to be shown. |
| QuestToastOptions | options | Options for the toast. |
Events
| Improve this Doc View SourceErrorToast
Event that will be fired when an error toast is sent by the game or a plugin.
Declaration
public event ToastGui.OnErrorToastDelegate ErrorToast
Event Type
| Type | Description |
|---|---|
| ToastGui.OnErrorToastDelegate |
QuestToast
Event that will be fired when a quest toast is sent by the game or a plugin.
Declaration
public event ToastGui.OnQuestToastDelegate QuestToast
Event Type
| Type | Description |
|---|---|
| ToastGui.OnQuestToastDelegate |
Toast
Event that will be fired when a toast is sent by the game or a plugin.
Declaration
public event ToastGui.OnNormalToastDelegate Toast
Event Type
| Type | Description |
|---|---|
| ToastGui.OnNormalToastDelegate |
Explicit Interface Implementations
| Improve this Doc View SourceIDisposable.Dispose()
Disposes of managed and unmanaged resources.
Declaration
void IDisposable.Dispose()