Bazaar developer reference

CvLuaTeam::lGetDefensivePactTradingAllowedCount(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 797
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lGetDefensivePactTradingAllowedCount

Hooks

static bool BeforeCvLuaTeam_lGetDefensivePactTradingAllowedCount(lua_State* L, int& result);static void AfterCvLuaTeam_lGetDefensivePactTradingAllowedCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetDefensivePactTradingAllowedCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetDefensivePactTradingAllowedCount>(host, &BeforeCvLuaTeam_lGetDefensivePactTradingAllowedCount);CivRegisterAfter<CivHooks::CvLuaTeam_lGetDefensivePactTradingAllowedCount>(host, &AfterCvLuaTeam_lGetDefensivePactTradingAllowedCount);CivRegisterReplace<CivHooks::CvLuaTeam_lGetDefensivePactTradingAllowedCount>(host, &ReplaceCvLuaTeam_lGetDefensivePactTradingAllowedCount);

Code

796//int getDefensivePactTradingAllowedCount();797int CvLuaTeam::lGetDefensivePactTradingAllowedCount(lua_State* L)798{799	return BasicLuaMethod(L, &CvTeam::getDefensivePactTradingAllowedCount);800}

Calls

Called by