Table of Contents

Class OpenMpApiFunctionAttribute

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

Specifies the name of the open.mp API function that this method represents. By default, the name of the method converted to camel case is used as the function name.

[AttributeUsage(AttributeTargets.Method)]
public class OpenMpApiFunctionAttribute : Attribute
Inheritance
OpenMpApiFunctionAttribute
Inherited Members

Constructors

OpenMpApiFunctionAttribute(string)

Specifies the name of the open.mp API function that this method represents. By default, the name of the method converted to camel case is used as the function name.

public OpenMpApiFunctionAttribute(string functionName)

Parameters

functionName string

The name of the open.mp API function.

Properties

FunctionName

Gets the name of the open.mp API function.

public string FunctionName { get; }

Property Value

string