mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 19:22:30 +00:00
feat(ui): implement CSimpleFrame::LoadXML_Attributes
This commit is contained in:
parent
b76a9fed82
commit
88f2cb7e5f
9 changed files with 123 additions and 7 deletions
|
|
@ -24,7 +24,7 @@ class CGTooltip : public CSimpleFrame {
|
|||
virtual int32_t GetScriptMetaTable();
|
||||
virtual ScriptIx* GetScriptByName(const char* name, ScriptData& data);
|
||||
|
||||
// Members
|
||||
// Member variables
|
||||
ScriptIx m_onTooltipSetDefaultAnchor;
|
||||
ScriptIx m_onTooltipCleared;
|
||||
ScriptIx m_onTooltipAddMoney;
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
#include "gameui/CGTabardModelFrame.hpp"
|
||||
#include "gameui/CGQuestPOIFrame.hpp"
|
||||
#include "console/Console.hpp"
|
||||
#include "gx/CGVideoOptions.hpp"
|
||||
#include "ui/FrameXML.hpp"
|
||||
#include "ui/FrameScript.hpp"
|
||||
#include "util/Lua.hpp"
|
||||
|
|
@ -1690,6 +1691,7 @@ void LoadScriptFunctions() {
|
|||
GlyphInfoRegisterScriptFunctions();
|
||||
AchievementInfoRegisterScriptFunctions();
|
||||
CurrencyTypesRegisterScriptFunctions();
|
||||
CGVideoOptions::RegisterScriptFunctions();
|
||||
EquipmentManagerRegisterScriptFunctions();
|
||||
GMTicketInfoRegisterScriptFunctions();
|
||||
BattlenetUIRegisterScriptFunctions();
|
||||
|
|
|
|||
|
|
@ -5,11 +5,15 @@
|
|||
|
||||
|
||||
static int32_t Script_GetNumPartyMembers(lua_State* L) {
|
||||
WHOA_UNIMPLEMENTED(0);
|
||||
// TODO
|
||||
lua_pushnumber(L, 0.0);
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int32_t Script_GetRealNumPartyMembers(lua_State* L) {
|
||||
WHOA_UNIMPLEMENTED(0);
|
||||
// TODO
|
||||
lua_pushnumber(L, 0.0);
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int32_t Script_GetPartyMember(lua_State* L) {
|
||||
|
|
|
|||
|
|
@ -5,11 +5,15 @@
|
|||
|
||||
|
||||
static int32_t Script_GetNumRaidMembers(lua_State* L) {
|
||||
WHOA_UNIMPLEMENTED(0);
|
||||
// TODO
|
||||
lua_pushnumber(L, 0.0);
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int32_t Script_GetRealNumRaidMembers(lua_State* L) {
|
||||
WHOA_UNIMPLEMENTED(0);
|
||||
// TODO
|
||||
lua_pushnumber(L, 0.0);
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int32_t Script_GetRaidRosterInfo(lua_State* L) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue