Client LuaCsForBarotrauma
BarotraumaClient/ClientSource/Traitors/TraitorManager.cs
1 #nullable enable
2 
4 
5 namespace Barotrauma
6 {
7  sealed partial class TraitorManager
8  {
9  public static void ClientRead(IReadMessage msg)
10  {
11  //unused, but could be worth keeping in the messages regardless in case a mod wants to use these for something
13  Identifier eventIdentifier = msg.ReadIdentifier();
14  if (GameMain.Client?.Character == null)
15  {
16  DebugConsole.AddSafeError("Received a traitor update when not controlling a character.");
17  return;
18  }
20  }
21  }
22 }
static GameClient Client
Definition: GameMain.cs:188