Bazaar developer reference

CvLuaGame::lSetDebugMode(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1204
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lSetDebugMode

Hooks

static bool BeforeCvLuaGame_lSetDebugMode(lua_State* L, int& result);static void AfterCvLuaGame_lSetDebugMode(lua_State* L, int& result);static int ReplaceCvLuaGame_lSetDebugMode(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lSetDebugMode>(host, &BeforeCvLuaGame_lSetDebugMode);CivRegisterAfter<CivHooks::CvLuaGame_lSetDebugMode>(host, &AfterCvLuaGame_lSetDebugMode);CivRegisterReplace<CivHooks::CvLuaGame_lSetDebugMode>(host, &ReplaceCvLuaGame_lSetDebugMode);

Code

1203//bool setDebugMode();1204int CvLuaGame::lSetDebugMode(lua_State* L)1205{1206	return BasicLuaMethod(L, &CvGame::setDebugMode);1207}

Calls

Called by