feat(ui): add CGGameUI::IsLoggingIn

This commit is contained in:
fallenoak committed 2026-02-05 20:51:46 -06:00
1 parent f08cbc0795
commit 1d364ec689
2 files changed
+11

No files matched your search

+9
View File
@@ -25,6 +25,7 @@
WOWGUID CGGameUI::s_currentObjectTrack;
CScriptObject* CGGameUI::s_gameTooltip;
WOWGUID CGGameUI::s_lockedTarget;
bool CGGameUI::s_loggingIn;
CSimpleTop* CGGameUI::s_simpleTop;
void LoadScriptFunctions() {
@@ -75,6 +76,10 @@ WOWGUID& CGGameUI::GetLockedTarget() {
void CGGameUI::Initialize() {
// TODO
CGGameUI::s_loggingIn = true;
// TODO
CGGameUI::s_simpleTop = STORM_NEW(CSimpleTop);
// TODO
@@ -160,6 +165,10 @@ void CGGameUI::InitializeGame() {
// TODO
}
bool CGGameUI::IsLoggingIn() {
return CGGameUI::s_loggingIn;
}
int32_t CGGameUI::IsRaidMember(const WOWGUID& guid) {
// TODO
+2
View File
@@ -17,6 +17,7 @@ class CGGameUI {
static WOWGUID& GetLockedTarget();
static void Initialize();
static void InitializeGame();
static bool IsLoggingIn();
static int32_t IsRaidMember(const WOWGUID& guid);
static int32_t IsRaidMemberOrPet(const WOWGUID& guid);
static void RegisterFrameFactories();
@@ -24,6 +25,7 @@ class CGGameUI {
private:
static WOWGUID s_currentObjectTrack;
static WOWGUID s_lockedTarget;
static bool s_loggingIn;
};
#endif