added admin tab; server status message update

This commit is contained in:
Max-Wilhelm Bruker 2011-01-14 16:55:16 +01:00
parent 714a0eee50
commit bd9e142d1d
20 changed files with 242 additions and 65 deletions

View file

@ -73,6 +73,13 @@ while (<file>) {
$parentConstructorCall = "$baseClass(\"$name1\")";
$constructorParamsH = "";
$constructorParamsCpp = "";
} elsif ($type == 7) {
$type = 'cmd';
$namePrefix = 'Command';
$baseClass = 'AdminCommand';
$parentConstructorCall = "$baseClass(\"$name1\")";
$constructorParamsH = "";
$constructorParamsCpp = "";
}
$className = $namePrefix . '_' . $name2;
$itemEnum .= "ItemId_$className = " . ++$itemId . ",\n";