mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-15 18:51:15 +03:00
feat(ui): add CGGameUI::GetCurrentObjectTrack
This commit is contained in:
2 files changed
+8
-1
No files matched your search
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user