Bazaar developer reference

CvLuaTeam::lCanLaunch(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 1337
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lCanLaunch

Hooks

static bool BeforeCvLuaTeam_lCanLaunch(lua_State* L, int& result);static void AfterCvLuaTeam_lCanLaunch(lua_State* L, int& result);static int ReplaceCvLuaTeam_lCanLaunch(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lCanLaunch>(host, &BeforeCvLuaTeam_lCanLaunch);CivRegisterAfter<CivHooks::CvLuaTeam_lCanLaunch>(host, &AfterCvLuaTeam_lCanLaunch);CivRegisterReplace<CivHooks::CvLuaTeam_lCanLaunch>(host, &ReplaceCvLuaTeam_lCanLaunch);

Code

1336//bool canLaunch(VictoryTypes eVictory);1337int CvLuaTeam::lCanLaunch(lua_State* L)1338{1339	return BasicLuaMethod(L, &CvTeam::canLaunch);1340}

Calls

Called by