mirror of
https://github.com/oliverbooth/SAMP.NET.git
synced 2024-10-18 18:06:11 +00:00
38 lines
738 B
C#
38 lines
738 B
C#
using System;
|
|
|
|
namespace SAMP.API.EventData {
|
|
public class PlayerExitVehicleEventArgs : EventArgs {
|
|
#region Class Variables
|
|
|
|
private Vehicle
|
|
m_qVehicle;
|
|
|
|
#endregion
|
|
|
|
#region Constructor
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="SAMP.API.EventData.PlayerExitVehicleEventArgs"/> class.
|
|
/// </summary>
|
|
/// <param name="vehicle">The vehicle the player is exiting.</param>
|
|
public PlayerExitVehicleEventArgs(Vehicle vehicle) {
|
|
this.m_qVehicle = vehicle;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Accessors & Mutators
|
|
|
|
/// <summary>
|
|
/// Gets the vehicle the player is exiting.
|
|
/// </summary>
|
|
public Vehicle Vehicle {
|
|
get {
|
|
return this.m_qVehicle;
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
};
|
|
};
|