30 lines
709 B
PHP
30 lines
709 B
PHP
<?php
|
|
|
|
/**
|
|
* Description of population_statistics
|
|
*
|
|
* @author Nael
|
|
*/
|
|
class population_statistics {
|
|
public static function race_to_race(){
|
|
$count = \DBD\CHAR_STATS::Q1();
|
|
return $count;
|
|
}
|
|
public static function race_to_gender(){
|
|
$count = \DBD\PLAYER_ONLINE::Q1()['count'];
|
|
return $count;
|
|
}
|
|
public static function race_to_class(){
|
|
$count = \DBD\PLAYER_ONLINE::Q1()['count'];
|
|
return $count;
|
|
}
|
|
public static function class_to_gender(){
|
|
$count = \DBD\PLAYER_ONLINE::Q1()['count'];
|
|
return $count;
|
|
}
|
|
public static function gender_to_gender(){
|
|
$count = \DBD\PLAYER_ONLINE::Q1()['count'];
|
|
return $count;
|
|
}
|
|
}
|