Fixed warnings
This commit is contained in:
@@ -75,16 +75,8 @@ public unsafe class LightFinderPlateHandler : IHostedService, IMediatorSubscribe
|
|||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
// Debug controls
|
// Debug controls
|
||||||
private bool _debugEnabled;
|
|
||||||
private bool _debugDisableOcclusion;
|
|
||||||
private bool _debugDrawUiRects;
|
|
||||||
private bool _debugDrawLabelRects = true;
|
|
||||||
|
|
||||||
// Debug counters (read-only from UI)
|
// Debug counters (read-only from UI)
|
||||||
private int _debugLabelCountLastFrame;
|
|
||||||
private int _debugUiRectCountLastFrame;
|
|
||||||
private int _debugOccludedCountLastFrame;
|
|
||||||
private uint _debugLastNameplateFrame;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
private bool IsPictomancyRenderer => _configService.Current.LightfinderLabelRenderer == LightfinderLabelRenderer.Pictomancy;
|
private bool IsPictomancyRenderer => _configService.Current.LightfinderLabelRenderer == LightfinderLabelRenderer.Pictomancy;
|
||||||
@@ -1262,14 +1254,14 @@ public unsafe class LightFinderPlateHandler : IHostedService, IMediatorSubscribe
|
|||||||
.Where(u => u.IsVisible && u.PlayerCharacterId != uint.MaxValue)
|
.Where(u => u.IsVisible && u.PlayerCharacterId != uint.MaxValue)
|
||||||
.Select(u => (ulong)u.PlayerCharacterId)];
|
.Select(u => (ulong)u.PlayerCharacterId)];
|
||||||
|
|
||||||
public int DebugLabelCountLastFrame { get => _debugLabelCountLastFrame; set => _debugLabelCountLastFrame = value; }
|
public int DebugLabelCountLastFrame { get; set; }
|
||||||
public int DebugUiRectCountLastFrame { get => _debugUiRectCountLastFrame; set => _debugUiRectCountLastFrame = value; }
|
public int DebugUiRectCountLastFrame { get; set; }
|
||||||
public int DebugOccludedCountLastFrame { get => _debugOccludedCountLastFrame; set => _debugOccludedCountLastFrame = value; }
|
public int DebugOccludedCountLastFrame { get; set; }
|
||||||
public uint DebugLastNameplateFrame { get => _debugLastNameplateFrame; set => _debugLastNameplateFrame = value; }
|
public uint DebugLastNameplateFrame { get; set; }
|
||||||
public bool DebugDrawUiRects { get => _debugDrawUiRects; set => _debugDrawUiRects = value; }
|
public bool DebugDrawUiRects { get; set; }
|
||||||
public bool DebugDrawLabelRects { get => _debugDrawLabelRects; set => _debugDrawLabelRects = value; }
|
public bool DebugDrawLabelRects { get; set; } = true;
|
||||||
public bool DebugDisableOcclusion { get => _debugDisableOcclusion; set => _debugDisableOcclusion = value; }
|
public bool DebugDisableOcclusion { get; set; }
|
||||||
public bool DebugEnabled { get => _debugEnabled; set => _debugEnabled = value; }
|
public bool DebugEnabled { get; set; }
|
||||||
|
|
||||||
public void FlagRefresh()
|
public void FlagRefresh()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user