Bazaar developer reference

CvLuaTeam::lGetGoldTradingCount(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 730
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lGetGoldTradingCount

Hooks

static bool BeforeCvLuaTeam_lGetGoldTradingCount(lua_State* L, int& result);static void AfterCvLuaTeam_lGetGoldTradingCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetGoldTradingCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetGoldTradingCount>(host, &BeforeCvLuaTeam_lGetGoldTradingCount);CivRegisterAfter<CivHooks::CvLuaTeam_lGetGoldTradingCount>(host, &AfterCvLuaTeam_lGetGoldTradingCount);CivRegisterReplace<CivHooks::CvLuaTeam_lGetGoldTradingCount>(host, &ReplaceCvLuaTeam_lGetGoldTradingCount);

Code

729//int getGoldTradingCount();730int CvLuaTeam::lGetGoldTradingCount(lua_State* L)731{732	return BasicLuaMethod(L, &CvTeam::getGoldTradingCount);733}

Calls

Called by