mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-19 22:21:06 +03:00
feat(ui): add CGGameUI::GetCurrentObjectTrack
This commit is contained in:
parent
184d3b041f
commit
99c00ade9b
@ -21,9 +21,10 @@
|
||||
#include "util/CStatus.hpp"
|
||||
#include <common/MD5.hpp>
|
||||
|
||||
WOWGUID CGGameUI::s_currentObjectTrack;
|
||||
CScriptObject* CGGameUI::s_gameTooltip;
|
||||
CSimpleTop* CGGameUI::s_simpleTop;
|
||||
WOWGUID CGGameUI::s_lockedTarget;
|
||||
CSimpleTop* CGGameUI::s_simpleTop;
|
||||
|
||||
void LoadScriptFunctions() {
|
||||
// TODO
|
||||
@ -58,6 +59,10 @@ void LoadScriptFunctions() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
WOWGUID& CGGameUI::GetCurrentObjectTrack() {
|
||||
return CGGameUI::s_currentObjectTrack;
|
||||
}
|
||||
|
||||
WOWGUID& CGGameUI::GetLockedTarget() {
|
||||
return CGGameUI::s_lockedTarget;
|
||||
}
|
||||
|
||||
@ -13,6 +13,7 @@ class CGGameUI {
|
||||
static CSimpleTop* s_simpleTop;
|
||||
|
||||
// Static functions
|
||||
static WOWGUID& GetCurrentObjectTrack();
|
||||
static WOWGUID& GetLockedTarget();
|
||||
static void Initialize();
|
||||
static void InitializeGame();
|
||||
@ -20,6 +21,7 @@ class CGGameUI {
|
||||
static void RegisterFrameFactories();
|
||||
|
||||
private:
|
||||
static WOWGUID s_currentObjectTrack;
|
||||
static WOWGUID s_lockedTarget;
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user