Bazaar developer reference

CvLuaUnit::lIsFeatureHalfMove(lua_State *)

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

Code

4861//bool isFeatureHalfMove(int /*FeatureTypes*/ eIndex);4862int CvLuaUnit::lIsFeatureHalfMove(lua_State* L)4863{4864	CvUnit* pkUnit = GetInstance(L);4865	const FeatureTypes eIndex = (FeatureTypes)lua_tointeger(L, 2);4866	const bool bResult = pkUnit->isFeatureHalfMove(eIndex);48674868	lua_pushboolean(L, bResult);4869	return 1;4870}

Calls

Called by