Skip to content

Commit

Permalink
Revert SeString ToString change
Browse files Browse the repository at this point in the history
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?
  • Loading branch information
pohky committed Feb 28, 2024
1 parent f621d8c commit 8ab9ebb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Lumina/Text/SeString.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,14 @@ private ImmutableList< BasePayload > BuildPayloads()
// }

public override string ToString()
{
return RawString;
}

/// <summary>
/// Gets a Macro Code representation of the Text and Payloads contained.
/// </summary>
public string ToMacroString()
{
return string.Concat( Payloads );
}
Expand Down

0 comments on commit 8ab9ebb

Please sign in to comment.