forked from wfxjz/Nixware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChaseModConfig.cs
23 lines (20 loc) · 1.45 KB
/
ChaseModConfig.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using CounterStrikeSharp.API.Core;
using System.Text.Json.Serialization;
namespace ChaseMod;
public sealed class ChaseModConfig : BasePluginConfig
{
[JsonPropertyName("Version")]
public override int Version { get; set; } = 3;
[JsonPropertyName("ctStartFreezeTime")] public float RoundStartFreezeTime { get; set; } = 15.0f;
[JsonPropertyName("knifeDamage")] public int KnifeDamage { get; set; } = 50;
[JsonPropertyName("knifeCooldown")] public float KnifeCooldown { get; set; } = 2.0f;
[JsonPropertyName("stunThrowTime")] public float StunThrowTime { get; set; } = 2.0f;
[JsonPropertyName("stunFreezeTime")] public float StunFreezeTime { get; set; } = 15.0f;
[JsonPropertyName("stunFreezeRadius")] public float StunFreezeRadius { get; set; } = 500f;
[JsonPropertyName("stunSameTeam")] public bool StunSameTeam { get; set; } = false;
[JsonPropertyName("absvelocityWorkaroundMultiplier")] public float absvelocityWorkaroundMultiplier { get; set; } = 1.0f;
[JsonPropertyName("maxTerroristWinStreak")] public int MaxTerroristWinStreak { get; set; } = 5;
[JsonPropertyName("alwaysDisableTerroristKnife")] public bool AlwaysDisableTerroristKnife { get; set; } = false;
[JsonPropertyName("enableFreezeTimeCountDownSound")] public bool EnableFreezeTimeCountDownSound { get; set; } = false;
[JsonPropertyName("freezeTimeCountDownSoundPath")] public string FreezeTimeCountDownSoundPath { get; set; } = "sounds/player/playerping";
}