mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-18 13:57:43 +01:00
Add ISeStringEvaluator.EvaluateMacroString (#2281)
This commit is contained in:
parent
3f3a1f2be1
commit
e20f132abe
2 changed files with 18 additions and 0 deletions
|
|
@ -114,6 +114,15 @@ internal class SeStringEvaluator : IServiceType, ISeStringEvaluator
|
|||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public ReadOnlySeString EvaluateMacroString(
|
||||
string macroString,
|
||||
Span<SeStringParameter> localParameters = default,
|
||||
ClientLanguage? language = null)
|
||||
{
|
||||
return this.Evaluate(ReadOnlySeString.FromMacroString(macroString).AsSpan(), localParameters, language);
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public ReadOnlySeString EvaluateFromAddon(
|
||||
uint addonId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue