| 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: | * PixARK protocol implementation. |
| 17: | */ |
| 18: | class Pixark extends ArkSurvivalEvolved |
| 19: | { |
| 20: | /** |
| 21: | * Protocol name. |
| 22: | */ |
| 23: | public string $name = 'PixARK'; |
| 24: | |
| 25: | /** |
| 26: | * List of supported games. |
| 27: | * |
| 28: | * @var array<string> |
| 29: | */ |
| 30: | public array $supportedGames = ['PixARK']; |
| 31: | |
| 32: | /** |
| 33: | * Protocol identifier. |
| 34: | */ |
| 35: | public string $protocol = 'A2S'; |
| 36: | |
| 37: | /** |
| 38: | * Game series. |
| 39: | * |
| 40: | * @var array<string> |
| 41: | */ |
| 42: | public array $game_series_list = ['PixARK']; |
| 43: | protected int $port_diff = 1; |
| 44: | |
| 45: | /** |
| 46: | * Whether to auto-calculate query port from game port. |
| 47: | */ |
| 48: | protected bool $autoCalculateQueryPort = true; |
| 49: | } |
| 50: |