CS2GSI/GameState/CS2GameState.cs

17 lines
388 B
C#
Raw Normal View History

2024-01-15 20:04:37 +01:00
namespace CS2GSI.GameState;
public struct CS2GameState
{
2024-01-15 20:49:09 +01:00
public string ProviderSteamId;
2024-01-15 20:04:37 +01:00
public int Timestamp;
public Map? Map;
public Player? Player;
2024-01-15 20:39:38 +01:00
public override string ToString()
{
return $"{GetType()}\n" +
2024-01-15 20:49:09 +01:00
$"\tTime: {Timestamp}\tSteamId: {ProviderSteamId}\n" +
2024-01-15 20:39:38 +01:00
$"\t{Map}\n" +
$"\t{Player}\n";
}
2024-01-15 20:04:37 +01:00
}