Bazaar developer reference

CvLuaTeam::lIsOpenBordersTradingAllowedWithTeam(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 783
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lIsOpenBordersTradingAllowedWithTeam

Hooks

static bool BeforeCvLuaTeam_lIsOpenBordersTradingAllowedWithTeam(lua_State* L, int& result);static void AfterCvLuaTeam_lIsOpenBordersTradingAllowedWithTeam(lua_State* L, int& result);static int ReplaceCvLuaTeam_lIsOpenBordersTradingAllowedWithTeam(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lIsOpenBordersTradingAllowedWithTeam>(host, &BeforeCvLuaTeam_lIsOpenBordersTradingAllowedWithTeam);CivRegisterAfter<CivHooks::CvLuaTeam_lIsOpenBordersTradingAllowedWithTeam>(host, &AfterCvLuaTeam_lIsOpenBordersTradingAllowedWithTeam);CivRegisterReplace<CivHooks::CvLuaTeam_lIsOpenBordersTradingAllowedWithTeam>(host, &ReplaceCvLuaTeam_lIsOpenBordersTradingAllowedWithTeam);

Code

782//bool isOpenBordersTradingAllowedWithTeam(TeamTypes eTeam)783int CvLuaTeam::lIsOpenBordersTradingAllowedWithTeam(lua_State* L)784{785	return BasicLuaMethod(L, &CvTeam::isOpenBordersTradingAllowedWithTeam);786}

Calls

Called by