2022-08-27 17:10:32 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
2022-08-27 17:16:44 +00:00
|
|
|
|
namespace SAMP.API.EventData
|
|
|
|
|
{
|
|
|
|
|
public class VehicleDeathEventArgs : EventArgs
|
|
|
|
|
{
|
|
|
|
|
#region Class Variables
|
|
|
|
|
|
|
|
|
|
private Player _qKiller;
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Constructor
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates a new VehicleDeathEventArgs object.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="killer">The player who destroyed the vehicle.</param>
|
|
|
|
|
public VehicleDeathEventArgs(Player killer)
|
|
|
|
|
{
|
|
|
|
|
_qKiller = killer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Accessors & Mutators
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the player who destroyed the vehicle.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Player Killer
|
|
|
|
|
{
|
|
|
|
|
get { return _qKiller; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
};
|
|
|
|
|
};
|