Bazaar developer reference

CvLuaCity::lIsFreePromotion(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 3771
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lIsFreePromotion

Hooks

static bool BeforeCvLuaCity_lIsFreePromotion(lua_State* L, int& result);static void AfterCvLuaCity_lIsFreePromotion(lua_State* L, int& result);static int ReplaceCvLuaCity_lIsFreePromotion(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lIsFreePromotion>(host, &BeforeCvLuaCity_lIsFreePromotion);CivRegisterAfter<CivHooks::CvLuaCity_lIsFreePromotion>(host, &AfterCvLuaCity_lIsFreePromotion);CivRegisterReplace<CivHooks::CvLuaCity_lIsFreePromotion>(host, &ReplaceCvLuaCity_lIsFreePromotion);

Code

3770//bool isFreePromotion(PromotionTypes eIndex);3771int CvLuaCity::lIsFreePromotion(lua_State* L)3772{3773	return BasicLuaMethod(L, &CvCity::isFreePromotion);3774}

Calls

Called by