C# Class OpenSim.Region.OptionalModules.ContentManagement.ContentManagementEntity

Inheritance: MetaEntity
Show file Open project: N3X15/VoxelSim Class Usage Examples

Protected Properties

Property Type Description
m_AuraEntities AuraMetaEntity>.Dictionary
m_BeamEntities BeamMetaEntity>.Dictionary
m_UnchangedEntity OpenSim.Region.Framework.Scenes.SceneObjectGroup

Public Methods

Method Description
ContentManagementEntity ( SceneObjectGroup Unchanged, bool physics ) : System
ContentManagementEntity ( string objectXML, Scene scene, bool physics ) : System
FindDifferences ( ) : void

Search for a corresponding group UUID in the scene. If not found, then the revisioned group this CMEntity represents has been deleted. Mark the metaentity appropriately. If a matching UUID is found in a scene object group, compare the two for differences. If differences exist, Mark the metaentity appropriately.

HasChildPrim ( UUID uuid ) : bool

Check if the revisioned scene object group that this CMEntity is based off of contains a child with the given UUID.

HasChildPrim ( uint localID ) : bool

Check if the revisioned scene object group that this CMEntity is based off of contains a child with the given LocalId.

Hide ( IClientAPI client ) : void
HideFromAll ( ) : void
MarkWithDifferences ( SceneObjectGroup sceneEntityGroup ) : bool

Returns true if there was a change between meta entity and the entity group, false otherwise. If true is returned, it is assumed the metaentity's appearance has changed to reflect the difference (though clients haven't been updated).

SendFullAuraUpdate ( IClientAPI client ) : void
SendFullAuraUpdateToAll ( ) : void
SendFullBeamUpdate ( IClientAPI client ) : void
SendFullBeamUpdateToAll ( ) : void
SendFullDiffUpdate ( IClientAPI client ) : void
SendFullDiffUpdateToAll ( ) : void

Private Methods

Method Description
ContainsKey ( List list, UUID uuid ) : bool

Check if an entitybase list (like that returned by scene.GetEntities()) contains a group with the rootpart uuid that matches the current uuid.

GetGroupByUUID ( System list, UUID uuid ) : SceneObjectGroup

Method Details

ContentManagementEntity() public method

public ContentManagementEntity ( SceneObjectGroup Unchanged, bool physics ) : System
Unchanged OpenSim.Region.Framework.Scenes.SceneObjectGroup
physics bool
return System

ContentManagementEntity() public method

public ContentManagementEntity ( string objectXML, Scene scene, bool physics ) : System
objectXML string
scene OpenSim.Region.Framework.Scenes.Scene
physics bool
return System

FindDifferences() public method

Search for a corresponding group UUID in the scene. If not found, then the revisioned group this CMEntity represents has been deleted. Mark the metaentity appropriately. If a matching UUID is found in a scene object group, compare the two for differences. If differences exist, Mark the metaentity appropriately.
public FindDifferences ( ) : void
return void

HasChildPrim() public method

Check if the revisioned scene object group that this CMEntity is based off of contains a child with the given UUID.
public HasChildPrim ( UUID uuid ) : bool
uuid UUID
return bool

HasChildPrim() public method

Check if the revisioned scene object group that this CMEntity is based off of contains a child with the given LocalId.
public HasChildPrim ( uint localID ) : bool
localID uint
return bool

Hide() public method

public Hide ( IClientAPI client ) : void
client IClientAPI
return void

HideFromAll() public method

public HideFromAll ( ) : void
return void

MarkWithDifferences() public method

Returns true if there was a change between meta entity and the entity group, false otherwise. If true is returned, it is assumed the metaentity's appearance has changed to reflect the difference (though clients haven't been updated).
public MarkWithDifferences ( SceneObjectGroup sceneEntityGroup ) : bool
sceneEntityGroup OpenSim.Region.Framework.Scenes.SceneObjectGroup
return bool

SendFullAuraUpdate() public method

public SendFullAuraUpdate ( IClientAPI client ) : void
client IClientAPI
return void

SendFullAuraUpdateToAll() public method

public SendFullAuraUpdateToAll ( ) : void
return void

SendFullBeamUpdate() public method

public SendFullBeamUpdate ( IClientAPI client ) : void
client IClientAPI
return void

SendFullBeamUpdateToAll() public method

public SendFullBeamUpdateToAll ( ) : void
return void

SendFullDiffUpdate() public method

public SendFullDiffUpdate ( IClientAPI client ) : void
client IClientAPI
return void

SendFullDiffUpdateToAll() public method

public SendFullDiffUpdateToAll ( ) : void
return void

Property Details

m_AuraEntities protected property

protected Dictionary m_AuraEntities
return AuraMetaEntity>.Dictionary

m_BeamEntities protected property

protected Dictionary m_BeamEntities
return BeamMetaEntity>.Dictionary

m_UnchangedEntity protected property

protected SceneObjectGroup,OpenSim.Region.Framework.Scenes m_UnchangedEntity
return OpenSim.Region.Framework.Scenes.SceneObjectGroup