Bazaar developer reference

CvLuaTeam::lGetExtraMoves(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 1021
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lGetExtraMoves

Hooks

static bool BeforeCvLuaTeam_lGetExtraMoves(lua_State* L, int& result);static void AfterCvLuaTeam_lGetExtraMoves(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetExtraMoves(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetExtraMoves>(host, &BeforeCvLuaTeam_lGetExtraMoves);CivRegisterAfter<CivHooks::CvLuaTeam_lGetExtraMoves>(host, &AfterCvLuaTeam_lGetExtraMoves);CivRegisterReplace<CivHooks::CvLuaTeam_lGetExtraMoves>(host, &ReplaceCvLuaTeam_lGetExtraMoves);

Code

1020//int getExtraMoves(DomainTypes eIndex);1021int CvLuaTeam::lGetExtraMoves(lua_State* L)1022{1023	return BasicLuaMethod(L, &CvTeam::getExtraMoves);1024}

Calls

Called by