Bazaar developer reference

CvLuaTeam::lGetVictoryCountdown(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 1323
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lGetVictoryCountdown

Hooks

static bool BeforeCvLuaTeam_lGetVictoryCountdown(lua_State* L, int& result);static void AfterCvLuaTeam_lGetVictoryCountdown(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetVictoryCountdown(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetVictoryCountdown>(host, &BeforeCvLuaTeam_lGetVictoryCountdown);CivRegisterAfter<CivHooks::CvLuaTeam_lGetVictoryCountdown>(host, &AfterCvLuaTeam_lGetVictoryCountdown);CivRegisterReplace<CivHooks::CvLuaTeam_lGetVictoryCountdown>(host, &ReplaceCvLuaTeam_lGetVictoryCountdown);

Code

1322//int getVictoryCountdown(VictoryTypes eVictory);1323int CvLuaTeam::lGetVictoryCountdown(lua_State* L)1324{1325	return BasicLuaMethod(L, &CvTeam::getVictoryCountdown);1326}

Calls

Called by