Property | Type | Description | |
---|---|---|---|
centralRegions | List |
||
cityBuildings | List |
||
cityPlots | List |
||
cityRegions | ].Scene[ | ||
plotArray | ].int[ |
Method | Description | |
---|---|---|
AddScene ( |
||
CityMap ( ) : System | ||
CityMap ( uint regionCount, UUID estateOwner, UUID avatar, List |
||
ClaimPlot ( |
This method will lay claim to a plot of land in the city map. Find the associated plot in the internal plot list and claim it, if the plot is not found then add it to the list.
|
|
FindPlot ( int x, int y, int w, int d, PlotClaimType &type ) : int |
Finds which building plot is occupying the point of land specified.
|
|
GetBuilding ( UUID ident ) : |
||
GetBuilding ( int idx ) : |
||
GetBuilding ( string buildingName ) : |
||
GetPlot ( int idx ) : |
||
MakePlot ( int x, int y, int w, int d, PlotClaimType flags ) : |
Constructs a building plot for a given position, size and claim type, does not alter any internal properties, this is just a helper method that allows you to create building plots quickly for use as parameters to other internal/external methods that the class provides.
|
|
RemoveScene ( |
||
isPlotClaimed ( |
Determines if the plot specified has been claimed already or not.
|
|
this ( int rx, int ry ) : |
public AddScene ( |
||
scene | ||
central | bool | |
return | bool |
public CityMap ( uint regionCount, UUID estateOwner, UUID avatar, List |
||
regionCount | uint | |
estateOwner | UUID | |
avatar | UUID | |
centers | List |
|
regionDensities | List |
|
mapSeed | uint | |
return | System |
public ClaimPlot ( |
||
plot | ||
return | bool |
public FindPlot ( int x, int y, int w, int d, PlotClaimType &type ) : int | ||
x | int | |
y | int | |
w | int | |
d | int | |
type | PlotClaimType | |
return | int |
public GetBuilding ( UUID ident ) : |
||
ident | UUID | |
return |
public GetBuilding ( int idx ) : |
||
idx | int | |
return |
public GetBuilding ( string buildingName ) : |
||
buildingName | string | |
return |
public MakePlot ( int x, int y, int w, int d, PlotClaimType flags ) : |
||
x | int | |
y | int | |
w | int | |
d | int | |
flags | PlotClaimType | |
return |
public RemoveScene ( |
||
scene | ||
return | bool |
public isPlotClaimed ( |
||
plot | ||
return | bool |
public this ( int rx, int ry ) : |
||
rx | int | |
ry | int | |
return |