Bazaar developer reference

CvLuaCity::lGetNumGreatPeople(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 2193
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetNumGreatPeople

Hooks

static bool BeforeCvLuaCity_lGetNumGreatPeople(lua_State* L, int& result);static void AfterCvLuaCity_lGetNumGreatPeople(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetNumGreatPeople(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetNumGreatPeople>(host, &BeforeCvLuaCity_lGetNumGreatPeople);CivRegisterAfter<CivHooks::CvLuaCity_lGetNumGreatPeople>(host, &AfterCvLuaCity_lGetNumGreatPeople);CivRegisterReplace<CivHooks::CvLuaCity_lGetNumGreatPeople>(host, &ReplaceCvLuaCity_lGetNumGreatPeople);

Code

2192//int getNumGreatPeople();2193int CvLuaCity::lGetNumGreatPeople(lua_State* L)2194{2195	return BasicLuaMethod(L, &CvCity::getNumGreatPeople);2196}

Calls

Called by