feat(ui): register realm list functions

This commit is contained in:
fallenoak 2023-02-15 22:15:37 -06:00
parent 57db9ca2a5
commit f95c041323
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
4 changed files with 91 additions and 4 deletions

View file

@ -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();