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:
13: namespace Clansuite\ServerQuery\ServerProtocols;
14:
15: /**
16: * Crysis protocol implementation.
17: *
18: * Crysis uses the Gamespy3 protocol.
19: */
20: class Crysis extends Gamespy3
21: {
22: /**
23: * Protocol name.
24: */
25: public string $name = 'Crysis';
26:
27: /**
28: * List of supported games.
29: *
30: * @var array<string>
31: */
32: public array $supportedGames = ['Crysis'];
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'];
45:
46: /**
47: * Port adjustment if needed (default 0).
48: */
49: protected int $port_diff = 0;
50: }
51: