Difference between revisions of "INotificationEvents"
From Virtual World Web Wiki
(Documentation for the INotificationEvents class) |
(Documentation for the INotificationEvents class) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
===Remarks <nowiki>[</nowiki>[{{fullurl:INotificationEvents Remarks|action=edit}} edit]<nowiki>]</nowiki>=== | ===Remarks <nowiki>[</nowiki>[{{fullurl:INotificationEvents Remarks|action=edit}} edit]<nowiki>]</nowiki>=== | ||
− | {{:INotificationEvents Remarks}} | + | {{#ifexist:INotificationEvents Remarks|{{:INotificationEvents Remarks}}|}} |
===Methods=== | ===Methods=== | ||
Line 32: | Line 32: | ||
::Fires on the service provider when a change is made to a system setting | ::Fires on the service provider when a change is made to a system setting | ||
− | :{{CSharp|void ProviderSystemEvent(string identifier, Guid? context, Decimal? amount)}} | + | :{{CSharp|void ProviderSystemEvent(string identifier, Guid? context {{=}} NULL, Decimal? amount {{=}} NULL)}} |
:: | :: | ||
::Fires once on the service provider for each system event | ::Fires once on the service provider for each system event | ||
− | |||
− | |||
− | |||
− | |||
:{{CSharp|void SettingChange()}} | :{{CSharp|void SettingChange()}} |
Latest revision as of 21:03, 12 April 2017
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