Bazaar developer reference

CvLuaTeam::lGetDefensivePactCount(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 448
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lGetDefensivePactCount

Hooks

static bool BeforeCvLuaTeam_lGetDefensivePactCount(lua_State* L, int& result);static void AfterCvLuaTeam_lGetDefensivePactCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetDefensivePactCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetDefensivePactCount>(host, &BeforeCvLuaTeam_lGetDefensivePactCount);CivRegisterAfter<CivHooks::CvLuaTeam_lGetDefensivePactCount>(host, &AfterCvLuaTeam_lGetDefensivePactCount);CivRegisterReplace<CivHooks::CvLuaTeam_lGetDefensivePactCount>(host, &ReplaceCvLuaTeam_lGetDefensivePactCount);

Code

447//int getDefensivePactCount();448int CvLuaTeam::lGetDefensivePactCount(lua_State* L)449{450	return BasicLuaMethod(L, &CvTeam::getDefensivePactCount);451}

Calls

Called by