diff --git a/Dalamud/Game/Gui/NamePlate/NamePlateQuotedParts.cs b/Dalamud/Game/Gui/NamePlate/NamePlateQuotedParts.cs
index fed0dd144..40edee0fb 100644
--- a/Dalamud/Game/Gui/NamePlate/NamePlateQuotedParts.cs
+++ b/Dalamud/Game/Gui/NamePlate/NamePlateQuotedParts.cs
@@ -8,6 +8,12 @@ namespace Dalamud.Game.Gui.NamePlate;
/// The field type which should be set.
public class NamePlateQuotedParts(NamePlateStringField field, bool isFreeCompany)
{
+ ///
+ /// Gets or sets the opening and closing SeStrings which will wrap the entire contents, which can be used to apply
+ /// colors or styling to the entire field.
+ ///
+ public (SeString, SeString)? OuterWrap { get; set; }
+
///
/// Gets or sets the opening quote string which appears before the text and opening text-wrap.
///
@@ -39,6 +45,11 @@ public class NamePlateQuotedParts(NamePlateStringField field, bool isFreeCompany
return;
var sb = new SeStringBuilder();
+ if (this.OuterWrap is { Item1: var outerLeft })
+ {
+ sb.Append(outerLeft);
+ }
+
if (this.LeftQuote is not null)
{
sb.Append(this.LeftQuote);
@@ -68,6 +79,11 @@ public class NamePlateQuotedParts(NamePlateStringField field, bool isFreeCompany
sb.Append(isFreeCompany ? "»" : "》");
}
+ if (this.OuterWrap is { Item2: var outerRight })
+ {
+ sb.Append(outerRight);
+ }
+
handler.SetField(field, sb.Build());
}