| 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: | * Call of Duty 4 protocol implementation. |
| 17: | * |
| 18: | * Extends Quake3Arena protocol. |
| 19: | */ |
| 20: | class Cod4 extends Quake3Arena |
| 21: | { |
| 22: | /** |
| 23: | * Protocol name. |
| 24: | */ |
| 25: | public string $name = 'Call of Duty 4'; |
| 26: | |
| 27: | /** |
| 28: | * List of supported games. |
| 29: | * |
| 30: | * @var array<string> |
| 31: | */ |
| 32: | public array $supportedGames = ['Call of Duty 4']; |
| 33: | |
| 34: | /** |
| 35: | * Protocol identifier. |
| 36: | */ |
| 37: | public string $protocol = 'Quake3'; |
| 38: | |
| 39: | /** |
| 40: | * Game series. |
| 41: | * |
| 42: | * @var array<string> |
| 43: | */ |
| 44: | public array $game_series_list = ['Call of Duty']; |
| 45: | } |
| 46: |