C# 클래스 Aurora.Modules.CityBuilder.CityModule

상속: Aurora.Framework.IDataTransferable, IApplicationPlugin, ICityModule
파일 보기 프로젝트 열기: CobraElDiablo/CityModule 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
companyNamePrefixes string[]
companyNameSuffixs string[]
companyNames string[]

공개 메소드들

메소드 설명
Close ( ) : void

Dispose ( ) : void

Duplicate ( ) : Aurora.Framework.IDataTransferable
FromKVP ( object>.Dictionary KVP ) : void
FromOSD ( OSDMap map ) : void
Initialize ( ISimulationBase openSim ) : void

This method is during the startup of the Aurora server, It is called just after the HTTP server has started and before any shared modules or regions have been loaded.

PostInitialise ( ) : void

This is called when the module has been loaded.

PostStart ( ) : void

ReloadConfiguration ( IConfigSource config ) : void

Start ( ) : void

ToKeyValuePairs ( ) : object>.Dictionary
ToOSD ( ) : OSDMap
cmdBackup ( string module, string cmdParams ) : void
cmdBuilding ( string module, string cmdParams ) : void

cmdCityBuilder ( string module, string cmdParams ) : void
cmdDisable ( string module, string cmdParams ) : void

cmdEnable ( string module, string cmdParams ) : void

cmdExport ( string module, string cmdParams ) : void

cmdGenerate ( string module, string cmdParams ) : void

cmdGetParameter ( string module, string cmdParams ) : void

cmdHelp ( string module, string cmdParams ) : void

cmdImport ( string module, string cmdParams ) : void

cmdInfo ( string module, string cmdParams ) : void

Handles one of the builtin commands on the main server's command console, this command is 'city info' it displays various information about the city, regions and buildings on the main servers console.

cmdList ( string module, string cmdParams ) : void
cmdReset ( string module, string cmdParams ) : void

cmdRestore ( string module, string cmdParams ) : void
cmdSetParameter ( string module, string cmdParams ) : void

This method decodes the 'city set' console command.

createCube ( System.Vector3 pos, System.Vector3 dim, UUID TextureID ) : OpenSim.Framework.PrimitiveBaseShape

Constructs a cube at a given location and size.

createRegion ( int x, int y, RegionInfo regionInfo ) : bool

randomValue ( int range ) : int

비공개 메소드들

메소드 설명
InstallModule ( ) : void

doBackup ( ) : void

doBuilding ( ) : void

doExport ( string filePath, DataSetType data_type ) : bool

doGenerate ( int seed_value ) : bool

This method will produce a random city with the central region of the city being specified as a parameter. More parameters need to be made available for this method to produce a better quality city, note for now the minimum area for a city is a 3x3 grid of regions. This code is based on the original C++ version called pixel city.

doImport ( string filePath, DataSetType data_type ) : bool

doLightStrip ( int x1, int z1, int direction ) : void

doList ( ) : void

doRestore ( ) : void

doRoad ( int x1, int y1, int width, int depth ) : void

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Duplicate() 공개 메소드

public Duplicate ( ) : Aurora.Framework.IDataTransferable
리턴 Aurora.Framework.IDataTransferable

FromKVP() 공개 메소드

public FromKVP ( object>.Dictionary KVP ) : void
KVP object>.Dictionary
리턴 void

FromOSD() 공개 메소드

public FromOSD ( OSDMap map ) : void
map OSDMap
리턴 void

Initialize() 공개 메소드

This method is during the startup of the Aurora server, It is called just after the HTTP server has started and before any shared modules or regions have been loaded.
public Initialize ( ISimulationBase openSim ) : void
openSim ISimulationBase
리턴 void

PostInitialise() 공개 메소드

This is called when the module has been loaded.
public PostInitialise ( ) : void
리턴 void

PostStart() 공개 메소드

public PostStart ( ) : void
리턴 void

ReloadConfiguration() 공개 메소드

public ReloadConfiguration ( IConfigSource config ) : void
config IConfigSource
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

ToKeyValuePairs() 공개 메소드

public ToKeyValuePairs ( ) : object>.Dictionary
리턴 object>.Dictionary

ToOSD() 공개 메소드

public ToOSD ( ) : OSDMap
리턴 OSDMap

cmdBackup() 공개 메소드

public cmdBackup ( string module, string cmdParams ) : void
module string
cmdParams string
리턴 void

cmdBuilding() 공개 메소드

public cmdBuilding ( string module, string cmdParams ) : void
module string
cmdParams string
리턴 void

cmdCityBuilder() 공개 메소드

public cmdCityBuilder ( string module, string cmdParams ) : void
module string
cmdParams string
리턴 void

cmdDisable() 공개 메소드

public cmdDisable ( string module, string cmdParams ) : void
module string
cmdParams string
리턴 void

cmdEnable() 공개 메소드

public cmdEnable ( string module, string cmdParams ) : void
module string
cmdParams string
리턴 void

cmdExport() 공개 메소드

public cmdExport ( string module, string cmdParams ) : void
module string
cmdParams string
리턴 void

cmdGenerate() 공개 메소드

public cmdGenerate ( string module, string cmdParams ) : void
module string
cmdParams string
리턴 void

cmdGetParameter() 공개 메소드

public cmdGetParameter ( string module, string cmdParams ) : void
module string
cmdParams string
리턴 void

cmdHelp() 공개 메소드

public cmdHelp ( string module, string cmdParams ) : void
module string
cmdParams string
리턴 void

cmdImport() 공개 메소드

public cmdImport ( string module, string cmdParams ) : void
module string
cmdParams string
리턴 void

cmdInfo() 공개 메소드

Handles one of the builtin commands on the main server's command console, this command is 'city info' it displays various information about the city, regions and buildings on the main servers console.
public cmdInfo ( string module, string cmdParams ) : void
module string The name of the module, should be 'city' or the actual modules name.
cmdParams string
리턴 void

cmdList() 공개 메소드

public cmdList ( string module, string cmdParams ) : void
module string
cmdParams string
리턴 void

cmdReset() 공개 메소드

public cmdReset ( string module, string cmdParams ) : void
module string
cmdParams string
리턴 void

cmdRestore() 공개 메소드

public cmdRestore ( string module, string cmdParams ) : void
module string
cmdParams string
리턴 void

cmdSetParameter() 공개 메소드

This method decodes the 'city set' console command.
public cmdSetParameter ( string module, string cmdParams ) : void
module string
cmdParams string
리턴 void

createCube() 공개 메소드

Constructs a cube at a given location and size.
public createCube ( System.Vector3 pos, System.Vector3 dim, UUID TextureID ) : OpenSim.Framework.PrimitiveBaseShape
pos System.Vector3 The position of the cube, at it's center, [X,Y,Z]
dim System.Vector3 The size of the cube.
TextureID UUID
리턴 OpenSim.Framework.PrimitiveBaseShape

createRegion() 공개 메소드

public createRegion ( int x, int y, RegionInfo regionInfo ) : bool
x int
y int
regionInfo RegionInfo
리턴 bool

randomValue() 공개 정적인 메소드

public static randomValue ( int range ) : int
range int
리턴 int

프로퍼티 상세

companyNamePrefixes 공개적으로 프로퍼티

public string[] companyNamePrefixes
리턴 string[]

companyNameSuffixs 공개적으로 프로퍼티

public string[] companyNameSuffixs
리턴 string[]

companyNames 공개적으로 프로퍼티

public string[] companyNames
리턴 string[]