IInstanceMember

From Virtual World Web Wiki
Jump to: navigation, search

Information about a member of an instance, that may or may not be an IParticipant

Remarks [edit]

Properties

ILayerVersionEditSession EditSession {get;}
Represents this participant's current layer edit session (if any)
IConnectionIdentity Identity {get;}
The IConnectionIdentity of the connected user
IInstanceContext Instance {get;}
The IInstanceContext in which this participant is playing
IViewMember ViewMember {get;}
Represents this instance participant's shared view membership

Events

SceneReady(EventHandler)
Fires when the connected user's client informs the server that it has dropped the loading screen and is ready to play
TargetChanged(EventHandler<TargetChangedEventArgs>)
Fires when the user targets something in the room

Methods

ILayerVersionEditSession StartEdit(Guid layerVersionID)
Adds this participant to a layer version editing session, starting a new session if needed.
void StopEdit()
Removes this identity from a layer editing session, ending the session and saving it if this is the last participant leaving the edit session.