Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
Miscreated
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php declare(strict_types=1);
2
3/**
4 * Clansuite Server Query
5 *
6 * SPDX-FileCopyrightText: 2003-2025 Jens A. Koch
7 * SPDX-License-Identifier: MIT
8 *
9 * For the full copyright and license information, please view
10 * the LICENSE file that was distributed with this source code.
11 */
12
13namespace Clansuite\ServerQuery\ServerProtocols;
14
15/**
16 * Implements the query protocol for Miscreated game servers.
17 * Utilizes the Steam query protocol to retrieve server information, player lists, and game statistics.
18 */
19class Miscreated extends Steam
20{
21    /**
22     * Protocol name.
23     */
24    public string $name = 'Miscreated';
25
26    /**
27     * List of supported games.
28     *
29     * @var array<string>
30     */
31    public array $supportedGames = ['Miscreated'];
32
33    /**
34     * Protocol identifier.
35     */
36    public string $protocol = 'A2S';
37
38    /**
39     * Game series.
40     *
41     * @var array<string>
42     */
43    public array $game_series_list = ['Miscreated'];
44    protected int $port_diff       = 2;
45
46    /**
47     * Whether to auto-calculate query port from game port.
48     */
49    protected bool $autoCalculateQueryPort = true;
50}