using System;
namespace SAMP.API.EventData {
public class PlayerEnterExitModShopEventArgs : EventArgs {
#region Class Variables
private bool
m_bEntering;
private int
m_iInterior;
#endregion
#region Constructor
///
/// Initializes a new instance of the class.
///
/// true if the player is entering, otherwise false.
/// The interior ID of the modshop that the player is entering (or 0 if exiting).
public PlayerEnterExitModShopEventArgs(bool entering, int interiodid) {
this.m_bEntering = entering;
this.m_iInterior = interiodid;
}
#endregion
#region Accessors & Mutators
///
/// Gets whether or not the player is Entering a mod shop.
///
public bool Entering {
get {
return this.m_bEntering;
}
}
///
/// Gets the interior ID of the modshop that the player is entering. This property will be 0 if the player is exiting.
///
public int Interior {
get {
return this.m_iInterior;
}
}
#endregion
};
};