Skip to main content
Version: 15.x (API 15) [Legacy]

Class XivChatTypeExtensions

Extension methods for the Dalamud.Game.Chat.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.Chat.XivChatTypeInfoAttribute: The info attribute.

Parameters
TypeNameDescription
Dalamud.Game.Chat.XivChatTypechatTypeThe 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
TypeNameDescription
Dalamud.Game.Chat.XivChatTypetypeThe 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
TypeNameDescription
Dalamud.Game.Chat.XivChatTypetypeThe chat type.