Events Global
From Virtual World Web Wiki
- This is a JavaScript global object named Events
Remarks [edit]
Events
- OnAbilitiesReset()
- OnAbilityAdded(EventHandler<FlexibleEventArgs<JSAbility>>)
- Parameters:
- ability : Which ability was added
- Event fired when a new Ability is added
- Parameters:
- OnAbilityGroupAdded(EventHandler<FlexibleEventArgs<JSAbilityGroup>>)
- Parameters:
- group : Which group was added
- Event fired when a new AbilityGroup is added
- Parameters:
- OnAbilityGroupRemoved(EventHandler<FlexibleEventArgs<JSAbilityGroup>>)
- Parameters:
- group : Which group was removed
- Event fired when an AbilityGroup is removed
- Parameters:
- OnAbilityRemoved(EventHandler<FlexibleEventArgs<JSAbility>>)
- Parameters:
- ability : Which ability was removed
- Event fired when an Ability is removed
- Parameters:
- OnAnimationEvent()
- OnAnimationFinished()
- OnAnimationStarted()
- OnCameraTypeChanged()
- OnChannelAddUser(EventHandler<FlexibleEventArgs<JSChatChannel, JSAvatarSocialInfo>>)
- Parameters:
- channel : The channel that was joined
- persona : The user that joined the channel
- Fires when a new user joins an existing chat channel
- Parameters:
- OnChannelFocus(EventHandler<FlexibleEventArgs<JSChatChannel>>)
- Parameters:
- channel : The channel that is requesting focus
- Fires when chat channel requests focus
- Parameters:
- OnChannelJoin(EventHandler<FlexibleEventArgs<JSChatChannel>>)
- Parameters:
- channel : The channel that was joined
- Fires when the user joins a new chat channel
- Parameters:
- OnChannelLeave(EventHandler<FlexibleEventArgs<JSChatChannel>>)
- Parameters:
- channel : The channel that was left
- Fires when the user leaves a chat channel
- Parameters:
- OnChannelReceivedMessage(EventHandler<FlexibleEventArgs<JSChatChannel, bool>>)
- Parameters:
- channel : The channel that received the message
- isBroadcast : Was the message a broadcast?
- Fires when chat channel receives a message
- Parameters:
- OnChannelRemoveUser(EventHandler<FlexibleEventArgs<JSChatChannel, JSAvatarSocialInfo>>)
- Parameters:
- channel : The channel that was left
- persona : The user that left the channel
- Fires when a user leaves an existing chat channel
- Parameters:
- OnCreateContextMenu(EventHandler<FlexibleEventArgs<ContextMenuArguments>>)
- OnCreateMenu()
- OnFixedUpdate()
- OnFriendInitial()
- Fires when the server delivers your friends list
- OnFriendOffline(JSAvatarSocialInfo info)
- Parameters:
- info : The friend this is relevant to
- Fires when a friend goes offline
- Parameters:
- OnFriendOnline(JSAvatarSocialInfo info)
- Parameters:
- info : The friend this is relevant to
- Fires when a friend comes online
- Parameters:
- OnFriendRequest(JSFriendRequestInfo request)
- Parameters:
- request : The received friend request
- Fires when a friend request arrives
- Parameters:
- OnFriendRequestDone(JSFriendRequestInfo request)
- Parameters:
- request : The completed friend request
- Fires when a friend request completed for any reason
- Parameters:
- OnKeyDown(EventHandler<FlexibleEventArgs<string, bool, bool, bool>>)
- Parameters:
- keycode : The string name of the key being pressed down
- Fires when a user presses a key down
- Parameters:
- OnKeyUp(EventHandler<FlexibleEventArgs<string, bool, bool, bool>>)
- Parameters:
- keycode : The string name of the key being released
- Fires when a user releases a key
- Parameters:
- OnLeftClick(EventHandler<FlexibleEventArgs<JSDOMObject>>)
- OnLoadingUI(bool state)
- Parameters:
- state : Is the LoadingUI now up or down?
- Triggers when the LoadingUI is brought up or put down.
- Parameters:
- OnLocalScriptEvent()
- OnMouseDown(EventHandler<FlexibleEventArgs<int>>)
- OnMouseUp(EventHandler<FlexibleEventArgs<int>>)
- OnMouseWheelUpdate()
- OnNavigateComplete(string destination)
- Parameters:
- destination : Where we're headed
- Triggers when our avatar is done loading for the destination region and the loading screen is about to drop
- Note: The most recent OnNavigate Event is fired on every script after its OnStart
- Parameters:
- OnNavigateReady(string destination)
- Parameters:
- destination : Where we're headed
- Triggers when a navigation has progressed to a point where the scene file of the destination has completed downloading
- Note: The most recent OnNavigate Event is fired on every script after its OnStart
- Parameters:
- OnNavigateStart(string destination)
- Parameters:
- destination : Where we're headed
- Triggers when a navigation is initiated, either by the client or by the server
- Note: The most recent OnNavigate Event is fired on every script after its OnStart
- Parameters:
- OnObjectDeselected()
- OnObjectSelected()
- OnPrepareMenu()
- OnResize()
- OnRightClick(EventHandler<FlexibleEventArgs<JSDOMObject>>)
- OnSceneDOMChanged()
- OnSceneDOMChildAdded()
- OnSceneDOMChildRemoved()
- OnSelectionChanged()
- OnServerMessage()
- OnShutdown()
- OnStart()
- OnTargetChanged()
- OnUnhandledChatMessage(EventHandler<FlexibleEventArgs<JSChatChannel>>)
- Parameters:
- channel : The channel that is receiving the message
- Fires when a chat message was not received by any chat surface
- Parameters:
- OnUpdate()