Bazaar developer reference

CvLuaTeam::lChangeDefensivePactTradingAllowedCount(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 818
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lChangeDefensivePactTradingAllowedCount

Hooks

static bool BeforeCvLuaTeam_lChangeDefensivePactTradingAllowedCount(lua_State* L, int& result);static void AfterCvLuaTeam_lChangeDefensivePactTradingAllowedCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lChangeDefensivePactTradingAllowedCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lChangeDefensivePactTradingAllowedCount>(host, &BeforeCvLuaTeam_lChangeDefensivePactTradingAllowedCount);CivRegisterAfter<CivHooks::CvLuaTeam_lChangeDefensivePactTradingAllowedCount>(host, &AfterCvLuaTeam_lChangeDefensivePactTradingAllowedCount);CivRegisterReplace<CivHooks::CvLuaTeam_lChangeDefensivePactTradingAllowedCount>(host, &ReplaceCvLuaTeam_lChangeDefensivePactTradingAllowedCount);

Code

817//void changeDefensivePactTradingAllowedCount(int iChange);818int CvLuaTeam::lChangeDefensivePactTradingAllowedCount(lua_State* L)819{820	return BasicLuaMethod(L, &CvTeam::changeDefensivePactTradingAllowedCount);821}

Calls

Called by