cs2-outnumbered/Outnumbered/Engine/ControllerWriter.cs
Kamal Tufekcic d701598350
All checks were successful
CI / build (push) Successful in 32s
CI / release (push) Successful in 32s
CI / lint (push) Successful in 30s
initial commit
2026-07-05 13:28:35 +03:00

15 lines
568 B
C#

using CounterStrikeSharp.API;
using CounterStrikeSharp.API.Core;
namespace Outnumbered.Engine;
// Controller-side schema writes (the pawn-side equivalents live in PawnWriter). Currently just the scoreboard clan tag —
// kept here so the field name + the SetStateChanged notify contract live together, like every other engine write.
internal static class ControllerWriter
{
public static void SetClan(CCSPlayerController p, string tag)
{
p.Clan = tag;
Utilities.SetStateChanged(p, EngineNames.CCSPlayerController, EngineNames.Clan);
}
}