mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
dunno what's wrong with pets (fuck pets, not literally)
This commit is contained in:
parent
79f5065128
commit
61b6365542
3 changed files with 85 additions and 75 deletions
|
|
@ -77,10 +77,10 @@ public sealed class IpcCallerHonorific : IIpcCaller
|
|||
}).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
public string GetTitle()
|
||||
public async Task<string> GetTitle()
|
||||
{
|
||||
if (!APIAvailable) return string.Empty;
|
||||
string title = _honorificGetLocalCharacterTitle.InvokeFunc();
|
||||
string title = await _dalamudUtil.RunOnFrameworkThread(() => _honorificGetLocalCharacterTitle.InvokeFunc()).ConfigureAwait(false);
|
||||
return string.IsNullOrEmpty(title) ? string.Empty : Convert.ToBase64String(Encoding.UTF8.GetBytes(title));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue