mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 21:24:16 +01:00
switch to SeIConChar values for custom unicode characters; it would be nice to be able to use these without casting, but I'll wait on that change in case there are other reasons to stay as it is
This commit is contained in:
parent
68f3862efe
commit
474efadc57
2 changed files with 3 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ namespace Dalamud.Game.Chat.SeStringHandling.Payloads
|
|||
{
|
||||
// wrap the text in the colored brackets that is uses in-game, since those
|
||||
// are not actually part of any of the payloads
|
||||
this.text ??= $"\uE040 {Resolve()} \uE041";
|
||||
this.text ??= $"{(char)SeIconChar.AutoTranslateOpen} {Resolve()} {(char)SeIconChar.AutoTranslateClose}";
|
||||
return this.text;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ namespace Dalamud.Game.Chat.SeStringHandling
|
|||
string displayName = displayNameOverride ?? SeString.Dalamud.Data.GetExcelSheet<DalamudItem>().GetRow((int)itemId).Name;
|
||||
if (isHQ)
|
||||
{
|
||||
displayName += " \uE03C";
|
||||
displayName += $" {(char)SeIconChar.HighQuality}";
|
||||
}
|
||||
|
||||
// TODO: probably a cleaner way to build these than doing the bulk+insert
|
||||
|
|
@ -84,7 +84,7 @@ namespace Dalamud.Game.Chat.SeStringHandling
|
|||
{
|
||||
new UIForegroundPayload(0x01F4),
|
||||
new UIGlowPayload(0x01F5),
|
||||
new TextPayload("\uE0BB"),
|
||||
new TextPayload($"{(char)SeIconChar.LinkMarker}"),
|
||||
UIGlowPayload.UIGlowOff,
|
||||
UIForegroundPayload.UIForegroundOff
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue