using System;
namespace SAMP.API.EventData {
public class PlayerDisconnectEventArgs : EventArgs {
#region Class Variables
private DisconnectReason
m_qReason;
#endregion
#region Constructor
///
/// Initializes a new instance of the class.
///
/// The reason for the disconnect.
public PlayerDisconnectEventArgs(DisconnectReason reason) {
this.m_qReason = reason;
}
#endregion
#region Accessors & Mutators
///
/// The reason they left.
///
public DisconnectReason Reason {
get {
return this.m_qReason;
}
}
#endregion
};
};