Bazaar developer reference

CvLuaGame::lToggleDebugMode(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1210
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lToggleDebugMode

Hooks

static bool BeforeCvLuaGame_lToggleDebugMode(lua_State* L, int& result);static void AfterCvLuaGame_lToggleDebugMode(lua_State* L, int& result);static int ReplaceCvLuaGame_lToggleDebugMode(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lToggleDebugMode>(host, &BeforeCvLuaGame_lToggleDebugMode);CivRegisterAfter<CivHooks::CvLuaGame_lToggleDebugMode>(host, &AfterCvLuaGame_lToggleDebugMode);CivRegisterReplace<CivHooks::CvLuaGame_lToggleDebugMode>(host, &ReplaceCvLuaGame_lToggleDebugMode);

Code

1209//void toggleDebugMode();1210int CvLuaGame::lToggleDebugMode(lua_State* L)1211{1212	return BasicLuaMethod(L, &CvGame::toggleDebugMode);1213}

Calls

Called by