Skip to main content

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
TypeNameDescription
Dalamud.Game.Text.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.Text.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.Text.XivChatTypetypeThe chat type.