initial commit
This commit is contained in:
commit
d701598350
67 changed files with 9351 additions and 0 deletions
15
Outnumbered/Engine/ControllerWriter.cs
Normal file
15
Outnumbered/Engine/ControllerWriter.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue