Bazaar developer reference

CvLuaMap::RegisterMembers(lua_State *)

Defined in
Lua/CvLuaMap.cpp, line 38
Class
CvLuaMap
Hook name
CivHooks::CvLuaMap_RegisterMembers

Hooks

static bool BeforeCvLuaMap_RegisterMembers(lua_State* L);static void AfterCvLuaMap_RegisterMembers(lua_State* L);static void ReplaceCvLuaMap_RegisterMembers(void (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaMap_RegisterMembers>(host, &BeforeCvLuaMap_RegisterMembers);CivRegisterAfter<CivHooks::CvLuaMap_RegisterMembers>(host, &AfterCvLuaMap_RegisterMembers);CivRegisterReplace<CivHooks::CvLuaMap_RegisterMembers>(host, &ReplaceCvLuaMap_RegisterMembers);

Code

38void CvLuaMap::RegisterMembers(lua_State* L)39{40	Method(Areas);41	Method(FindBiggestArea);42	Method(FindWater);43	Method(GetClimate);44	Method(GetFractalFlags);45	Method(GetGridSize);46	Method(GetNumPlots);47	Method(GetNumResources);48	Method(GetNumResourcesOnLand);49	Method(GetPlot);50	Method(GetPlotByIndex);51	Method(GetPlotXY);52	Method(GetArea);53	Method(GetIndexAfterLastArea);54	Method(GetLandPlots);55	Method(GetNumAreas);56	Method(GetNumLandAreas);57	Method(GetRandomResourceQuantity);58	Method(GetSeaLevel);59	Method(GetWorldSize);60	Method(IsPlot);61	Method(IsWrapX);62	Method(IsWrapY);63	Method(MaxPlotDistance);64	Method(Rand);65	Method(CalculateAreas);66	Method(RecalculateAreas);67	Method(PlotDistance);68	Method(PlotXYWithRangeCheck);69	Method(PlotDirection);70	Method(DefaultContinentStamper);71	Method(DoPlaceNaturalWonders);72	Method(GetCustomOption);73	Method(UpdateDeferredFog);74	Method(ChangeAIMapHint);75	Method(GetAIMapHint);76}

Calls