Bazaar developer reference

CvLuaUnit::lIsSetUpForRangedAttack(lua_State *)

Defined in
Lua/CvLuaUnit.cpp, line 2908
Class
CvLuaUnit
Hook name
CivHooks::CvLuaUnit_lIsSetUpForRangedAttack

Hooks

static bool BeforeCvLuaUnit_lIsSetUpForRangedAttack(lua_State* L, int& result);static void AfterCvLuaUnit_lIsSetUpForRangedAttack(lua_State* L, int& result);static int ReplaceCvLuaUnit_lIsSetUpForRangedAttack(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaUnit_lIsSetUpForRangedAttack>(host, &BeforeCvLuaUnit_lIsSetUpForRangedAttack);CivRegisterAfter<CivHooks::CvLuaUnit_lIsSetUpForRangedAttack>(host, &AfterCvLuaUnit_lIsSetUpForRangedAttack);CivRegisterReplace<CivHooks::CvLuaUnit_lIsSetUpForRangedAttack>(host, &ReplaceCvLuaUnit_lIsSetUpForRangedAttack);

Code

2908int CvLuaUnit::lIsSetUpForRangedAttack(lua_State* L)2909{2910	return BasicLuaMethod(L, &CvUnit::isSetUpForRangedAttack);2911}

Calls

Called by