Bazaar developer reference

CvLuaUnit::lisOutOfInterceptions(lua_State *)

Defined in
Lua/CvLuaUnit.cpp, line 4491
Class
CvLuaUnit
Hook name
CivHooks::CvLuaUnit_lisOutOfInterceptions

Hooks

static bool BeforeCvLuaUnit_lisOutOfInterceptions(lua_State* L, int& result);static void AfterCvLuaUnit_lisOutOfInterceptions(lua_State* L, int& result);static int ReplaceCvLuaUnit_lisOutOfInterceptions(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaUnit_lisOutOfInterceptions>(host, &BeforeCvLuaUnit_lisOutOfInterceptions);CivRegisterAfter<CivHooks::CvLuaUnit_lisOutOfInterceptions>(host, &AfterCvLuaUnit_lisOutOfInterceptions);CivRegisterReplace<CivHooks::CvLuaUnit_lisOutOfInterceptions>(host, &ReplaceCvLuaUnit_lisOutOfInterceptions);

Code

4490//bool isOutOfInterceptions();4491int CvLuaUnit::lisOutOfInterceptions(lua_State* L)4492{4493	CvUnit* pkUnit = GetInstance(L);4494	const bool bResult = pkUnit->isOutOfInterceptions();44954496	lua_pushboolean(L, bResult);4497	return 1;4498}

Calls

Called by