PlayerInformation GetPlayerInformation(PlayerIdentity playerIdentity) { PlayerInformation playerInformation; if (!_PlayerData.TryGetValue(playerIdentity.SteamId, out playerInformation)) { playerInformation = new PlayerInformation(playerIdentity); _PlayerData.Add(playerIdentity.SteamId, playerInformation); } return(playerInformation); }
public PlayerInformation(PlayerIdentity identity) { Identity = identity; }