Added outdated event static properties

This commit is contained in:
Shoghi Cervantes 2015-01-11 19:37:21 +01:00
parent 3e9196d224
commit 7d406066a7
No known key found for this signature in database
GPG Key ID: 78464DB0A7837F89
78 changed files with 0 additions and 156 deletions

View File

@ -28,8 +28,6 @@ use pocketmine\Player;
class BlockBreakEvent extends BlockEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var \pocketmine\Player */
protected $player;

View File

@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
class BlockFormEvent extends BlockGrowEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
public function __construct(Block $block, Block $newState){
parent::__construct($block, $newState);

View File

@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
class BlockGrowEvent extends BlockEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Block */
private $newState;

View File

@ -31,8 +31,6 @@ use pocketmine\Player;
*/
class BlockPlaceEvent extends BlockEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var \pocketmine\Player */
protected $player;

View File

@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
class BlockSpreadEvent extends BlockFormEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Block */
private $source;

View File

@ -28,7 +28,5 @@ use pocketmine\event\Cancellable;
*/
class BlockUpdateEvent extends BlockEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
}

View File

@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
class LeavesDecayEvent extends BlockEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
public function __construct(Block $block){
parent::__construct($block);

View File

@ -30,8 +30,6 @@ use pocketmine\Player;
*/
class SignChangeEvent extends BlockEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var \pocketmine\Player */
private $player;

View File

@ -28,8 +28,6 @@ use pocketmine\item\Item;
class EntityArmorChangeEvent extends EntityEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $oldItem;
private $newItem;

View File

@ -30,8 +30,6 @@ use pocketmine\event\Cancellable;
*/
class EntityBlockChangeEvent extends EntityEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $from;
private $to;

View File

@ -25,8 +25,6 @@ use pocketmine\block\Block;
use pocketmine\entity\Entity;
class EntityCombustByBlockEvent extends EntityCombustEvent{
public static $eventPool = [];
public static $nextEvent = 0;
protected $combuster;

View File

@ -24,8 +24,6 @@ namespace pocketmine\event\entity;
use pocketmine\entity\Entity;
class EntityCombustByEntityEvent extends EntityCombustEvent{
public static $eventPool = [];
public static $nextEvent = 0;
protected $combuster;

View File

@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
class EntityCombustEvent extends EntityEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
protected $duration;

View File

@ -25,8 +25,6 @@ use pocketmine\block\Block;
use pocketmine\entity\Entity;
class EntityDamageByBlockEvent extends EntityDamageEvent{
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Block */
private $damager;

View File

@ -24,8 +24,6 @@ namespace pocketmine\event\entity;
use pocketmine\entity\Entity;
class EntityDamageByChildEntityEvent extends EntityDamageByEntityEvent{
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Entity */
private $childEntity;

View File

@ -24,8 +24,6 @@ namespace pocketmine\event\entity;
use pocketmine\entity\Entity;
class EntityDamageByEntityEvent extends EntityDamageEvent{
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Entity */
private $damager;

View File

@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
class EntityDamageEvent extends EntityEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
const MODIFIER_BASE = 0;
const MODIFIER_ARMOR = 1;

View File

@ -26,8 +26,6 @@ use pocketmine\item\Item;
class EntityDeathEvent extends EntityEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Item[] */
private $drops = [];

View File

@ -33,8 +33,6 @@ use pocketmine\entity\Vehicle;
*/
class EntityDespawnEvent extends EntityEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $entityType;

View File

@ -31,8 +31,6 @@ use pocketmine\level\Position;
*/
class EntityExplodeEvent extends EntityEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Position */
protected $position;

View File

@ -28,8 +28,6 @@ use pocketmine\item\Item;
class EntityInventoryChangeEvent extends EntityEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $oldItem;
private $newItem;

View File

@ -28,8 +28,6 @@ use pocketmine\level\Level;
class EntityLevelChangeEvent extends EntityEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $originLevel;
private $targetLevel;

View File

@ -28,8 +28,6 @@ use pocketmine\math\Vector3;
class EntityMotionEvent extends EntityEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $mot;

View File

@ -31,8 +31,6 @@ use pocketmine\math\Vector3;
*/
class EntityMoveEvent extends EntityEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var \pocketmine\math\Vector3 */
private $pos;

View File

@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
class EntityRegainHealthEvent extends EntityEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
const CAUSE_REGEN = 0;
const CAUSE_EATING = 1;

View File

@ -29,8 +29,6 @@ use pocketmine\item\Item;
class EntityShootBowEvent extends EntityEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Item */
private $bow;

View File

@ -33,8 +33,6 @@ use pocketmine\entity\Vehicle;
*/
class EntitySpawnEvent extends EntityEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $entityType;

View File

@ -28,8 +28,6 @@ use pocketmine\level\Position;
class EntityTeleportEvent extends EntityEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Position */
private $from;

View File

@ -29,8 +29,6 @@ use pocketmine\event\Cancellable;
*/
class ExplosionPrimeEvent extends EntityEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
protected $force;
private $blockBreaking;

View File

@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
class ItemDespawnEvent extends EntityEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/**
* @param Item $item

View File

@ -25,8 +25,6 @@ use pocketmine\entity\Item;
class ItemSpawnEvent extends EntityEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/**
* @param Item $item

View File

@ -25,8 +25,6 @@ use pocketmine\entity\Projectile;
class ProjectileHitEvent extends EntityEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/**
* @param Projectile $entity

View File

@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
class ProjectileLaunchEvent extends EntityEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/**
* @param Projectile $entity

View File

@ -28,8 +28,6 @@ use pocketmine\inventory\Recipe;
class CraftItemEvent extends Event implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var CraftingTransactionGroup */
private $ts;

View File

@ -28,8 +28,6 @@ use pocketmine\tile\Furnace;
class FurnaceBurnEvent extends BlockEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $furnace;
private $fuel;

View File

@ -28,8 +28,6 @@ use pocketmine\tile\Furnace;
class FurnaceSmeltEvent extends BlockEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $furnace;
private $source;

View File

@ -26,8 +26,6 @@ use pocketmine\Player;
class InventoryCloseEvent extends InventoryEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Player */
private $who;

View File

@ -27,8 +27,6 @@ use pocketmine\Player;
class InventoryOpenEvent extends InventoryEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Player */
private $who;

View File

@ -27,8 +27,6 @@ use pocketmine\inventory\Inventory;
class InventoryPickupArrowEvent extends InventoryEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Arrow */
private $arrow;

View File

@ -27,8 +27,6 @@ use pocketmine\inventory\Inventory;
class InventoryPickupItemEvent extends InventoryEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Item */
private $item;

View File

@ -31,8 +31,6 @@ use pocketmine\inventory\TransactionGroup;
*/
class InventoryTransactionEvent extends Event implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var TransactionGroup */
private $ts;

View File

@ -28,8 +28,6 @@ use pocketmine\level\format\FullChunk;
*/
class ChunkLoadEvent extends ChunkEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $newChunk;

View File

@ -26,6 +26,4 @@ namespace pocketmine\event\level;
*/
class ChunkPopulateEvent extends ChunkEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
}

View File

@ -28,6 +28,4 @@ use pocketmine\event\Cancellable;
*/
class ChunkUnloadEvent extends ChunkEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
}

View File

@ -26,6 +26,4 @@ namespace pocketmine\event\level;
*/
class LevelInitEvent extends LevelEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
}

View File

@ -26,6 +26,4 @@ namespace pocketmine\event\level;
*/
class LevelLoadEvent extends LevelEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
}

View File

@ -26,6 +26,4 @@ namespace pocketmine\event\level;
*/
class LevelSaveEvent extends LevelEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
}

View File

@ -28,6 +28,4 @@ use pocketmine\event\Cancellable;
*/
class LevelUnloadEvent extends LevelEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
}

