Pluton.Player.Player C# (CSharp) Method

Player() public method

public Player ( BasePlayer player ) : System
player BasePlayer
return System
        public Player(BasePlayer player) : base(player)
        {
            GameID = player.userID;
            SteamID = player.userID.ToString();
            _basePlayer = player;
            try {
                Stats = new PlayerStats(SteamID);
            } catch (Exception ex) {
                Logger.LogDebug("[Player] Couldn't load stats!");
                Logger.LogException(ex);
            }
        }