Bazaar developer reference

CvLuaUnit::lRebaseAt(lua_State *)

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

Code

934//bool rebase(x,y);935int CvLuaUnit::lRebaseAt(lua_State* L)936{937	CvUnit* pkUnit = GetInstance(L);938	const int iX = lua_tointeger(L, 2);939	const int iY = lua_tointeger(L, 3);940	const bool bResult = pkUnit->rebase(iX,iY);941942	return 0;943}

Calls

Called by