Files
LightlessClient/LightlessSync/LightlessConfiguration/Configurations/PlayerPerformanceConfig.cs
defnotken 9416e376b8 Pause at duty (#18)
Co-authored-by: defnotken <itsdefnotken@gmail.com>
Reviewed-on: #18
Reviewed-by: cake <cake@noreply.git.lightless-sync.org>
2025-09-07 23:43:19 +02:00

17 lines
944 B
C#

namespace LightlessSync.LightlessConfiguration.Configurations;
public class PlayerPerformanceConfig : ILightlessConfiguration
{
public int Version { get; set; } = 1;
public bool ShowPerformanceIndicator { get; set; } = true;
public bool WarnOnExceedingThresholds { get; set; } = true;
public bool WarnOnPreferredPermissionsExceedingThresholds { get; set; } = false;
public int VRAMSizeWarningThresholdMiB { get; set; } = 375;
public int TrisWarningThresholdThousands { get; set; } = 165;
public bool AutoPausePlayersExceedingThresholds { get; set; } = false;
public bool AutoPausePlayersWithPreferredPermissionsExceedingThresholds { get; set; } = false;
public int VRAMSizeAutoPauseThresholdMiB { get; set; } = 550;
public int TrisAutoPauseThresholdThousands { get; set; } = 250;
public List<string> UIDsToIgnore { get; set; } = new();
public bool PauseInInstanceDuty { get; set; } = false;
}