Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
Warhead
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 * Crysis Wars protocol implementation.
17 *
18 * Crysis Wars uses the Gamespy3 protocol.
19 */
20class Warhead extends Gamespy3
21{
22    /**
23     * Protocol name.
24     */
25    public string $name = 'Crysis Wars';
26
27    /**
28     * List of supported games.
29     *
30     * @var array<string>
31     */
32    public array $supportedGames = ['Crysis Wars'];
33
34    /**
35     * Protocol identifier.
36     */
37    public string $protocol = 'Gamespy3';
38
39    /**
40     * Game series.
41     *
42     * @var array<string>
43     */
44    public array $game_series_list = ['Crysis Wars'];
45
46    /**
47     * Port adjustment if needed (default 0).
48     */
49    protected int $port_diff = 0;
50}