Table of Contents

Class OpenMpApiOverloadAttribute

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

Specifies the overload name to append to the open.mp API function name. For example, if overload is "_index" for IConfig.RemoveBan, the C function will be "IConfig_removeBan_index".

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

Constructors

OpenMpApiOverloadAttribute(string)

Specifies the overload name to append to the open.mp API function name. For example, if overload is "_index" for IConfig.RemoveBan, the C function will be "IConfig_removeBan_index".

public OpenMpApiOverloadAttribute(string overload)

Parameters

overload string

The overload name to append to the function name.

Properties

Overload

Gets the overload name to append to the function name.

public string Overload { get; }

Property Value

string