Total Complexity | 1 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | class Risingstorm2 extends Source |
||
28 | { |
||
29 | /** |
||
30 | * String name of this protocol class |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | protected $name = 'rising storm 2'; |
||
35 | |||
36 | /** |
||
37 | * Longer string name of this protocol class |
||
38 | * |
||
39 | * @var string |
||
40 | */ |
||
41 | protected $name_long = "Rising Storm 2"; |
||
42 | |||
43 | /** |
||
44 | * Query port is always 27015 |
||
45 | * |
||
46 | * @param int $clientPort |
||
47 | * |
||
48 | * @return int |
||
49 | */ |
||
50 | 24 | public function findQueryPort($clientPort) |
|
55 |