CS2GSI/GameState/Player.cs

18 lines
442 B
C#
Raw Normal View History

2024-01-15 20:04:37 +01:00
namespace CS2GSI.GameState;
public struct Player
{
public string SteamId, Name, Activity;
public string? Team;
public int? ObserverSlot;
public PlayerState? State;
public PlayerMatchStats? MatchStats;
2024-01-15 20:39:38 +01:00
public override string ToString()
{
return $"{GetType()}\n" +
$"\t{Name} {SteamId} {Activity} {Team}\n" +
$"\t{State}\n" +
$"\t{MatchStats}\n";
}
2024-01-15 20:04:37 +01:00
}