Class XivChatTypeExtensions
Extension methods for the Dalamud.Game.Text.XivChatType type.
Assembly: Dalamud.dll
Declaration
public static class XivChatTypeExtensions
Methods
GetDetails(XivChatType)
Get the InfoAttribute associated with this chat type.
Declaration
public static XivChatTypeInfoAttribute? GetDetails(this XivChatType chatType)
Returns
Dalamud.Game.Text.XivChatTypeInfoAttribute: The info attribute.
Parameters
| Type | Name | Description |
|---|---|---|
| Dalamud.Game.Text.XivChatType | chatType | The chat type. |
IsUsedByGm(XivChatType)
Gets whether the chat type is used by a GM to talk.
Declaration
public static bool IsUsedByGm(this XivChatType type)
Returns
System.Boolean: True if used by GM.
Parameters
| Type | Name | Description |
|---|---|---|
| Dalamud.Game.Text.XivChatType | type | The chat type. |
AppliesRelationKind(XivChatType)
Gets whether the chat type utilizes Dalamud.Game.Text.XivChatRelationKind.
Declaration
public static bool AppliesRelationKind(this XivChatType type)
Returns
System.Boolean: True if Dalamud.Game.Text.XivChatRelationKind are used.
Parameters
| Type | Name | Description |
|---|---|---|
| Dalamud.Game.Text.XivChatType | type | The chat type. |