- Improved Join/Leave messages

- Moved Server Commands into separate class
- Added \Server namespace
This commit is contained in:
Steffen Schröder committed 2013-11-19 20:29:37 +01:00
1 parent b389b32d88
commit a9b1842a6f
8 files changed
+249 -217

No files matched your search

@@ -20,11 +20,11 @@ class ManialinkIdHandler {
* @return array with manialink Ids
*/
public function reserveManiaLinkIds($count) {
$mlIds = array();
$manialinkIds = array();
for ($i = 0; $i < $count; $i++) {
array_push($mlIds, ++$this->maniaLinkIdCount);
array_push($manialinkIds, $this->maniaLinkIdCount++);
}
return $mlIds;
return $manialinkIds;
}
}