Bazaar developer reference

CvLuaPlayer::lIsMinorWarQuestWithMajorActive(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 6760
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lIsMinorWarQuestWithMajorActive

Hooks

static bool BeforeCvLuaPlayer_lIsMinorWarQuestWithMajorActive(lua_State* L, int& result);static void AfterCvLuaPlayer_lIsMinorWarQuestWithMajorActive(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lIsMinorWarQuestWithMajorActive(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lIsMinorWarQuestWithMajorActive>(host, &BeforeCvLuaPlayer_lIsMinorWarQuestWithMajorActive);CivRegisterAfter<CivHooks::CvLuaPlayer_lIsMinorWarQuestWithMajorActive>(host, &AfterCvLuaPlayer_lIsMinorWarQuestWithMajorActive);CivRegisterReplace<CivHooks::CvLuaPlayer_lIsMinorWarQuestWithMajorActive>(host, &ReplaceCvLuaPlayer_lIsMinorWarQuestWithMajorActive);

Code

6760int CvLuaPlayer::lIsMinorWarQuestWithMajorActive(lua_State* L)6761{6762	const bool bResult = false;6763	lua_pushboolean(L, bResult);6764	return 1;6765}

Calls

Called by