mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-14 10:10:52 +03:00
feat(ui): implement CSimpleFrame::LoadXML_Attributes
This commit is contained in:
1 parent
b76a9fed82
commit
88f2cb7e5f
9 files changed
+123
-7
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user