mirror of
https://github.com/ChronosX88/mta-mono.git
synced 2024-11-24 11:12:20 +00:00
23 lines
393 B
C#
23 lines
393 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MultiTheftAuto.EventArgs
|
|
{
|
|
public class CancelEventArgs : ElementEventArgs
|
|
{
|
|
public CancelEventArgs( Element _this )
|
|
: base( _this )
|
|
{
|
|
|
|
}
|
|
|
|
public void Cancel( bool cancel = true, string reason = "" )
|
|
{
|
|
Event.Cancel( cancel, reason );
|
|
}
|
|
}
|
|
}
|