mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 18:37:22 +01:00
fixes for summoner
This commit is contained in:
parent
876c0f4f3e
commit
29eea0d800
3 changed files with 6 additions and 4 deletions
|
|
@ -21,6 +21,7 @@ public class GameObjectHandler : MediatorSubscriberBase
|
|||
public string Name { get; private set; }
|
||||
public ObjectKind ObjectKind { get; }
|
||||
public IntPtr Address { get; set; }
|
||||
public IntPtr CurrentAddress => _getAddress.Invoke();
|
||||
private IntPtr DrawObjectAddress { get; set; }
|
||||
private Task? _delayedZoningTask;
|
||||
private CancellationTokenSource _zoningCts = new();
|
||||
|
|
@ -95,7 +96,7 @@ public class GameObjectHandler : MediatorSubscriberBase
|
|||
{
|
||||
if (!_delayedZoningTask?.IsCompleted ?? false) return;
|
||||
|
||||
_performanceCollector.LogPerformance(this, "CheckAndUpdateObject>" + (_isOwnedObject ? "Self+" : "Other+") + ObjectKind + "/"
|
||||
_performanceCollector.LogPerformance(this, "CheckAndUpdateObject>" + (_isOwnedObject ? "Self+" : "Other+") + ObjectKind + "/"
|
||||
+ (string.IsNullOrEmpty(Name) ? "Unk" : Name) + "+" + Address.ToString("X"), CheckAndUpdateObject);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue