mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(ui): register realm list functions
This commit is contained in:
parent
57db9ca2a5
commit
f95c041323
4 changed files with 91 additions and 4 deletions
|
|
@ -40,6 +40,15 @@ void GlueScriptEventsRegisterFunctions() {
|
|||
}
|
||||
}
|
||||
|
||||
void RealmListRegisterScriptFunctions() {
|
||||
for (int32_t i = 0; i < NUM_SCRIPT_FUNCTIONS_REALM_LIST; ++i) {
|
||||
FrameScript_RegisterFunction(
|
||||
FrameScript::s_ScriptFunctions_RealmList[i].name,
|
||||
FrameScript::s_ScriptFunctions_RealmList[i].method
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
void RegisterSimpleFrameScriptMethods() {
|
||||
for (int32_t i = 0; i < NUM_SCRIPT_FUNCTIONS_SIMPLE_FRAME; ++i) {
|
||||
FrameScript_RegisterFunction(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue