CvLuaGameInfo::Register(lua_State *)
- Defined in
- Lua/CvLuaGameInfo.cpp, line 25
- Class
- CvLuaGameInfo
- Hook name
CivHooks::CvLuaGameInfo_Register
Hooks
static bool BeforeCvLuaGameInfo_Register(lua_State* L);static void AfterCvLuaGameInfo_Register(lua_State* L);static void ReplaceCvLuaGameInfo_Register(void (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGameInfo_Register>(host, &BeforeCvLuaGameInfo_Register);CivRegisterAfter<CivHooks::CvLuaGameInfo_Register>(host, &AfterCvLuaGameInfo_Register);CivRegisterReplace<CivHooks::CvLuaGameInfo_Register>(host, &ReplaceCvLuaGameInfo_Register);
Code
25void CvLuaGameInfo::Register(lua_State* L)26{27 //Register other game info structures.28 Lua::CCallWithErrorHandling(L, pRegisterActions);29 Lua::CCallWithErrorHandling(L, pRegisterTypesInfo);30}
Calls
- CvLuaGameInfo::pRegisterActions(lua_State *)
- CvLuaGameInfo::pRegisterTypesInfo(lua_State *)
FLua::Details::CCallWithErrorHandling