Table of Contents

Interface INetworkQueryExtension.IManagedInterface

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

Represents the managed interface implemented by its unmanaged counterpart.

public interface INetworkQueryExtension.IManagedInterface : IUnmanagedInterface
Inherited Members

Methods

AddRule(string, string)

Adds a query rule to the server's query response.

bool AddRule(string rule, string value)

Parameters

rule string

The name of the rule.

value string

The value of the rule.

Returns

bool

true if the rule was added successfully; otherwise, false.

IsValidRule(string)

Checks if a query rule is valid.

bool IsValidRule(string rule)

Parameters

rule string

The name of the rule to check.

Returns

bool

true if the rule is valid; otherwise, false.

RemoveRule(string)

Removes a query rule from the server's query response.

bool RemoveRule(string rule)

Parameters

rule string

The name of the rule to remove.

Returns

bool

true if the rule was removed successfully; otherwise, false.