Class MouseClickEventArgs
Mouse click/double-click event arguments.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public class MouseClickEventArgs : MouseButtonEventArgs
Constructors
| Improve this Doc View SourceMouseClickEventArgs(IEntity, MouseButton, MousePosition, Int64)
Initializes a new instance of the MouseClickEventArgs class.
Declaration
public MouseClickEventArgs(IEntity clickedEntity, MouseButton button, MousePosition mousePosition, long clickTimeInMilliseconds)
Parameters
Type | Name | Description |
---|---|---|
IEntity | clickedEntity | Clicked entity. |
MouseButton | button | Button. |
MousePosition | mousePosition | Mouse position. |
System.Int64 | clickTimeInMilliseconds | Click time in milliseconds. |
Properties
| Improve this Doc View SourceClickTimeInMilliseconds
How much time has passed between the mouse button down and up states.
Declaration
public long ClickTimeInMilliseconds { get; }
Property Value
Type | Description |
---|---|
System.Int64 | The click time in milliseconds. |