whoa/src/ui/game/CGGameUI.hpp
fallenoak cda8fff096
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
feat(ui): implement Script_GetCursorMoney
2026-02-06 15:35:17 -06:00

36 lines
962 B
C++

#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;
class CGGameUI {
public:
// Static variables
static CScriptObject* s_gameTooltip;
static CSimpleTop* s_simpleTop;
// Static functions
static void EnterWorld();
static WOWGUID& GetCurrentObjectTrack();
static uint32_t GetCursorMoney();
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();
private:
static WOWGUID s_currentObjectTrack;
static uint32_t s_cursorMoney;
static bool s_inWorld;
static WOWGUID s_lockedTarget;
static bool s_loggingIn;
};
#endif