New direct block method, better block placement sending

This commit is contained in:
Shoghi Cervantes
2013-06-01 00:32:23 +02:00
parent 722eb6d1f9
commit 24ba7cbbd1
7 changed files with 72 additions and 46 deletions

View File

@@ -25,17 +25,6 @@ the Free Software Foundation, either version 3 of the License, or
*/
define("BLOCK_UPDATE_NORMAL", 0);
define("BLOCK_UPDATE_RANDOM", 1);
define("BLOCK_UPDATE_SCHEDULED", 2);
define("BLOCK_UPDATE_WEAK", 3);
define("BLOCK_UPDATE_TOUCH", 4);
class BlockAPI{
private $server;
private $scheduledUpdates = array();