mirror of
https://github.com/ChronosX88/mta-mono.git
synced 2024-11-24 19:22:21 +00:00
26 lines
704 B
C#
26 lines
704 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace MultiTheftAuto.EventArgs
|
|||
|
{
|
|||
|
public class ElementClickedEventArgs : ElementEventArgs
|
|||
|
{
|
|||
|
public ElementClickedEventArgs( Element _this, string mouseButton, string buttonState, Player whoClicked, float clickPosX, float clickPosY, float clickPosZ )
|
|||
|
: base( _this )
|
|||
|
{
|
|||
|
this.MouseButton = mouseButton;
|
|||
|
this.ButtonState = buttonState;
|
|||
|
this.WhoClicked = whoClicked;
|
|||
|
this.ClickPosition = new Vector3( clickPosX, clickPosY, clickPosZ );
|
|||
|
}
|
|||
|
|
|||
|
public string MouseButton;
|
|||
|
public string ButtonState;
|
|||
|
public Player WhoClicked;
|
|||
|
public Vector3 ClickPosition;
|
|||
|
}
|
|||
|
}
|