mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +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
|
|
@ -9,6 +9,7 @@ struct lua_State;
|
|||
#define NUM_SCRIPT_FUNCTIONS_CHAR_CREATE 32
|
||||
#define NUM_SCRIPT_FUNCTIONS_CHAR_SELECT 13
|
||||
#define NUM_SCRIPT_FUNCTIONS_GLUE_SCRIPT_EVENTS 113
|
||||
#define NUM_SCRIPT_FUNCTIONS_REALM_LIST 14
|
||||
#define NUM_SCRIPT_FUNCTIONS_SIMPLE_FRAME 7
|
||||
#define NUM_SCRIPT_FUNCTIONS_SYSTEM 7
|
||||
|
||||
|
|
@ -16,6 +17,7 @@ namespace FrameScript {
|
|||
extern FrameScript_Method s_ScriptFunctions_CharCreate[NUM_SCRIPT_FUNCTIONS_CHAR_CREATE];
|
||||
extern FrameScript_Method s_ScriptFunctions_CharSelect[NUM_SCRIPT_FUNCTIONS_CHAR_SELECT];
|
||||
extern FrameScript_Method s_ScriptFunctions_GlueScriptEvents[NUM_SCRIPT_FUNCTIONS_GLUE_SCRIPT_EVENTS];
|
||||
extern FrameScript_Method s_ScriptFunctions_RealmList[NUM_SCRIPT_FUNCTIONS_REALM_LIST];
|
||||
extern FrameScript_Method s_ScriptFunctions_SimpleFrame[NUM_SCRIPT_FUNCTIONS_SIMPLE_FRAME];
|
||||
extern FrameScript_Method s_ScriptFunctions_System[NUM_SCRIPT_FUNCTIONS_SYSTEM];
|
||||
}
|
||||
|
|
@ -25,6 +27,7 @@ namespace FrameScript {
|
|||
void CharacterCreateRegisterScriptFunctions();
|
||||
void CharSelectRegisterScriptFunctions();
|
||||
void GlueScriptEventsRegisterFunctions();
|
||||
void RealmListRegisterScriptFunctions();
|
||||
void RegisterSimpleFrameScriptMethods();
|
||||
void SystemRegisterFunctions();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue