Bazaar developer reference

CvLuaMap::lRecalculateAreas(lua_State *)

Defined in
Lua/CvLuaMap.cpp, line 357
Class
CvLuaMap
Hook name
CivHooks::CvLuaMap_lRecalculateAreas

Hooks

static bool BeforeCvLuaMap_lRecalculateAreas(lua_State* L, int& result);static void AfterCvLuaMap_lRecalculateAreas(lua_State* L, int& result);static int ReplaceCvLuaMap_lRecalculateAreas(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaMap_lRecalculateAreas>(host, &BeforeCvLuaMap_lRecalculateAreas);CivRegisterAfter<CivHooks::CvLuaMap_lRecalculateAreas>(host, &AfterCvLuaMap_lRecalculateAreas);CivRegisterReplace<CivHooks::CvLuaMap_lRecalculateAreas>(host, &ReplaceCvLuaMap_lRecalculateAreas);

Code

357int CvLuaMap::lRecalculateAreas(lua_State* L)358{359	GC.getMap().recalculateAreas();360	return 0;361}

Calls

Called by