Bazaar developer reference

CvLuaGame::lIsUnitClassMaxedOut(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1511
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lIsUnitClassMaxedOut

Hooks

static bool BeforeCvLuaGame_lIsUnitClassMaxedOut(lua_State* L, int& result);static void AfterCvLuaGame_lIsUnitClassMaxedOut(lua_State* L, int& result);static int ReplaceCvLuaGame_lIsUnitClassMaxedOut(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lIsUnitClassMaxedOut>(host, &BeforeCvLuaGame_lIsUnitClassMaxedOut);CivRegisterAfter<CivHooks::CvLuaGame_lIsUnitClassMaxedOut>(host, &AfterCvLuaGame_lIsUnitClassMaxedOut);CivRegisterReplace<CivHooks::CvLuaGame_lIsUnitClassMaxedOut>(host, &ReplaceCvLuaGame_lIsUnitClassMaxedOut);

Code

1510//bool isUnitClassMaxedOut(UnitClassTypes eIndex, int iExtra);1511int CvLuaGame::lIsUnitClassMaxedOut(lua_State* L)1512{1513	return BasicLuaMethod(L, &CvGame::isUnitClassMaxedOut);1514}

Calls

Called by