Bazaar developer reference

CvLuaCity::lGetLocalHappiness(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 3051
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetLocalHappiness

Hooks

static bool BeforeCvLuaCity_lGetLocalHappiness(lua_State* L, int& result);static void AfterCvLuaCity_lGetLocalHappiness(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetLocalHappiness(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetLocalHappiness>(host, &BeforeCvLuaCity_lGetLocalHappiness);CivRegisterAfter<CivHooks::CvLuaCity_lGetLocalHappiness>(host, &AfterCvLuaCity_lGetLocalHappiness);CivRegisterReplace<CivHooks::CvLuaCity_lGetLocalHappiness>(host, &ReplaceCvLuaCity_lGetLocalHappiness);

Code

3051int CvLuaCity::lGetLocalHappiness(lua_State* L)3052{3053	return BasicLuaMethod(L, &CvCity::GetLocalHappiness);3054}

Calls

Called by