Bazaar developer reference

CvLuaTeam::lGetPermanentAllianceTradingCount(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 846
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lGetPermanentAllianceTradingCount

Hooks

static bool BeforeCvLuaTeam_lGetPermanentAllianceTradingCount(lua_State* L, int& result);static void AfterCvLuaTeam_lGetPermanentAllianceTradingCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetPermanentAllianceTradingCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetPermanentAllianceTradingCount>(host, &BeforeCvLuaTeam_lGetPermanentAllianceTradingCount);CivRegisterAfter<CivHooks::CvLuaTeam_lGetPermanentAllianceTradingCount>(host, &AfterCvLuaTeam_lGetPermanentAllianceTradingCount);CivRegisterReplace<CivHooks::CvLuaTeam_lGetPermanentAllianceTradingCount>(host, &ReplaceCvLuaTeam_lGetPermanentAllianceTradingCount);

Code

845//int getPermanentAllianceTradingCount();846int CvLuaTeam::lGetPermanentAllianceTradingCount(lua_State* L)847{848	return BasicLuaMethod(L, &CvTeam::getPermanentAllianceTradingCount);849}

Calls

Called by