Bazaar developer reference

CvLuaGame::lGetBestLandUnitCombat(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1306
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lGetBestLandUnitCombat

Hooks

static bool BeforeCvLuaGame_lGetBestLandUnitCombat(lua_State* L, int& result);static void AfterCvLuaGame_lGetBestLandUnitCombat(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetBestLandUnitCombat(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetBestLandUnitCombat>(host, &BeforeCvLuaGame_lGetBestLandUnitCombat);CivRegisterAfter<CivHooks::CvLuaGame_lGetBestLandUnitCombat>(host, &AfterCvLuaGame_lGetBestLandUnitCombat);CivRegisterReplace<CivHooks::CvLuaGame_lGetBestLandUnitCombat>(host, &ReplaceCvLuaGame_lGetBestLandUnitCombat);

Code

1305//int getBestLandUnitCombat();1306int CvLuaGame::lGetBestLandUnitCombat(lua_State* L)1307{1308	return BasicLuaMethod(L, &CvGame::getBestLandUnitCombat);1309}

Calls

Called by