Table of Contents

Class KillingFloor

Namespace
OpenGSQ.Protocols
Assembly
OpenGSQ.dll

Killing Floor Protocol

public class KillingFloor : Unreal2
Inheritance
KillingFloor
Inherited Members

Constructors

KillingFloor(string, int, int)

Initializes a new instance of the KillingFloor class.

public KillingFloor(string host, int port, int timeout = 5000)

Parameters

host string
port int
timeout int

Properties

FullName

Gets the full name of the protocol.

public override string FullName { get; }

Property Value

string

Methods

GetDetails(bool)

Gets the details of the server.

public Task<Status> GetDetails(bool stripColor = true)

Parameters

stripColor bool

A boolean value indicating whether to strip color codes from the server name. Default is true.

Returns

Task<Status>

The details of the server.

Exceptions

InvalidPacketException

Thrown when the packet header does not match the expected value.

TimeoutException

Thrown when the operation times out.