summaryrefslogtreecommitdiff
path: root/csgo-loader/csgo-client/UserExperience
diff options
context:
space:
mode:
Diffstat (limited to 'csgo-loader/csgo-client/UserExperience')
-rw-r--r--csgo-loader/csgo-client/UserExperience/UserInterface.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/csgo-loader/csgo-client/UserExperience/UserInterface.hpp b/csgo-loader/csgo-client/UserExperience/UserInterface.hpp
index bea8b45..d855c85 100644
--- a/csgo-loader/csgo-client/UserExperience/UserInterface.hpp
+++ b/csgo-loader/csgo-client/UserExperience/UserInterface.hpp
@@ -24,6 +24,13 @@ namespace UserExperience
ERROR_SHADOW_BAN
};
+ enum SelectedGame : uint16_t
+ {
+ GAME_CSGO,
+ GAME_CSGO_BETA,
+ GAME_MAX
+ };
+
// Structure that holds global data that will be used by the UI.
struct UserExperienceData
{
@@ -38,7 +45,7 @@ namespace UserExperience
bool m_SpecialAccess = false;
// Holds the selected game.
- int32_t m_SelectedGame = 0;
+ SelectedGame m_SelectedGame = GAME_CSGO;
// Holds the current error message.
ErrorReason m_Error = ERROR_GENERIC_ERROR;