INotificationEvents

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. Notification events form a powerful component communication infrastructure, and offer notifications about settings changes.

See also: NotificationEventsHandler

Remarks [edit]

Methods

void ChangeNotify(string selector, Guid? id)
A notification of a change submitted by your own component through LayerOne.ComponentSystem.ChangeNotify. This event only fires on the instance host.
void EntityEvent(IConnectionIdentity identity, string identifier, Guid? context, Decimal? amount)
Fires for each connection belonging to the entity passed in to EntitySystem.FireEntityEvent (or the provided connection)
IEnumerable<TagHint> GetTagHints()
L1 request for tag hints
void ProviderChangeNotify(string selector, Guid? id)
A notification of a change submitted by your own component through LayerOne.ComponentSystem.ChangeNotify. This event only fires on the service provider.
void ProviderEntityEvent(Guid entityID, string identifier, Guid? context, Decimal? amount)
Fires once on the service provider for each entity event, regardless of whether any connection is online belonging to this entity
void ProviderSettingChange()
Fires on the service provider when a change is made to a system setting
void ProviderSystemEvent(string identifier, Guid? context = NULL, Decimal? amount = NULL)
Fires once on the service provider for each system event
void SettingChange()
Fires on the instance host when a change is made to a system setting