-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSanderNetworkConfig.cs
More file actions
33 lines (27 loc) · 1003 Bytes
/
Copy pathSanderNetworkConfig.cs
File metadata and controls
33 lines (27 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using Robust.Shared.Configuration;
namespace Sander;
public static class SanderNetworkConfig
{
// FPS Booster CVars - CLIENTONLY, not replicated to server
// These are purely client-side settings that server doesn't know about
public static readonly CVarDef<int> FpsTarget = CVarDef.Create(
"sander.fps.target",
0, // 0 = unlimited (no FPS cap)
CVar.CLIENTONLY);
public static readonly CVarDef<bool> FpsReduceGC = CVarDef.Create(
"sander.fps.reduce_gc",
true,
CVar.CLIENTONLY);
public static readonly CVarDef<bool> FpsOptimizeRender = CVarDef.Create(
"sander.fps.optimize_render",
true,
CVar.CLIENTONLY);
public static readonly CVarDef<bool> FpsSkipLowPriority = CVarDef.Create(
"sander.fps.skip_low_priority",
true,
CVar.CLIENTONLY);
public static readonly CVarDef<bool> FpsEnabled = CVarDef.Create(
"sander.fps.enabled",
true,
CVar.CLIENTONLY);
}