Bazaar developer reference

CvLuaUnit::lGetMaxHitPointsBase(lua_State *)

Defined in
Lua/CvLuaUnit.cpp, line 2289
Class
CvLuaUnit
Not a hook point
member without a separate declaration

Code

2289int CvLuaUnit::lGetMaxHitPointsBase(lua_State* L)2290{2291	CvUnit* pkUnit = GetInstance(L);22922293	const int iResult = pkUnit->getMaxHitPointsBase();2294	lua_pushinteger(L, iResult);2295	return 1;2296}

Calls

Called by