Bazaar developer reference

CvLuaCity::lGetGreatPeopleRate(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 2205
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetGreatPeopleRate

Hooks

static bool BeforeCvLuaCity_lGetGreatPeopleRate(lua_State* L, int& result);static void AfterCvLuaCity_lGetGreatPeopleRate(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetGreatPeopleRate(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetGreatPeopleRate>(host, &BeforeCvLuaCity_lGetGreatPeopleRate);CivRegisterAfter<CivHooks::CvLuaCity_lGetGreatPeopleRate>(host, &AfterCvLuaCity_lGetGreatPeopleRate);CivRegisterReplace<CivHooks::CvLuaCity_lGetGreatPeopleRate>(host, &ReplaceCvLuaCity_lGetGreatPeopleRate);

Code

2204//int getGreatPeopleRate();2205int CvLuaCity::lGetGreatPeopleRate(lua_State* L)2206{2207	return BasicLuaMethod(L, &CvCity::getGreatPeopleRate);2208}

Calls

Called by