CvLuaPlayer::lKillUnits(lua_State *)
- Defined in
- Lua/CvLuaPlayer.cpp, line 1316
- Class
- CvLuaPlayer
- Hook name
CivHooks::CvLuaPlayer_lKillUnits
Hooks
static bool BeforeCvLuaPlayer_lKillUnits(lua_State* L, int& result);static void AfterCvLuaPlayer_lKillUnits(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lKillUnits(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lKillUnits>(host, &BeforeCvLuaPlayer_lKillUnits);CivRegisterAfter<CivHooks::CvLuaPlayer_lKillUnits>(host, &AfterCvLuaPlayer_lKillUnits);CivRegisterReplace<CivHooks::CvLuaPlayer_lKillUnits>(host, &ReplaceCvLuaPlayer_lKillUnits);
Code
1315//void killUnits();1316int CvLuaPlayer::lKillUnits(lua_State* L)1317{1318 return BasicLuaMethod(L, &CvPlayerAI::killUnits);1319}
Calls
CvLuaMethodWrapper::BasicLuaMethod- CvPlayer::killUnits()