Class OpenMpEventHandlerAttribute
This attributes marks an interface as an open.mp event handler. The interface must be marked as partial.
[AttributeUsage(AttributeTargets.Interface)]
public class OpenMpEventHandlerAttribute : Attribute
- Inheritance
-
OpenMpEventHandlerAttribute
- Inherited Members
Constructors
OpenMpEventHandlerAttribute()
public OpenMpEventHandlerAttribute()
Properties
Library
Gets or sets the name of the library that contains the native event handler. Defaults to "SampSharp".
public string Library { get; set; }
Property Value
NativeTypeName
The name of the open.mp event handler. Defaults to the interface name without the first character (if the interface name starts with an 'I').
public string? NativeTypeName { get; set; }