Table of Contents

Class OpenMpEventHandlerAttribute

Namespace
SampSharp.OpenMp.Core
Assembly
SampSharp.OpenMp.Core.dll

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

string

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; }

Property Value

string