Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.2 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef CSLifetimeSTATSPAGE_H
  8. #define CSLifetimeSTATSPAGE_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "base_stats_page.h"
  13. class CLifetimeStatsPage : public CBaseStatsPage
  14. {
  15. DECLARE_CLASS_SIMPLE ( CLifetimeStatsPage, CBaseStatsPage );
  16. public:
  17. CLifetimeStatsPage( vgui::Panel *parent, const char *name );
  18. virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
  19. void RepopulateStats();
  20. int AddSimpleStat( int desiredStat, const StatsCollection_t& personalLifetimeStats);
  21. int AddAccuracyStat(const StatsCollection_t& personalLifetimeStats);
  22. int AddFavoriteWeaponStat(const StatsCollection_t& personalLifetimeStats);
  23. int AddKillToDeathStat(const StatsCollection_t& personalLifetimeStats);
  24. CBaseStatGroupPanel* m_allStatsGroupPanel;
  25. CBaseStatGroupPanel* m_detailedWeaponStatsGroupPanel;
  26. CBaseStatGroupPanel* m_specialSkillsStatsGroupPanel;
  27. CBaseStatGroupPanel* m_mapAndMiscellanyStatsGroupPanel;
  28. CBaseStatGroupPanel* m_mapVictoryStatsGroupPanel;
  29. CBaseStatGroupPanel* m_missionAndObjectiveStatsGroupPanel;
  30. };
  31. #endif // CSLifetimeSTATSPAGE_H