mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
feat: SeString override ToString() with TextValue
This commit is contained in:
parent
ef999d3352
commit
e7cd071c0f
1 changed files with 8 additions and 0 deletions
|
|
@ -104,6 +104,14 @@ namespace Dalamud.Game.Chat.SeStringHandling
|
||||||
return messageBytes.ToArray();
|
return messageBytes.ToArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Get the text value of this SeString.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>The TextValue property</returns>
|
||||||
|
public override string ToString() {
|
||||||
|
return TextValue;
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Serializes the SeString to json
|
/// Serializes the SeString to json
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue