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

Class SeString

This class provices static utility functions for ReadOnlySeStrings.

Assembly: Dalamud.dll​
Declaration
public static class SeString

Methods​

CreateItemLink(uint, bool, ReadOnlySeString)​

Creates a ReadOnlySeString representing an entire macro chain that can be used to link an item in the chat log.

Declaration
public static ReadOnlySeString CreateItemLink(uint itemId, bool isHq, ReadOnlySeString displayNameOverride = default)
Returns​

Lumina.Text.ReadOnly.ReadOnlySeString: A ReadOnlySeString containing all the macros necessary to display an item link in the chat log.

Parameters​
TypeNameDescription
System.UInt32itemIdThe id of the item to link.
System.BooleanisHqWhether to link the high-quality variant of the item.
Lumina.Text.ReadOnly.ReadOnlySeStringdisplayNameOverrideAn optional name override to display, instead of the actual item name.

CreateItemLink(Item, bool, ReadOnlySeString)​

Creates a ReadOnlySeString representing an entire macro chain that can be used to link an item in the chat log.

Declaration
public static ReadOnlySeString CreateItemLink(Item item, bool isHq, ReadOnlySeString displayNameOverride = default)
Returns​

Lumina.Text.ReadOnly.ReadOnlySeString: A ReadOnlySeString containing all the macros necessary to display an item link in the chat log.

Parameters​
TypeNameDescription
Dalamud.Excel.Sheets.ItemitemThe Lumina Item to link.
System.BooleanisHqWhether to link the high-quality variant of the item.
Lumina.Text.ReadOnly.ReadOnlySeStringdisplayNameOverrideAn optional name override to display, instead of the actual item name.

CreateItemLink(uint, ItemKind, ReadOnlySeString)​

Creates a ReadOnlySeString representing an entire macro chain that can be used to link an item in the chat log.

Declaration
public static ReadOnlySeString CreateItemLink(uint itemId, ItemKind kind = ItemKind.Normal, ReadOnlySeString displayNameOverride = default)
Returns​

Lumina.Text.ReadOnly.ReadOnlySeString: A ReadOnlySeString containing all the macros necessary to display an item link in the chat log.

Parameters​
TypeNameDescription
System.UInt32itemIdThe id of the item to link.
Dalamud.Utility.ItemKindkindThe kind of item to link.
Lumina.Text.ReadOnly.ReadOnlySeStringdisplayNameOverrideAn optional name override to display, instead of the actual item name.

CreateMapLink(IGameObject)​

Creates a ReadOnlySeString representing an entire macros chain that can be used to link a map position of a GameObject in the chat log.

Declaration
public static ReadOnlySeString CreateMapLink(IGameObject obj)
Returns​

Lumina.Text.ReadOnly.ReadOnlySeString: A ReadOnlySeString containing all of the macros necessary to display a map link in the chat log.

Parameters​
TypeNameDescription
Dalamud.Game.ClientState.Objects.Types.IGameObjectobjThe GameObject, which position should be used.

CreateMapLink(Level)​

Creates a ReadOnlySeString representing an entire macros chain that can be used to link a Level position in the chat log.

Declaration
public static ReadOnlySeString CreateMapLink(Level levelRow)
Returns​

Lumina.Text.ReadOnly.ReadOnlySeString: A ReadOnlySeString containing all of the macros necessary to display a map link of a Level position in the chat log.

Parameters​
TypeNameDescription
Dalamud.Excel.Sheets.LevellevelRowThe Level row.

CreateMapLink(WorldCoordinate, uint)​

Creates a ReadOnlySeString representing an entire macros chain that can be used to link a map position in the chat log.

Declaration
public static ReadOnlySeString CreateMapLink(WorldCoordinate worldPos, uint placeNameIdOverride = 0)
Returns​

Lumina.Text.ReadOnly.ReadOnlySeString: A ReadOnlySeString containing all of the macros necessary to display a map link in the chat log.

Parameters​
TypeNameDescription
Dalamud.Utility.WorldCoordinateworldPosThe world-space coordinate.
System.UInt32placeNameIdOverrideAn optional PlaceName RowId that is used for the locations name.

CreateMapLink(MapCoordinate)​

Creates a ReadOnlySeString representing an entire macros chain that can be used to link a map position in the chat log.

Declaration
public static ReadOnlySeString CreateMapLink(MapCoordinate mapPos)
Returns​

Lumina.Text.ReadOnly.ReadOnlySeString: A ReadOnlySeString containing all of the macros necessary to display a map link in the chat log.

Parameters​
TypeNameDescription
Dalamud.Utility.MapCoordinatemapPosThe map-space coordinate.

CreatePartyFinderLink(uint, string, bool)​

Creates a ReadOnlySeString representing an entire macros chain that can be used to link party finder listings in the chat log.

Declaration
public static ReadOnlySeString CreatePartyFinderLink(uint listingId, string recruiterName, bool isCrossWorld = false)
Returns​

Lumina.Text.ReadOnly.ReadOnlySeString: A ReadOnlySeString containing all the macros necessary to display a party finder link in the chat log.

Parameters​
TypeNameDescription
System.UInt32listingIdThe listing ID of the party finder entry.
System.StringrecruiterNameThe name of the recruiter.
System.BooleanisCrossWorldWhether the listing is limited to the current world or not.

CreatePartyFinderSearchConditionsLink(string)​

Creates a ReadOnlySeString representing an entire macros chain that can be used to link the party finder search conditions.

Declaration
public static ReadOnlySeString CreatePartyFinderSearchConditionsLink(string message)
Returns​

Lumina.Text.ReadOnly.ReadOnlySeString: A ReadOnlySeString containing all the macros necessary to display a link to the party finder search conditions.

Parameters​
TypeNameDescription
System.StringmessageThe text that should be displayed for the link.