View File

@ -30,8 +30,6 @@ use pocketmine\level\Position;
*/
class SpawnChangeEvent extends LevelEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Position */
private $previousSpawn;

View File

@ -29,8 +29,6 @@ use pocketmine\Player;
*/
class PlayerAchievementAwardedEvent extends PlayerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var string */
protected $achievement;

View File

@ -29,8 +29,6 @@ use pocketmine\Player;
*/
class PlayerAnimationEvent extends PlayerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
const ARM_SWING = 1;

View File

@ -27,8 +27,6 @@ use pocketmine\Player;
class PlayerBedEnterEvent extends PlayerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $bed;

View File

@ -26,8 +26,6 @@ use pocketmine\Player;
class PlayerBedLeaveEvent extends PlayerEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $bed;

View File

@ -27,8 +27,6 @@ use pocketmine\Player;
class PlayerBucketEmptyEvent extends PlayerBucketEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
public function __construct(Player $who, Block $blockClicked, $blockFace, Item $bucket, Item $itemInHand){
parent::__construct($who, $blockClicked, $blockFace, $bucket, $itemInHand);

View File

@ -27,8 +27,6 @@ use pocketmine\Player;
class PlayerBucketFillEvent extends PlayerBucketEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
public function __construct(Player $who, Block $blockClicked, $blockFace, Item $bucket, Item $itemInHand){
parent::__construct($who, $blockClicked, $blockFace, $bucket, $itemInHand);

View File

@ -30,8 +30,6 @@ use pocketmine\Server;
*/
class PlayerChatEvent extends PlayerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var string */
protected $message;

View File

@ -34,8 +34,6 @@ use pocketmine\Player;
*/
class PlayerCommandPreprocessEvent extends PlayerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var string */
protected $message;

View File

@ -30,8 +30,6 @@ use pocketmine\Player;
*/
class PlayerCreationEvent extends Event{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var SourceInterface */
private $interface;

View File

@ -27,8 +27,6 @@ use pocketmine\Player;
class PlayerDeathEvent extends EntityDeathEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $deathMessage;
private $keepInventory = false;

View File

@ -30,8 +30,6 @@ use pocketmine\Player;
*/
class PlayerDropItemEvent extends PlayerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Item */
private $drop;

View File

@ -29,8 +29,6 @@ use pocketmine\Player;
*/
class PlayerGameModeChangeEvent extends PlayerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var int */
protected $gamemode;

View File

@ -31,8 +31,6 @@ use pocketmine\Player;
*/
class PlayerInteractEvent extends PlayerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/**
* @var \pocketmine\block\Block;

View File

@ -30,8 +30,6 @@ use pocketmine\Player;
*/
class PlayerItemConsumeEvent extends PlayerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Item */
private $item;

View File

@ -28,8 +28,6 @@ use pocketmine\Player;
class PlayerItemHeldEvent extends PlayerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $item;
private $slot;

View File

@ -28,8 +28,6 @@ use pocketmine\Player;
*/
class PlayerJoinEvent extends PlayerEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var string */
protected $joinMessage;

View File

@ -29,8 +29,6 @@ use pocketmine\Player;
*/
class PlayerKickEvent extends PlayerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var string */
protected $quitMessage;

View File

@ -29,8 +29,6 @@ use pocketmine\Player;
*/
class PlayerLoginEvent extends PlayerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var string */
protected $kickMessage;

View File

@ -27,8 +27,6 @@ use pocketmine\Player;
class PlayerMoveEvent extends PlayerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $from;
private $to;

View File

@ -29,8 +29,6 @@ use pocketmine\Player;
*/
class PlayerPreLoginEvent extends PlayerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var string */
protected $kickMessage;

View File

@ -28,8 +28,6 @@ use pocketmine\Player;
*/
class PlayerQuitEvent extends PlayerEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var string */
protected $quitMessage;

View File

@ -29,8 +29,6 @@ use pocketmine\Player;
*/
class PlayerRespawnEvent extends PlayerEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var Position */
protected $position;

View File

@ -27,8 +27,6 @@ use pocketmine\plugin\Plugin;
class PluginDisableEvent extends PluginEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/**
* @param Plugin $plugin

View File

@ -27,8 +27,6 @@ use pocketmine\plugin\Plugin;
class PluginEnableEvent extends PluginEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/**
* @param Plugin $plugin

View File

@ -28,8 +28,6 @@ use pocketmine\Player;
class DataPacketReceiveEvent extends ServerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $packet;
private $player;

View File

@ -28,8 +28,6 @@ use pocketmine\Player;
class DataPacketSendEvent extends ServerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
private $packet;
private $player;

View File

@ -27,8 +27,6 @@ use pocketmine\utils\Binary;
class QueryRegenerateEvent extends ServerEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
const GAME_ID = "MINECRAFTPE";

View File

@ -28,8 +28,6 @@ use pocketmine\command\CommandSender;
*/
class RemoteServerCommandEvent extends ServerCommandEvent{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/**
* @param CommandSender $sender

View File

@ -34,8 +34,6 @@ use pocketmine\event\Cancellable;
*/
class ServerCommandEvent extends ServerEvent implements Cancellable{
public static $handlerList = null;
public static $eventPool = [];
public static $nextEvent = 0;
/** @var string */
protected $command;