fBaseXtensions.Stats.Stats.Stats C# (CSharp) Method

Stats() public method

public Stats ( ) : System
return System
        public Stats()
        {
            Profiles = new List<TrackedProfile>();

            //note: this will change on first ProfileChanged call!
            string profileName = "none";

            if (GlobalSettings.Instance.LastProfile != null)
                profileName = GlobalSettings.Instance.LastProfile;

            currentprofile = new TrackedProfile(profileName);

            Hero = FunkyGame.CurrentHeroName;
        }