InteractionMappingExtended

From Virtual World Web Wiki
Jump to: navigation, search

Represents a mapping between an ability and nodes in the DOM for which the ability should be an Interaction

  • This is a JavaScript visible object

Remarks [edit]

Properties

Guid AbilityID {get;}
The ID of the ability bound to this mapping as an interaction
Guid? EntityID {get;}
The optional ID of an entity to which a participant must belong to get this interaction
string Selector {get;}
The CSS-style selector string used to select possible target objects for an this interaction

Events

OnInteraction(ParticipantExtended who, DOMObjectExtended target, Guid abilityID, object value)
Parameters:
who : The participant firing the ability
target : The DOM object on which the interaction is firing
abilityID : The ID of the ability being fired
value : The value passed with the firing of the ability
Fires when a participant executes an interaction.

Methods

void Release()
Destroys the interaction mapping