Hooks
static bool BeforeCvLuaMap_lGetIndexAfterLastArea(lua_State* L, int& result);static void AfterCvLuaMap_lGetIndexAfterLastArea(lua_State* L, int& result);static int ReplaceCvLuaMap_lGetIndexAfterLastArea(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaMap_lGetIndexAfterLastArea>(host, &BeforeCvLuaMap_lGetIndexAfterLastArea);CivRegisterAfter<CivHooks::CvLuaMap_lGetIndexAfterLastArea>(host, &AfterCvLuaMap_lGetIndexAfterLastArea);CivRegisterReplace<CivHooks::CvLuaMap_lGetIndexAfterLastArea>(host, &ReplaceCvLuaMap_lGetIndexAfterLastArea);