Bazaar developer reference

CvLuaCity::lGetFaithPerTurnFromBuildings(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 2512
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetFaithPerTurnFromBuildings

Hooks

static bool BeforeCvLuaCity_lGetFaithPerTurnFromBuildings(lua_State* L, int& result);static void AfterCvLuaCity_lGetFaithPerTurnFromBuildings(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetFaithPerTurnFromBuildings(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetFaithPerTurnFromBuildings>(host, &BeforeCvLuaCity_lGetFaithPerTurnFromBuildings);CivRegisterAfter<CivHooks::CvLuaCity_lGetFaithPerTurnFromBuildings>(host, &AfterCvLuaCity_lGetFaithPerTurnFromBuildings);CivRegisterReplace<CivHooks::CvLuaCity_lGetFaithPerTurnFromBuildings>(host, &ReplaceCvLuaCity_lGetFaithPerTurnFromBuildings);

Code

2511//int GetFaithPerTurnFromBuildings() const;2512int CvLuaCity::lGetFaithPerTurnFromBuildings(lua_State* L)2513{2514	return BasicLuaMethod(L, &CvCity::GetFaithPerTurnFromBuildings);2515}

Calls

Called by