Bazaar developer reference

CvLuaMap::lAreas(lua_State *)

Defined in
Lua/CvLuaMap.cpp, line 78
Class
CvLuaMap
Hook name
CivHooks::CvLuaMap_lAreas

Hooks

static bool BeforeCvLuaMap_lAreas(lua_State* L, int& result);static void AfterCvLuaMap_lAreas(lua_State* L, int& result);static int ReplaceCvLuaMap_lAreas(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaMap_lAreas>(host, &BeforeCvLuaMap_lAreas);CivRegisterAfter<CivHooks::CvLuaMap_lAreas>(host, &AfterCvLuaMap_lAreas);CivRegisterReplace<CivHooks::CvLuaMap_lAreas>(host, &ReplaceCvLuaMap_lAreas);

Code

78int CvLuaMap::lAreas(lua_State* L)79{80	lua_pushcclosure(L, CvLuaMap::lAreasAux, 0);81	return 1;82}

Calls

Called by