//------------------------------------------------------------------------------ //int getYieldRateModifier(PlayerTypes eIndex1, YieldTypes eIndex2); int CvLuaArea::lGetYieldRateModifier(lua_State* L) { CvArea* pkArea = GetInstance(L); const PlayerTypes eIndex1 = (PlayerTypes)lua_tointeger(L, 2); const YieldTypes eIndex2 = (YieldTypes)lua_tointeger(L, 3); const int iResult = pkArea->getYieldRateModifier(eIndex1, eIndex2); lua_pushinteger(L, iResult); return 1; }