CvLuaPlayer::lGetMaxStockpile(lua_State *)
- Defined in
- Lua/CvLuaPlayer.cpp, line 1837
- Class
- CvLuaPlayer
- Not a hook point
- member without a separate declaration
Code
1836//int getMaxStockpile();1837int CvLuaPlayer::lGetMaxStockpile(lua_State* L)1838{1839 CvPlayerAI* pkPlayer = GetInstance(L);18401841 const int iResult = pkPlayer->getMaxStockpile();1842 lua_pushinteger(L, iResult);1843 return 1;1844}
Calls
CvLuaScopedInstance::GetInstance- CvPlayer::getMaxStockpile() const
lua_pushinteger