From 8ab9ebbef94db2b68f84361ec059a4a8badbc9a0 Mon Sep 17 00:00:00 2001 From: pohky Date: Wed, 28 Feb 2024 02:00:35 +0100 Subject: [PATCH] Revert SeString ToString change reverting the output of ToString() back to RawString as the change was causing some confusion and adding a new method instead. or should this be a property instead or remove it from SeString to not add to the api? --- src/Lumina/Text/SeString.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Lumina/Text/SeString.cs b/src/Lumina/Text/SeString.cs index 199ee805..a9433f31 100644 --- a/src/Lumina/Text/SeString.cs +++ b/src/Lumina/Text/SeString.cs @@ -169,6 +169,14 @@ private ImmutableList< BasePayload > BuildPayloads() // } public override string ToString() + { + return RawString; + } + + /// + /// Gets a Macro Code representation of the Text and Payloads contained. + /// + public string ToMacroString() { return string.Concat( Payloads ); }