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);