Bazaar developer reference

CvLuaCity::lGetFirstUnitOrder(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1285
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetFirstUnitOrder

Hooks

static bool BeforeCvLuaCity_lGetFirstUnitOrder(lua_State* L, int& result);static void AfterCvLuaCity_lGetFirstUnitOrder(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetFirstUnitOrder(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetFirstUnitOrder>(host, &BeforeCvLuaCity_lGetFirstUnitOrder);CivRegisterAfter<CivHooks::CvLuaCity_lGetFirstUnitOrder>(host, &AfterCvLuaCity_lGetFirstUnitOrder);CivRegisterReplace<CivHooks::CvLuaCity_lGetFirstUnitOrder>(host, &ReplaceCvLuaCity_lGetFirstUnitOrder);

Code

1284//int getFirstUnitOrder(UnitTypes eUnit);1285int CvLuaCity::lGetFirstUnitOrder(lua_State* L)1286{1287	return BasicLuaMethod(L, &CvCity::getFirstUnitOrder);1288}

Calls

Called by