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

38 lines
686 B
C#
Raw Normal View History

2022-08-27 17:10:32 +00:00
using System;
namespace SAMP.API.EventData {
public class PlayerPickUpPickupEventArgs : EventArgs {
#region Class Variables
private int
m_iId;
#endregion
#region Constructor
/// <summary>
/// Initializes a new instance of the <see cref="SAMP.API.EventData.PlayerPickUpPickupEventArgs"/> class.
/// </summary>
/// <param name="position">The ID of the pickup.</param>
public PlayerPickUpPickupEventArgs(int pickupid) {
this.m_iId = pickupid;
}
#endregion
#region Accessors & Mutators
/// <summary>
/// The ID of the pickup.
/// </summary>
public int PickUp {
get {
return this.m_iId;
}
}
#endregion
};
};