read())) { if (!is_file($protocols_path . $entry)) { continue; } // Lets get some info on the class $reflection = new ReflectionClass('\\GameQ\\Protocols\\' . pathinfo($entry, PATHINFO_FILENAME)); // Check to make sure we can actually load the class if (!$reflection->IsInstantiable()) { continue; } // Load up the class so we can get info $class = $reflection->newInstance(); // Add it to the list $protocols[ $class->name() ] = [ 'name' => $class->nameLong(), 'state' => $class->state(), ]; // Unset the class unset($class); } // Close the directory unset($dir); ksort($protocols); ?> GameQ v3 - Supported Games

GameQ v3 - Supported Games ()

$info) { switch ($info['state']) { case 1: $state = 'Testing'; break; case 2: $state = 'Beta'; break; case 3: $state = 'Stable'; break; case 4: $state = 'Deprecated'; break; } $cls = empty($cls) ? ' class="uneven"' : ''; printf("\n", $cls, htmlentities($info['name']), $gameq, $state ); } ?>
Game Name GameQ Identifier State
%s%s%s