Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| Ffow | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| getProtocolName | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 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 | use Override; |
| 16 | |
| 17 | /** |
| 18 | * Implements the query protocol for Frontlines: Fuel of War game servers. |
| 19 | * Uses the Steam query protocol to retrieve server information and player data. |
| 20 | */ |
| 21 | class Ffow extends Steam |
| 22 | { |
| 23 | /** |
| 24 | * Protocol name. |
| 25 | */ |
| 26 | public string $name = 'Frontlines Fuel of War'; |
| 27 | |
| 28 | /** |
| 29 | * List of supported games. |
| 30 | * |
| 31 | * @var array<string> |
| 32 | */ |
| 33 | public array $supportedGames = ['Frontlines Fuel of War']; |
| 34 | |
| 35 | /** |
| 36 | * Protocol identifier. |
| 37 | */ |
| 38 | public string $protocol = 'ffow'; |
| 39 | |
| 40 | /** |
| 41 | * getProtocolName method. |
| 42 | */ |
| 43 | #[Override] |
| 44 | public function getProtocolName(): string |
| 45 | { |
| 46 | return $this->protocol; |
| 47 | } |
| 48 | } |