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

Inheritance: MetaEntity
Afficher le fichier Open project: N3X15/VoxelSim Class Usage Examples

Protected Properties

Свойство Type Description
m_AuraEntities AuraMetaEntity>.Dictionary
m_BeamEntities BeamMetaEntity>.Dictionary
m_UnchangedEntity OpenSim.Region.Framework.Scenes.SceneObjectGroup

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

ContentManagementEntity() public méthode

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

FindDifferences() public méthode

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
Résultat void

HasChildPrim() public méthode

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
Résultat bool

HasChildPrim() public méthode

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
Résultat bool

Hide() public méthode

public Hide ( IClientAPI client ) : void
client IClientAPI
Résultat void

HideFromAll() public méthode

public HideFromAll ( ) : void
Résultat void

MarkWithDifferences() public méthode

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
Résultat bool

SendFullAuraUpdate() public méthode

public SendFullAuraUpdate ( IClientAPI client ) : void
client IClientAPI
Résultat void

SendFullAuraUpdateToAll() public méthode

public SendFullAuraUpdateToAll ( ) : void
Résultat void

SendFullBeamUpdate() public méthode

public SendFullBeamUpdate ( IClientAPI client ) : void
client IClientAPI
Résultat void

SendFullBeamUpdateToAll() public méthode

public SendFullBeamUpdateToAll ( ) : void
Résultat void

SendFullDiffUpdate() public méthode

public SendFullDiffUpdate ( IClientAPI client ) : void
client IClientAPI
Résultat void

SendFullDiffUpdateToAll() public méthode

public SendFullDiffUpdateToAll ( ) : void
Résultat void

Property Details

m_AuraEntities protected_oe property

protected Dictionary m_AuraEntities
Résultat AuraMetaEntity>.Dictionary

m_BeamEntities protected_oe property

protected Dictionary m_BeamEntities
Résultat BeamMetaEntity>.Dictionary

m_UnchangedEntity protected_oe property

protected SceneObjectGroup,OpenSim.Region.Framework.Scenes m_UnchangedEntity
Résultat OpenSim.Region.Framework.Scenes.SceneObjectGroup