CvLuaTeam::lIsAtWar(lua_State *)
- Defined in
- Lua/CvLuaTeam.cpp, line 1054
- Class
- CvLuaTeam
- Hook name
CivHooks::CvLuaTeam_lIsAtWar
Hooks
static bool BeforeCvLuaTeam_lIsAtWar(lua_State* L, int& result);static void AfterCvLuaTeam_lIsAtWar(lua_State* L, int& result);static int ReplaceCvLuaTeam_lIsAtWar(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lIsAtWar>(host, &BeforeCvLuaTeam_lIsAtWar);CivRegisterAfter<CivHooks::CvLuaTeam_lIsAtWar>(host, &AfterCvLuaTeam_lIsAtWar);CivRegisterReplace<CivHooks::CvLuaTeam_lIsAtWar>(host, &ReplaceCvLuaTeam_lIsAtWar);
Code
1053//bool isAtWar(TeamTypes eIndex);1054int CvLuaTeam::lIsAtWar(lua_State* L)1055{1056 return BasicLuaMethod(L, &CvTeam::isAtWar);1057}
Calls
CvLuaMethodWrapper::BasicLuaMethod- CvTeam::isAtWar(TeamTypes) const