Свойство | Тип | Описание | |
---|---|---|---|
centralRegions | List |
||
cityBuildings | List |
||
cityPlots | List |
||
cityRegions | ].Scene[ | ||
plotArray | ].int[ |
Метод | Описание | |
---|---|---|
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 | |
Результат | bool |
public CityMap ( uint regionCount, UUID estateOwner, UUID avatar, List |
||
regionCount | uint | |
estateOwner | UUID | |
avatar | UUID | |
centers | List |
|
regionDensities | List |
|
mapSeed | uint | |
Результат | System |
public ClaimPlot ( |
||
plot | ||
Результат | bool |
public FindPlot ( int x, int y, int w, int d, PlotClaimType &type ) : int | ||
x | int | |
y | int | |
w | int | |
d | int | |
type | PlotClaimType | |
Результат | int |
public GetBuilding ( UUID ident ) : |
||
ident | UUID | |
Результат |
public GetBuilding ( int idx ) : |
||
idx | int | |
Результат |
public GetBuilding ( string buildingName ) : |
||
buildingName | string | |
Результат |
public MakePlot ( int x, int y, int w, int d, PlotClaimType flags ) : |
||
x | int | |
y | int | |
w | int | |
d | int | |
flags | PlotClaimType | |
Результат |
public RemoveScene ( |
||
scene | ||
Результат | bool |
public isPlotClaimed ( |
||
plot | ||
Результат | bool |
public this ( int rx, int ry ) : |
||
rx | int | |
ry | int | |
Результат |