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;
|
||||
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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user