Beispiel #1
0
        PlayerInformation GetPlayerInformation(PlayerIdentity playerIdentity)
        {
            PlayerInformation playerInformation;

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