CvLuaGame::lIsDebugMode(lua_State *)
- Defined in
- Lua/CvLuaGame.cpp, line 1198
- Class
- CvLuaGame
- Hook name
CivHooks::CvLuaGame_lIsDebugMode
Hooks
static bool BeforeCvLuaGame_lIsDebugMode(lua_State* L, int& result);static void AfterCvLuaGame_lIsDebugMode(lua_State* L, int& result);static int ReplaceCvLuaGame_lIsDebugMode(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lIsDebugMode>(host, &BeforeCvLuaGame_lIsDebugMode);CivRegisterAfter<CivHooks::CvLuaGame_lIsDebugMode>(host, &AfterCvLuaGame_lIsDebugMode);CivRegisterReplace<CivHooks::CvLuaGame_lIsDebugMode>(host, &ReplaceCvLuaGame_lIsDebugMode);
Code
1197//bool isDebugMode();1198int CvLuaGame::lIsDebugMode(lua_State* L)1199{1200 return BasicLuaMethod(L, &CvGame::isDebugMode);1201}
Calls
- CvGame::isDebugMode() const
CvLuaMethodWrapper::BasicLuaMethod