CvLuaTeam::lIsForcePeace(lua_State *)
- Defined in
- Lua/CvLuaTeam.cpp, line 1105
- Class
- CvLuaTeam
- Hook name
CivHooks::CvLuaTeam_lIsForcePeace
Hooks
static bool BeforeCvLuaTeam_lIsForcePeace(lua_State* L, int& result);static void AfterCvLuaTeam_lIsForcePeace(lua_State* L, int& result);static int ReplaceCvLuaTeam_lIsForcePeace(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lIsForcePeace>(host, &BeforeCvLuaTeam_lIsForcePeace);CivRegisterAfter<CivHooks::CvLuaTeam_lIsForcePeace>(host, &AfterCvLuaTeam_lIsForcePeace);CivRegisterReplace<CivHooks::CvLuaTeam_lIsForcePeace>(host, &ReplaceCvLuaTeam_lIsForcePeace);
Code
1104//bool isForcePeace(TeamTypes eIndex);1105int CvLuaTeam::lIsForcePeace(lua_State* L)1106{1107 return BasicLuaMethod(L, &CvTeam::isForcePeace);1108}
Calls
CvLuaMethodWrapper::BasicLuaMethod- CvTeam::isForcePeace(TeamTypes) const