Bazaar developer reference

CvLuaTeam::lIsDefensivePact(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 1112
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lIsDefensivePact

Hooks

static bool BeforeCvLuaTeam_lIsDefensivePact(lua_State* L, int& result);static void AfterCvLuaTeam_lIsDefensivePact(lua_State* L, int& result);static int ReplaceCvLuaTeam_lIsDefensivePact(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lIsDefensivePact>(host, &BeforeCvLuaTeam_lIsDefensivePact);CivRegisterAfter<CivHooks::CvLuaTeam_lIsDefensivePact>(host, &AfterCvLuaTeam_lIsDefensivePact);CivRegisterReplace<CivHooks::CvLuaTeam_lIsDefensivePact>(host, &ReplaceCvLuaTeam_lIsDefensivePact);

Code

1111//bool isDefensivePact(TeamTypes eIndex);1112int CvLuaTeam::lIsDefensivePact(lua_State* L)1113{1114	return BasicLuaMethod(L, &CvTeam::IsHasDefensivePact);1115}

Calls

Called by