punish v6.8.18.0
This commit is contained in:
commit
e786325cda
322 changed files with 554232 additions and 0 deletions
16
LLib/LLib.GameUI/SeStringExtensions.cs
Normal file
16
LLib/LLib.GameUI/SeStringExtensions.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using Dalamud.Game.Text.SeStringHandling;
|
||||
using Lumina.Text.ReadOnly;
|
||||
|
||||
namespace LLib.GameUI;
|
||||
|
||||
public static class SeStringExtensions
|
||||
{
|
||||
public static string WithCertainMacroCodeReplacements(this SeString? str)
|
||||
{
|
||||
if (str == null)
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
return new ReadOnlySeString(str.Encode()).WithCertainMacroCodeReplacements();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue