CvLuaPlot::lGetUnitPower(lua_State *)
- Defined in
- Lua/CvLuaPlot.cpp, line 735
- Class
- CvLuaPlot
- Hook name
CivHooks::CvLuaPlot_lGetUnitPower
Hooks
static bool BeforeCvLuaPlot_lGetUnitPower(lua_State* L, int& result);static void AfterCvLuaPlot_lGetUnitPower(lua_State* L, int& result);static int ReplaceCvLuaPlot_lGetUnitPower(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lGetUnitPower>(host, &BeforeCvLuaPlot_lGetUnitPower);CivRegisterAfter<CivHooks::CvLuaPlot_lGetUnitPower>(host, &AfterCvLuaPlot_lGetUnitPower);CivRegisterReplace<CivHooks::CvLuaPlot_lGetUnitPower>(host, &ReplaceCvLuaPlot_lGetUnitPower);
Code
734//int getUnitPower(PlayerTypes eOwner);735int CvLuaPlot::lGetUnitPower(lua_State* L)736{737 return BasicLuaMethod(L, &CvPlot::getUnitPower);738}
Calls
CvLuaMethodWrapper::BasicLuaMethod- CvPlot::getUnitPower(PlayerTypes) const