CvLuaTeam::lGetPower(lua_State *)
- Defined in
- Lua/CvLuaTeam.cpp, line 364
- Class
- CvLuaTeam
- Hook name
CivHooks::CvLuaTeam_lGetPower
Hooks
static bool BeforeCvLuaTeam_lGetPower(lua_State* L, int& result);static void AfterCvLuaTeam_lGetPower(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetPower(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetPower>(host, &BeforeCvLuaTeam_lGetPower);CivRegisterAfter<CivHooks::CvLuaTeam_lGetPower>(host, &AfterCvLuaTeam_lGetPower);CivRegisterReplace<CivHooks::CvLuaTeam_lGetPower>(host, &ReplaceCvLuaTeam_lGetPower);
Code
363//int getPower();364int CvLuaTeam::lGetPower(lua_State* L)365{366 return BasicLuaMethod(L, &CvTeam::getPower);367}
Calls
CvLuaMethodWrapper::BasicLuaMethod- CvTeam::getPower() const