Bazaar developer reference

CvLuaCity::lIsOccupied(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 3023
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lIsOccupied

Hooks

static bool BeforeCvLuaCity_lIsOccupied(lua_State* L, int& result);static void AfterCvLuaCity_lIsOccupied(lua_State* L, int& result);static int ReplaceCvLuaCity_lIsOccupied(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lIsOccupied>(host, &BeforeCvLuaCity_lIsOccupied);CivRegisterAfter<CivHooks::CvLuaCity_lIsOccupied>(host, &AfterCvLuaCity_lIsOccupied);CivRegisterReplace<CivHooks::CvLuaCity_lIsOccupied>(host, &ReplaceCvLuaCity_lIsOccupied);

Code

3022//int IsOccupied();3023int CvLuaCity::lIsOccupied(lua_State* L)3024{3025	return BasicLuaMethod(L, &CvCity::IsOccupied);3026}

Calls

Called by