mta-mono/MultiTheftAuto/EventArgs/CancelEventArgs.cs

23 lines
393 B
C#
Raw Normal View History

2015-12-12 10:10:23 +00:00
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 );
}
}
}