mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-15 07:24:15 +01:00
preliminary finalized UI
This commit is contained in:
parent
2ca284546d
commit
fb7943cdcd
5 changed files with 149 additions and 60 deletions
|
|
@ -235,14 +235,22 @@ public class PlayerManager : IDisposable
|
|||
|
||||
Task.Run(async () =>
|
||||
{
|
||||
_periodicFileScanner.HaltScan("Character creation");
|
||||
foreach (var item in unprocessedObjects)
|
||||
CharacterCacheDto? cacheDto = null;
|
||||
try
|
||||
{
|
||||
_dalamudUtil.WaitWhileCharacterIsDrawing("self " + item.ObjectKind.ToString(), item.Address, 10000, token);
|
||||
}
|
||||
_periodicFileScanner.HaltScan("Character creation");
|
||||
foreach (var item in unprocessedObjects)
|
||||
{
|
||||
_dalamudUtil.WaitWhileCharacterIsDrawing("self " + item.ObjectKind.ToString(), item.Address, 10000, token);
|
||||
}
|
||||
|
||||
CharacterCacheDto? cacheDto = (await CreateFullCharacterCacheDto(token));
|
||||
_periodicFileScanner.ResumeScan("Character creation");
|
||||
cacheDto = (await CreateFullCharacterCacheDto(token));
|
||||
}
|
||||
catch { }
|
||||
finally
|
||||
{
|
||||
_periodicFileScanner.ResumeScan("Character creation");
|
||||
}
|
||||
if (cacheDto == null || token.IsCancellationRequested) return;
|
||||
|
||||
#if DEBUG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue