From a3afed00a1bbec992908a5f71b6efa678f28861c Mon Sep 17 00:00:00 2001 From: Nameless <85962933+Misfiy@users.noreply.github.com> Date: Sat, 28 Oct 2023 23:04:38 +0200 Subject: [PATCH] ChaosTargetCounter (#2179) * ChaosTargetCounter * Network_chaosTargetCount --------- Co-authored-by: Thunder --- Exiled.API/Features/Round.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Exiled.API/Features/Round.cs b/Exiled.API/Features/Round.cs index 11e44049a9..f7ea6e8e9b 100644 --- a/Exiled.API/Features/Round.cs +++ b/Exiled.API/Features/Round.cs @@ -61,6 +61,15 @@ public static class Round /// public static bool IsLobby => !(IsEnded || IsStarted); + /// + /// Gets or sets a value indicating the amount of Chaos Targets remaining. + /// + public static int ChaosTargetCount + { + get => RoundSummary.singleton.Network_chaosTargetCount; + set => RoundSummary.singleton.Network_chaosTargetCount = value; + } + /// /// Gets or sets a value indicating whether the round is locked or not. /// @@ -240,4 +249,4 @@ public static bool EndRound(bool forceEnd = false) /// public static void Start() => CharacterClassManager.ForceRoundStart(); } -} \ No newline at end of file +}