SAMP.NET/sampdotnet/API/EventData/Player/PlayerClickMapEventArgs.cs

38 lines
750 B
C#
Raw Permalink Normal View History

2022-08-27 17:10:32 +00:00
using System;
namespace SAMP.API.EventData {
public class PlayerClickMapEventArgs : EventArgs {
#region Class Variables
private Vector3
m_qPosition;
#endregion
#region Constructor
/// <summary>
/// Initializes a new instance of the <see cref="SAMP.API.EventData.PlayerClickMapEventArgs"/> class.
/// </summary>
/// <param name="position">The coordinates of where the player clicked.</param>
public PlayerClickMapEventArgs(Vector3 position) {
this.m_qPosition = position;
}
#endregion
#region Accessors & Mutators
/// <summary>
/// The coordinates of where the player clicked
/// </summary>
public Vector3 Position {
get {
return this.m_qPosition;
}
}
#endregion
};
};