Bazaar developer reference

CvLuaTeam::lIsPermanentWarPeace(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 1061
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lIsPermanentWarPeace

Hooks

static bool BeforeCvLuaTeam_lIsPermanentWarPeace(lua_State* L, int& result);static void AfterCvLuaTeam_lIsPermanentWarPeace(lua_State* L, int& result);static int ReplaceCvLuaTeam_lIsPermanentWarPeace(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lIsPermanentWarPeace>(host, &BeforeCvLuaTeam_lIsPermanentWarPeace);CivRegisterAfter<CivHooks::CvLuaTeam_lIsPermanentWarPeace>(host, &AfterCvLuaTeam_lIsPermanentWarPeace);CivRegisterReplace<CivHooks::CvLuaTeam_lIsPermanentWarPeace>(host, &ReplaceCvLuaTeam_lIsPermanentWarPeace);

Code

1060//bool isPermanentWarPeace(TeamTypes eIndex);1061int CvLuaTeam::lIsPermanentWarPeace(lua_State* L)1062{1063	return BasicLuaMethod(L, &CvTeam::isPermanentWarPeace);1064}

Calls

Called by