Events Global

From Virtual World Web Wiki
Jump to: navigation, search
  • 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
OnAbilityGroupAdded(EventHandler<FlexibleEventArgs<JSAbilityGroup>>)
Parameters:
group : Which group was added
Event fired when a new AbilityGroup is added
OnAbilityGroupRemoved(EventHandler<FlexibleEventArgs<JSAbilityGroup>>)
Parameters:
group : Which group was removed
Event fired when an AbilityGroup is removed
OnAbilityRemoved(EventHandler<FlexibleEventArgs<JSAbility>>)
Parameters:
ability : Which ability was removed
Event fired when an Ability is removed
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
OnChannelFocus(EventHandler<FlexibleEventArgs<JSChatChannel>>)
Parameters:
channel : The channel that is requesting focus
Fires when chat channel requests focus
OnChannelJoin(EventHandler<FlexibleEventArgs<JSChatChannel>>)
Parameters:
channel : The channel that was joined
Fires when the user joins a new chat channel
OnChannelLeave(EventHandler<FlexibleEventArgs<JSChatChannel>>)
Parameters:
channel : The channel that was left
Fires when the user leaves a chat channel
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
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
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
OnFriendOnline(JSAvatarSocialInfo info)
Parameters:
info : The friend this is relevant to
Fires when a friend comes online
OnFriendRequest(JSFriendRequestInfo request)
Parameters:
request : The received friend request
Fires when a friend request arrives
OnFriendRequestDone(JSFriendRequestInfo request)
Parameters:
request : The completed friend request
Fires when a friend request completed for any reason
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
OnKeyUp(EventHandler<FlexibleEventArgs<string, bool, bool, bool>>)
Parameters:
keycode : The string name of the key being released
Fires when a user releases a key
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.
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
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
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
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
OnUpdate()