IObjectEvents

From Virtual World Web Wiki
Jump to: navigation, search

This interface describes a Layer Two extensibility point. Components can implement this interface and an instance of the implementing class will be created by MEF on startup. Provides events that Layer 2 components can use to responde to notifications of changes to [Container System|Containers], Object Types or Object Templates on either the service provider or instance host

See also: ObjectEventsHandler

Remarks [edit]

Methods

void ContainerAttached(Guid objectContainerID, Guid securableID)
A container has been attached to a securable
void ContainerDetached(Guid objectContainerID, Guid securableID)
A container has been dettached from a securable
void ContainerItemAdded(Guid objectContainerID, Guid objectTemplateID)
An ObjectTemplate has been added to an ObjectContainer
void ContainerItemRemoved(Guid objectContainerID, Guid objectTemplateID)
An ObjectTemplate has been removed from an ObjectContainer
void ContainerMetadataChanged(Guid objectContainerID)
The name or other metadata on a container are changing
void ContainerPermissionsChanged(Guid objectContainerID)
The permissions on a container are changing
void ObjectDOMAttributesChanged(Guid objectTypeID)
Lets a component know that object type DOM attributes have changed
void ObjectLayoutChanged(Guid objectTypeID, Guid objectTemplateID)
Lets a component know that object type layout has changed
void ObjectTagsChanged(Guid objectTypeID)
Lets a component know that object type tags have changed
void ObjectTemplateDeleted(Guid objectTemplateID)
An object template has been deleted
void ObjectTemplateMetadataChanged(Guid objectTemplateID)
Lets a component know that object template metadata has changed
void ObjectTypeDeleted(Guid objectTypeID)
An object type has been deleted
void ObjectTypeImportMetadataValidation(Guid objectTypeID, Dictionary<string, ProtoValue> metadata)
Gives a component an opportunity to import or modify ObjectType metadata during an ObjectType transfer
void ObjectTypeMetadataChanged(Guid objectTypeID)
Lets a component know that object type metadata has changed
void TemplateTransactionCancelled(IObjectTemplateTransaction trans)
Called by layer one to notify you of an object template transfer's progress
void TemplateTransactionExecuted(IObjectTemplateTransaction trans)
Called by layer one to notify you of an object template transfer's progress
void TemplateTransactionValidated(IObjectTemplateTransaction trans)
Called by layer one to notify you of an object template transfer's progress
bool ValidateTemplateTransaction(IObjectTemplateTransaction trans)
Called by layer one to validate an object template transaction. You may return true to allow the transaction or false to cancel it. When an object is being created or transferred you may change the target container by calling SetTargetContainer on the transaction.