C# Class OpenSim.Region.OptionalModules.World.TreePopulator.TreePopulatorModule

Version 2.01 - Very hacky compared to the original. Will fix original and release as 0.3 later.
Inheritance: IRegionModule
ファイルを表示 Open project: aurora-sim/Aurora-Sim-Optional-Modules

Protected Properties

Property Type Description
creationCapabilities PCode[]

Public Methods

Method Description
AddRegion ( IScene scene ) : void
AddTree ( UUID uuid, UUID groupID, System.Vector3 scale, Quaternion rotation, System.Vector3 position, Tree treeType, bool newTree ) : ISceneEntity
Close ( ) : void
CreateEntity ( ISceneEntity sceneObject, UUID ownerID, UUID groupID, System.Vector3 pos, Quaternion rot, OpenSim.Framework.PrimitiveBaseShape shape ) : ISceneEntity
DeserializeObject ( string fileName ) : object
Initialise ( IConfigSource config ) : void
PostInitialise ( ) : void
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
SerializeObject ( string fileName, Object obj ) : void

Private Methods

Method Description
CalculateTrees_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
CreateTree ( UUID uuid, Copse copse, System.Vector3 position ) : void
HandleTreeActive ( IScene scene, string cmd ) : void
HandleTreeFreeze ( IScene scene, string cmd ) : void
HandleTreeHelp ( IScene scene, string cmd ) : void
HandleTreeLoad ( IScene scene, string cmd ) : void
HandleTreePlant ( IScene scene, string cmd ) : void
HandleTreeRate ( IScene scene, string cmd ) : void
HandleTreeReload ( IScene scene, string cmd ) : void
HandleTreeRemove ( IScene scene, string cmd ) : void
HandleTreeStatistics ( IScene scene, string cmd ) : void
InstallCommands ( ) : void
ReloadCopse ( ) : void
SpawnChild ( Copse copse, ISceneChildEntity s_tree ) : void
activeizeTreeze ( bool activeYN ) : void
growTrees ( ) : void
killTrees ( ) : void
seedTrees ( ) : void

Method Details

AddRegion() public method

public AddRegion ( IScene scene ) : void
scene IScene
return void

AddTree() public method

public AddTree ( UUID uuid, UUID groupID, System.Vector3 scale, Quaternion rotation, System.Vector3 position, Tree treeType, bool newTree ) : ISceneEntity
uuid UUID
groupID UUID
scale System.Vector3
rotation Quaternion
position System.Vector3
treeType Tree
newTree bool
return ISceneEntity

Close() public method

public Close ( ) : void
return void

CreateEntity() public method

public CreateEntity ( ISceneEntity sceneObject, UUID ownerID, UUID groupID, System.Vector3 pos, Quaternion rot, OpenSim.Framework.PrimitiveBaseShape shape ) : ISceneEntity
sceneObject ISceneEntity
ownerID UUID
groupID UUID
pos System.Vector3
rot Quaternion
shape OpenSim.Framework.PrimitiveBaseShape
return ISceneEntity

DeserializeObject() public static method

public static DeserializeObject ( string fileName ) : object
fileName string
return object

Initialise() public method

public Initialise ( IConfigSource config ) : void
config IConfigSource
return void

PostInitialise() public method

public PostInitialise ( ) : void
return void

RegionLoaded() public method

public RegionLoaded ( IScene scene ) : void
scene IScene
return void

RemoveRegion() public method

public RemoveRegion ( IScene scene ) : void
scene IScene
return void

SerializeObject() public static method

public static SerializeObject ( string fileName, Object obj ) : void
fileName string
obj Object
return void

Property Details

creationCapabilities protected_oe static_oe property

protected static PCode[] creationCapabilities
return PCode[]