Bazaar developer reference

CvLuaCity::lGetFaithPerTurn(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 2506
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetFaithPerTurn

Hooks

static bool BeforeCvLuaCity_lGetFaithPerTurn(lua_State* L, int& result);static void AfterCvLuaCity_lGetFaithPerTurn(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetFaithPerTurn(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetFaithPerTurn>(host, &BeforeCvLuaCity_lGetFaithPerTurn);CivRegisterAfter<CivHooks::CvLuaCity_lGetFaithPerTurn>(host, &AfterCvLuaCity_lGetFaithPerTurn);CivRegisterReplace<CivHooks::CvLuaCity_lGetFaithPerTurn>(host, &ReplaceCvLuaCity_lGetFaithPerTurn);

Code

2505//int GetFaithPerTurn() const;2506int CvLuaCity::lGetFaithPerTurn(lua_State* L)2507{2508	return BasicLuaMethod(L, &CvCity::GetFaithPerTurn);2509}

Calls

Called by