Bazaar developer reference

CvLuaGame::lIsTutorialLogging(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 957
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lIsTutorialLogging

Hooks

static bool BeforeCvLuaGame_lIsTutorialLogging(lua_State* L, int& result);static void AfterCvLuaGame_lIsTutorialLogging(lua_State* L, int& result);static int ReplaceCvLuaGame_lIsTutorialLogging(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lIsTutorialLogging>(host, &BeforeCvLuaGame_lIsTutorialLogging);CivRegisterAfter<CivHooks::CvLuaGame_lIsTutorialLogging>(host, &AfterCvLuaGame_lIsTutorialLogging);CivRegisterReplace<CivHooks::CvLuaGame_lIsTutorialLogging>(host, &ReplaceCvLuaGame_lIsTutorialLogging);

Code

957int CvLuaGame::lIsTutorialLogging(lua_State* L)958{959	lua_pushboolean(L, GC.GetTutorialLogging());960	return 1;961}

Calls

Called by