Ejemplo n.º 1
0
 /// <summary>
 ///     Raises the <see cref="RconCommand" /> event.
 /// </summary>
 /// <param name="e">An <see cref="RconEventArgs" /> that contains the event data. </param>
 protected virtual void OnRconCommand(RconEventArgs e)
 {
     if (RconCommand != null)
         RconCommand(this, e);
 }
Ejemplo n.º 2
0
        internal bool OnRconCommand(string command)
        {
            var args = new RconEventArgs(command);
            OnRconCommand(args);

            return args.Success;
        }
Ejemplo n.º 3
0
 /// <summary>
 ///     Raises the <see cref="RconCommand" /> event.
 /// </summary>
 /// <param name="e">An <see cref="RconEventArgs" /> that contains the event data. </param>
 protected virtual void OnRconCommand(RconEventArgs e)
 {
     RconCommand?.Invoke(this, e);
 }