Bazaar developer reference

CvLuaTeam::lGetMapTradingCount(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 688
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lGetMapTradingCount

Hooks

static bool BeforeCvLuaTeam_lGetMapTradingCount(lua_State* L, int& result);static void AfterCvLuaTeam_lGetMapTradingCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetMapTradingCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetMapTradingCount>(host, &BeforeCvLuaTeam_lGetMapTradingCount);CivRegisterAfter<CivHooks::CvLuaTeam_lGetMapTradingCount>(host, &AfterCvLuaTeam_lGetMapTradingCount);CivRegisterReplace<CivHooks::CvLuaTeam_lGetMapTradingCount>(host, &ReplaceCvLuaTeam_lGetMapTradingCount);

Code

687//int getMapTradingCount();688int CvLuaTeam::lGetMapTradingCount(lua_State* L)689{690	return BasicLuaMethod(L, &CvTeam::getMapTradingCount);691}

Calls

Called by