Bazaar developer reference

CvLuaCity::lGetFaithPerTurnFromReligion(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 2537
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetFaithPerTurnFromReligion

Hooks

static bool BeforeCvLuaCity_lGetFaithPerTurnFromReligion(lua_State* L, int& result);static void AfterCvLuaCity_lGetFaithPerTurnFromReligion(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetFaithPerTurnFromReligion(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetFaithPerTurnFromReligion>(host, &BeforeCvLuaCity_lGetFaithPerTurnFromReligion);CivRegisterAfter<CivHooks::CvLuaCity_lGetFaithPerTurnFromReligion>(host, &AfterCvLuaCity_lGetFaithPerTurnFromReligion);CivRegisterReplace<CivHooks::CvLuaCity_lGetFaithPerTurnFromReligion>(host, &ReplaceCvLuaCity_lGetFaithPerTurnFromReligion);

Code

2536//int GetFaithPerTurnFromReligion() const;2537int CvLuaCity::lGetFaithPerTurnFromReligion(lua_State* L)2538{2539	return BasicLuaMethod(L, &CvCity::GetFaithPerTurnFromReligion);2540}

Calls

Called by