| Total Complexity | 1 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | class Dayz extends Source |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * String name of this protocol class |
||
| 31 | * |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | protected $name = 'dayz'; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Longer string name of this protocol class |
||
| 38 | * |
||
| 39 | * @var string |
||
| 40 | */ |
||
| 41 | protected $name_long = "DayZ Standalone"; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Overload the math used to guess at the Query Port |
||
| 45 | * |
||
| 46 | * @param int $clientPort |
||
| 47 | * |
||
| 48 | * @return int |
||
| 49 | */ |
||
| 50 | 12 | public function findQueryPort($clientPort) |
|
| 65 |