Пример #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);
        }
Пример #2
0
 public PlayerInformation(PlayerIdentity identity)
 {
     Identity = identity;
 }