fix: Adds missing string interpolation handler for SetStringSlot (#2123)
This commit is contained in:
parent
899146dcb7
commit
6d7b1b8bee
6 changed files with 21 additions and 7 deletions
|
|
@ -71,6 +71,14 @@ public ref struct GumpStringsBuilder
|
|||
handler.Clear();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void SetStringSlot(ref RawInterpolatedStringHandler slotKeyHandler, ref RawInterpolatedStringHandler handler)
|
||||
{
|
||||
SetStringSlot(slotKeyHandler.Text, handler.Text);
|
||||
slotKeyHandler.Clear();
|
||||
handler.Clear();
|
||||
}
|
||||
|
||||
public void SetStringSlot(ReadOnlySpan<char> slotKey, ReadOnlySpan<char> text)
|
||||
{
|
||||
var hash = HashUtility.ComputeHash64(slotKey);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue