mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-05 15:42:17 +03:00
feat(ui): add CGGameUI::IsLoggingIn
This commit is contained in:
parent
f08cbc0795
commit
1d364ec689
@ -25,6 +25,7 @@
|
|||||||
WOWGUID CGGameUI::s_currentObjectTrack;
|
WOWGUID CGGameUI::s_currentObjectTrack;
|
||||||
CScriptObject* CGGameUI::s_gameTooltip;
|
CScriptObject* CGGameUI::s_gameTooltip;
|
||||||
WOWGUID CGGameUI::s_lockedTarget;
|
WOWGUID CGGameUI::s_lockedTarget;
|
||||||
|
bool CGGameUI::s_loggingIn;
|
||||||
CSimpleTop* CGGameUI::s_simpleTop;
|
CSimpleTop* CGGameUI::s_simpleTop;
|
||||||
|
|
||||||
void LoadScriptFunctions() {
|
void LoadScriptFunctions() {
|
||||||
@ -75,6 +76,10 @@ WOWGUID& CGGameUI::GetLockedTarget() {
|
|||||||
void CGGameUI::Initialize() {
|
void CGGameUI::Initialize() {
|
||||||
// TODO
|
// TODO
|
||||||
|
|
||||||
|
CGGameUI::s_loggingIn = true;
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
|
||||||
CGGameUI::s_simpleTop = STORM_NEW(CSimpleTop);
|
CGGameUI::s_simpleTop = STORM_NEW(CSimpleTop);
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
@ -160,6 +165,10 @@ void CGGameUI::InitializeGame() {
|
|||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CGGameUI::IsLoggingIn() {
|
||||||
|
return CGGameUI::s_loggingIn;
|
||||||
|
}
|
||||||
|
|
||||||
int32_t CGGameUI::IsRaidMember(const WOWGUID& guid) {
|
int32_t CGGameUI::IsRaidMember(const WOWGUID& guid) {
|
||||||
// TODO
|
// TODO
|
||||||
|
|
||||||
|
|||||||
@ -17,6 +17,7 @@ class CGGameUI {
|
|||||||
static WOWGUID& GetLockedTarget();
|
static WOWGUID& GetLockedTarget();
|
||||||
static void Initialize();
|
static void Initialize();
|
||||||
static void InitializeGame();
|
static void InitializeGame();
|
||||||
|
static bool IsLoggingIn();
|
||||||
static int32_t IsRaidMember(const WOWGUID& guid);
|
static int32_t IsRaidMember(const WOWGUID& guid);
|
||||||
static int32_t IsRaidMemberOrPet(const WOWGUID& guid);
|
static int32_t IsRaidMemberOrPet(const WOWGUID& guid);
|
||||||
static void RegisterFrameFactories();
|
static void RegisterFrameFactories();
|
||||||
@ -24,6 +25,7 @@ class CGGameUI {
|
|||||||
private:
|
private:
|
||||||
static WOWGUID s_currentObjectTrack;
|
static WOWGUID s_currentObjectTrack;
|
||||||
static WOWGUID s_lockedTarget;
|
static WOWGUID s_lockedTarget;
|
||||||
|
static bool s_loggingIn;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user