mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
feat(ui): add CGGameUI::GetLockedTarget
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
This commit is contained in:
parent
22eb04e495
commit
0cf12c9c90
@ -23,6 +23,7 @@
|
||||
|
||||
CScriptObject* CGGameUI::s_gameTooltip;
|
||||
CSimpleTop* CGGameUI::s_simpleTop;
|
||||
WOWGUID CGGameUI::s_lockedTarget;
|
||||
|
||||
void LoadScriptFunctions() {
|
||||
// TODO
|
||||
@ -57,6 +58,10 @@ void LoadScriptFunctions() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
WOWGUID& CGGameUI::GetLockedTarget() {
|
||||
return CGGameUI::s_lockedTarget;
|
||||
}
|
||||
|
||||
void CGGameUI::Initialize() {
|
||||
// TODO
|
||||
|
||||
@ -131,7 +136,7 @@ void CGGameUI::Initialize() {
|
||||
// TODO
|
||||
|
||||
CGGameUI::s_gameTooltip = CScriptObject::GetScriptObjectByName("GameTooltip", CGTooltip::GetObjectType());
|
||||
// TODO STORM_ASSERT(CGGameUI::s_gameTooltip);
|
||||
STORM_ASSERT(CGGameUI::s_gameTooltip);
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
#ifndef UI_GAME_C_G_GAME_UI_HPP
|
||||
#define UI_GAME_C_G_GAME_UI_HPP
|
||||
|
||||
#include "util/guid/Types.hpp"
|
||||
|
||||
class CScriptObject;
|
||||
class CSimpleTop;
|
||||
|
||||
@ -11,9 +13,13 @@ class CGGameUI {
|
||||
static CSimpleTop* s_simpleTop;
|
||||
|
||||
// Static functions
|
||||
static WOWGUID& GetLockedTarget();
|
||||
static void Initialize();
|
||||
static void InitializeGame();
|
||||
static void RegisterFrameFactories();
|
||||
|
||||
private:
|
||||
static WOWGUID s_lockedTarget;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user