C# Class OpenSim.Region.Framework.Scenes.SceneObjectGroup

A scene object group is conceptually an object in the scene. The object is constituted of SceneObjectParts (often known as prims), one of which is considered the root part.
Inheritance: EntityBase, ISceneObject
显示文件 Open project: N3X15/VoxelSim Class Usage Examples

Public Methods

Method Description
AddInventoryItem ( IClientAPI remoteClient, uint localID, OpenSim.Framework.InventoryItemBase item, UUID copyItemID ) : bool

Add an inventory item to a prim in this group.

ApplyNextOwnerPermissions ( ) : void
CreateScriptInstances ( int startParam, bool postOnRez, string engine, int stateSource ) : void

Start the scripts contained in all the prims in this group.

ForceInventoryPersistence ( ) : void

Force all task inventories of prims in the scene object to persist

GetEffectivePermissions ( ) : uint
GetInventoryItem ( uint primID, UUID itemID ) : TaskInventoryItem

Returns an existing inventory item. Returns the original, so any changes will be live.

GetPartInventoryFileName ( IClientAPI remoteClient, uint localID ) : bool

GetStateSnapshot ( ) : string
RemoveInventoryItem ( uint localID, UUID itemID ) : int
RemoveScriptInstances ( bool sceneObjectBeingDeleted ) : void

Stop the scripts contained in all the prims in this group

RequestInventoryFile ( IClientAPI client, uint localID, IXfer xferManager ) : void

Return serialized inventory metadata for the given constituent prim

ResumeScripts ( ) : void
SetState ( string objXMLData, IScene ins ) : void
UpdateInventoryItem ( TaskInventoryItem item ) : bool

Update an existing inventory item.

Method Details

AddInventoryItem() public method

Add an inventory item to a prim in this group.
public AddInventoryItem ( IClientAPI remoteClient, uint localID, OpenSim.Framework.InventoryItemBase item, UUID copyItemID ) : bool
remoteClient IClientAPI
localID uint
item OpenSim.Framework.InventoryItemBase
copyItemID UUID The item UUID that should be used by the new item.
return bool

ApplyNextOwnerPermissions() public method

public ApplyNextOwnerPermissions ( ) : void
return void

CreateScriptInstances() public method

Start the scripts contained in all the prims in this group.
public CreateScriptInstances ( int startParam, bool postOnRez, string engine, int stateSource ) : void
startParam int
postOnRez bool
engine string
stateSource int
return void

ForceInventoryPersistence() public method

Force all task inventories of prims in the scene object to persist
public ForceInventoryPersistence ( ) : void
return void

GetEffectivePermissions() public method

public GetEffectivePermissions ( ) : uint
return uint

GetInventoryItem() public method

Returns an existing inventory item. Returns the original, so any changes will be live.
public GetInventoryItem ( uint primID, UUID itemID ) : TaskInventoryItem
primID uint
itemID UUID
return TaskInventoryItem

GetPartInventoryFileName() public method

public GetPartInventoryFileName ( IClientAPI remoteClient, uint localID ) : bool
remoteClient IClientAPI
localID uint
return bool

GetStateSnapshot() public method

public GetStateSnapshot ( ) : string
return string

RemoveInventoryItem() public method

public RemoveInventoryItem ( uint localID, UUID itemID ) : int
localID uint
itemID UUID
return int

RemoveScriptInstances() public method

Stop the scripts contained in all the prims in this group
public RemoveScriptInstances ( bool sceneObjectBeingDeleted ) : void
sceneObjectBeingDeleted bool /// Should be true if these scripts are being removed because the scene /// object is being deleted. This will prevent spurious updates to the client. ///
return void

RequestInventoryFile() public method

Return serialized inventory metadata for the given constituent prim
public RequestInventoryFile ( IClientAPI client, uint localID, IXfer xferManager ) : void
client IClientAPI
localID uint
xferManager IXfer
return void

ResumeScripts() public method

public ResumeScripts ( ) : void
return void

SetState() public method

public SetState ( string objXMLData, IScene ins ) : void
objXMLData string
ins IScene
return void

UpdateInventoryItem() public method

Update an existing inventory item.
public UpdateInventoryItem ( TaskInventoryItem item ) : bool
item TaskInventoryItem The updated item. An item with the same id must already exist /// in this prim's inventory
return bool