Bazaar developer reference

CvLuaTeam::lChangePermanentAllianceTradingCount(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 860
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lChangePermanentAllianceTradingCount

Hooks

static bool BeforeCvLuaTeam_lChangePermanentAllianceTradingCount(lua_State* L, int& result);static void AfterCvLuaTeam_lChangePermanentAllianceTradingCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lChangePermanentAllianceTradingCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lChangePermanentAllianceTradingCount>(host, &BeforeCvLuaTeam_lChangePermanentAllianceTradingCount);CivRegisterAfter<CivHooks::CvLuaTeam_lChangePermanentAllianceTradingCount>(host, &AfterCvLuaTeam_lChangePermanentAllianceTradingCount);CivRegisterReplace<CivHooks::CvLuaTeam_lChangePermanentAllianceTradingCount>(host, &ReplaceCvLuaTeam_lChangePermanentAllianceTradingCount);

Code

859//void changePermanentAllianceTradingCount(int iChange);860int CvLuaTeam::lChangePermanentAllianceTradingCount(lua_State* L)861{862	return BasicLuaMethod(L, &CvTeam::changePermanentAllianceTradingCount);863}

Calls

Called by