using System;
namespace SAMP.API.EventData {
public class RconCommandEventArgs : EventArgs {
#region Class Variables
private string
m_strCommand;
private bool
m_bHandled;
#endregion
#region Constructor
///
/// Initializes a new instance of the class.
///
/// The command entered.
public RconCommandEventArgs(string command) {
this.m_strCommand = command;
}
#endregion
#region Accessors & Mutators
///
/// Gets the chat message associated with this event.
///
public string Command {
get {
return this.m_strCommand;
}
}
///
/// Gets or sets whether the event was handled. Returning TRUE will prevent the command being passed to other scripts.
///
public bool Handled {
get {
return this.m_bHandled;
} set {
this.m_bHandled = value;
}
}
#endregion
};
};