Bazaar developer reference

CvLuaTeam::lChangeOpenBordersTradingAllowedCount(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 790
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lChangeOpenBordersTradingAllowedCount

Hooks

static bool BeforeCvLuaTeam_lChangeOpenBordersTradingAllowedCount(lua_State* L, int& result);static void AfterCvLuaTeam_lChangeOpenBordersTradingAllowedCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lChangeOpenBordersTradingAllowedCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lChangeOpenBordersTradingAllowedCount>(host, &BeforeCvLuaTeam_lChangeOpenBordersTradingAllowedCount);CivRegisterAfter<CivHooks::CvLuaTeam_lChangeOpenBordersTradingAllowedCount>(host, &AfterCvLuaTeam_lChangeOpenBordersTradingAllowedCount);CivRegisterReplace<CivHooks::CvLuaTeam_lChangeOpenBordersTradingAllowedCount>(host, &ReplaceCvLuaTeam_lChangeOpenBordersTradingAllowedCount);

Code

789//void changeOpenBordersTradingAllowedCount(int iChange);790int CvLuaTeam::lChangeOpenBordersTradingAllowedCount(lua_State* L)791{792	return BasicLuaMethod(L, &CvTeam::changeOpenBordersTradingAllowedCount);793}

Calls

Called by