Bazaar developer reference

CvLuaCity::lIsNoOccupiedUnhappiness(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 2841
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lIsNoOccupiedUnhappiness

Hooks

static bool BeforeCvLuaCity_lIsNoOccupiedUnhappiness(lua_State* L, int& result);static void AfterCvLuaCity_lIsNoOccupiedUnhappiness(lua_State* L, int& result);static int ReplaceCvLuaCity_lIsNoOccupiedUnhappiness(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lIsNoOccupiedUnhappiness>(host, &BeforeCvLuaCity_lIsNoOccupiedUnhappiness);CivRegisterAfter<CivHooks::CvLuaCity_lIsNoOccupiedUnhappiness>(host, &AfterCvLuaCity_lIsNoOccupiedUnhappiness);CivRegisterReplace<CivHooks::CvLuaCity_lIsNoOccupiedUnhappiness>(host, &ReplaceCvLuaCity_lIsNoOccupiedUnhappiness);

Code

2840//bool IsNoOccupiedUnhappiness();2841int CvLuaCity::lIsNoOccupiedUnhappiness(lua_State* L)2842{2843	return BasicLuaMethod(L, &CvCity::IsNoOccupiedUnhappiness);2844}

Calls

Called by