Class AseQueryService
Service responsible for generating the response to the ASE queries
Inheritance
AseQueryService
Assembly: SlipeServer.Server.dll
Syntax
public class AseQueryService : IAseQueryService
Constructors
|
Edit this page
View Source
AseQueryService(MtaServer, Configuration, IElementCollection)
Declaration
public AseQueryService(MtaServer mtaServer, Configuration configuration, IElementCollection elementCollection)
Parameters
Properties
|
Edit this page
View Source
ShowPlayers
Declaration
public bool ShowPlayers { get; set; }
Property Value
Methods
|
Edit this page
View Source
GetRule(string)
Declaration
public string? GetRule(string key)
Parameters
Type |
Name |
Description |
string |
key |
|
Returns
|
Edit this page
View Source
GetVersion(AseVersion)
Declaration
public string GetVersion(AseVersion version = AseVersion.v1_6)
Parameters
Returns
|
Edit this page
View Source
QueryFull(ushort)
Declaration
public byte[] QueryFull(ushort port)
Parameters
Type |
Name |
Description |
ushort |
port |
|
Returns
|
Edit this page
View Source
QueryLight(ushort, VersionType)
Declaration
public byte[] QueryLight(ushort port, VersionType version = VersionType.Release)
Parameters
Returns
|
Edit this page
View Source
QueryXFireLight()
Declaration
public byte[] QueryXFireLight()
Returns
|
Edit this page
View Source
RemoveRule(string)
Declaration
public bool RemoveRule(string key)
Parameters
Type |
Name |
Description |
string |
key |
|
Returns
|
Edit this page
View Source
SetRule(string, string)
Declaration
public void SetRule(string key, string value)
Parameters
Implements