mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-11 05:55:33 +00:00
Added outdated event static properties
This commit is contained in:
parent
3e9196d224
commit
7d406066a7
@ -28,8 +28,6 @@ use pocketmine\Player;
|
|||||||
|
|
||||||
class BlockBreakEvent extends BlockEvent implements Cancellable{
|
class BlockBreakEvent extends BlockEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var \pocketmine\Player */
|
/** @var \pocketmine\Player */
|
||||||
protected $player;
|
protected $player;
|
||||||
|
@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
|
|||||||
|
|
||||||
class BlockFormEvent extends BlockGrowEvent implements Cancellable{
|
class BlockFormEvent extends BlockGrowEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
public function __construct(Block $block, Block $newState){
|
public function __construct(Block $block, Block $newState){
|
||||||
parent::__construct($block, $newState);
|
parent::__construct($block, $newState);
|
||||||
|
@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
|
|||||||
|
|
||||||
class BlockGrowEvent extends BlockEvent implements Cancellable{
|
class BlockGrowEvent extends BlockEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Block */
|
/** @var Block */
|
||||||
private $newState;
|
private $newState;
|
||||||
|
@ -31,8 +31,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class BlockPlaceEvent extends BlockEvent implements Cancellable{
|
class BlockPlaceEvent extends BlockEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var \pocketmine\Player */
|
/** @var \pocketmine\Player */
|
||||||
protected $player;
|
protected $player;
|
||||||
|
@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
|
|||||||
|
|
||||||
class BlockSpreadEvent extends BlockFormEvent implements Cancellable{
|
class BlockSpreadEvent extends BlockFormEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Block */
|
/** @var Block */
|
||||||
private $source;
|
private $source;
|
||||||
|
@ -28,7 +28,5 @@ use pocketmine\event\Cancellable;
|
|||||||
*/
|
*/
|
||||||
class BlockUpdateEvent extends BlockEvent implements Cancellable{
|
class BlockUpdateEvent extends BlockEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
}
|
}
|
@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
|
|||||||
|
|
||||||
class LeavesDecayEvent extends BlockEvent implements Cancellable{
|
class LeavesDecayEvent extends BlockEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
public function __construct(Block $block){
|
public function __construct(Block $block){
|
||||||
parent::__construct($block);
|
parent::__construct($block);
|
||||||
|
@ -30,8 +30,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class SignChangeEvent extends BlockEvent implements Cancellable{
|
class SignChangeEvent extends BlockEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var \pocketmine\Player */
|
/** @var \pocketmine\Player */
|
||||||
private $player;
|
private $player;
|
||||||
|
@ -28,8 +28,6 @@ use pocketmine\item\Item;
|
|||||||
|
|
||||||
class EntityArmorChangeEvent extends EntityEvent implements Cancellable{
|
class EntityArmorChangeEvent extends EntityEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $oldItem;
|
private $oldItem;
|
||||||
private $newItem;
|
private $newItem;
|
||||||
|
@ -30,8 +30,6 @@ use pocketmine\event\Cancellable;
|
|||||||
*/
|
*/
|
||||||
class EntityBlockChangeEvent extends EntityEvent implements Cancellable{
|
class EntityBlockChangeEvent extends EntityEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $from;
|
private $from;
|
||||||
private $to;
|
private $to;
|
||||||
|
@ -25,8 +25,6 @@ use pocketmine\block\Block;
|
|||||||
use pocketmine\entity\Entity;
|
use pocketmine\entity\Entity;
|
||||||
|
|
||||||
class EntityCombustByBlockEvent extends EntityCombustEvent{
|
class EntityCombustByBlockEvent extends EntityCombustEvent{
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
protected $combuster;
|
protected $combuster;
|
||||||
|
|
||||||
|
@ -24,8 +24,6 @@ namespace pocketmine\event\entity;
|
|||||||
use pocketmine\entity\Entity;
|
use pocketmine\entity\Entity;
|
||||||
|
|
||||||
class EntityCombustByEntityEvent extends EntityCombustEvent{
|
class EntityCombustByEntityEvent extends EntityCombustEvent{
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
protected $combuster;
|
protected $combuster;
|
||||||
|
|
||||||
|
@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
|
|||||||
|
|
||||||
class EntityCombustEvent extends EntityEvent implements Cancellable{
|
class EntityCombustEvent extends EntityEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
protected $duration;
|
protected $duration;
|
||||||
|
|
||||||
|
@ -25,8 +25,6 @@ use pocketmine\block\Block;
|
|||||||
use pocketmine\entity\Entity;
|
use pocketmine\entity\Entity;
|
||||||
|
|
||||||
class EntityDamageByBlockEvent extends EntityDamageEvent{
|
class EntityDamageByBlockEvent extends EntityDamageEvent{
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Block */
|
/** @var Block */
|
||||||
private $damager;
|
private $damager;
|
||||||
|
@ -24,8 +24,6 @@ namespace pocketmine\event\entity;
|
|||||||
use pocketmine\entity\Entity;
|
use pocketmine\entity\Entity;
|
||||||
|
|
||||||
class EntityDamageByChildEntityEvent extends EntityDamageByEntityEvent{
|
class EntityDamageByChildEntityEvent extends EntityDamageByEntityEvent{
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Entity */
|
/** @var Entity */
|
||||||
private $childEntity;
|
private $childEntity;
|
||||||
|
@ -24,8 +24,6 @@ namespace pocketmine\event\entity;
|
|||||||
use pocketmine\entity\Entity;
|
use pocketmine\entity\Entity;
|
||||||
|
|
||||||
class EntityDamageByEntityEvent extends EntityDamageEvent{
|
class EntityDamageByEntityEvent extends EntityDamageEvent{
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Entity */
|
/** @var Entity */
|
||||||
private $damager;
|
private $damager;
|
||||||
|
@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
|
|||||||
|
|
||||||
class EntityDamageEvent extends EntityEvent implements Cancellable{
|
class EntityDamageEvent extends EntityEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
const MODIFIER_BASE = 0;
|
const MODIFIER_BASE = 0;
|
||||||
const MODIFIER_ARMOR = 1;
|
const MODIFIER_ARMOR = 1;
|
||||||
|
@ -26,8 +26,6 @@ use pocketmine\item\Item;
|
|||||||
|
|
||||||
class EntityDeathEvent extends EntityEvent{
|
class EntityDeathEvent extends EntityEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Item[] */
|
/** @var Item[] */
|
||||||
private $drops = [];
|
private $drops = [];
|
||||||
|
@ -33,8 +33,6 @@ use pocketmine\entity\Vehicle;
|
|||||||
*/
|
*/
|
||||||
class EntityDespawnEvent extends EntityEvent{
|
class EntityDespawnEvent extends EntityEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $entityType;
|
private $entityType;
|
||||||
|
|
||||||
|
@ -31,8 +31,6 @@ use pocketmine\level\Position;
|
|||||||
*/
|
*/
|
||||||
class EntityExplodeEvent extends EntityEvent implements Cancellable{
|
class EntityExplodeEvent extends EntityEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Position */
|
/** @var Position */
|
||||||
protected $position;
|
protected $position;
|
||||||
|
@ -28,8 +28,6 @@ use pocketmine\item\Item;
|
|||||||
|
|
||||||
class EntityInventoryChangeEvent extends EntityEvent implements Cancellable{
|
class EntityInventoryChangeEvent extends EntityEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $oldItem;
|
private $oldItem;
|
||||||
private $newItem;
|
private $newItem;
|
||||||
|
@ -28,8 +28,6 @@ use pocketmine\level\Level;
|
|||||||
|
|
||||||
class EntityLevelChangeEvent extends EntityEvent implements Cancellable{
|
class EntityLevelChangeEvent extends EntityEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $originLevel;
|
private $originLevel;
|
||||||
private $targetLevel;
|
private $targetLevel;
|
||||||
|
@ -28,8 +28,6 @@ use pocketmine\math\Vector3;
|
|||||||
|
|
||||||
class EntityMotionEvent extends EntityEvent implements Cancellable{
|
class EntityMotionEvent extends EntityEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $mot;
|
private $mot;
|
||||||
|
|
||||||
|
@ -31,8 +31,6 @@ use pocketmine\math\Vector3;
|
|||||||
*/
|
*/
|
||||||
class EntityMoveEvent extends EntityEvent implements Cancellable{
|
class EntityMoveEvent extends EntityEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var \pocketmine\math\Vector3 */
|
/** @var \pocketmine\math\Vector3 */
|
||||||
private $pos;
|
private $pos;
|
||||||
|
@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
|
|||||||
|
|
||||||
class EntityRegainHealthEvent extends EntityEvent implements Cancellable{
|
class EntityRegainHealthEvent extends EntityEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
const CAUSE_REGEN = 0;
|
const CAUSE_REGEN = 0;
|
||||||
const CAUSE_EATING = 1;
|
const CAUSE_EATING = 1;
|
||||||
|
@ -29,8 +29,6 @@ use pocketmine\item\Item;
|
|||||||
|
|
||||||
class EntityShootBowEvent extends EntityEvent implements Cancellable{
|
class EntityShootBowEvent extends EntityEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Item */
|
/** @var Item */
|
||||||
private $bow;
|
private $bow;
|
||||||
|
@ -33,8 +33,6 @@ use pocketmine\entity\Vehicle;
|
|||||||
*/
|
*/
|
||||||
class EntitySpawnEvent extends EntityEvent{
|
class EntitySpawnEvent extends EntityEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $entityType;
|
private $entityType;
|
||||||
|
|
||||||
|
@ -28,8 +28,6 @@ use pocketmine\level\Position;
|
|||||||
|
|
||||||
class EntityTeleportEvent extends EntityEvent implements Cancellable{
|
class EntityTeleportEvent extends EntityEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Position */
|
/** @var Position */
|
||||||
private $from;
|
private $from;
|
||||||
|
@ -29,8 +29,6 @@ use pocketmine\event\Cancellable;
|
|||||||
*/
|
*/
|
||||||
class ExplosionPrimeEvent extends EntityEvent implements Cancellable{
|
class ExplosionPrimeEvent extends EntityEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
protected $force;
|
protected $force;
|
||||||
private $blockBreaking;
|
private $blockBreaking;
|
||||||
|
@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
|
|||||||
|
|
||||||
class ItemDespawnEvent extends EntityEvent implements Cancellable{
|
class ItemDespawnEvent extends EntityEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Item $item
|
* @param Item $item
|
||||||
|
@ -25,8 +25,6 @@ use pocketmine\entity\Item;
|
|||||||
|
|
||||||
class ItemSpawnEvent extends EntityEvent{
|
class ItemSpawnEvent extends EntityEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Item $item
|
* @param Item $item
|
||||||
|
@ -25,8 +25,6 @@ use pocketmine\entity\Projectile;
|
|||||||
|
|
||||||
class ProjectileHitEvent extends EntityEvent{
|
class ProjectileHitEvent extends EntityEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Projectile $entity
|
* @param Projectile $entity
|
||||||
|
@ -26,8 +26,6 @@ use pocketmine\event\Cancellable;
|
|||||||
|
|
||||||
class ProjectileLaunchEvent extends EntityEvent implements Cancellable{
|
class ProjectileLaunchEvent extends EntityEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Projectile $entity
|
* @param Projectile $entity
|
||||||
|
@ -28,8 +28,6 @@ use pocketmine\inventory\Recipe;
|
|||||||
|
|
||||||
class CraftItemEvent extends Event implements Cancellable{
|
class CraftItemEvent extends Event implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var CraftingTransactionGroup */
|
/** @var CraftingTransactionGroup */
|
||||||
private $ts;
|
private $ts;
|
||||||
|
@ -28,8 +28,6 @@ use pocketmine\tile\Furnace;
|
|||||||
|
|
||||||
class FurnaceBurnEvent extends BlockEvent implements Cancellable{
|
class FurnaceBurnEvent extends BlockEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $furnace;
|
private $furnace;
|
||||||
private $fuel;
|
private $fuel;
|
||||||
|
@ -28,8 +28,6 @@ use pocketmine\tile\Furnace;
|
|||||||
|
|
||||||
class FurnaceSmeltEvent extends BlockEvent implements Cancellable{
|
class FurnaceSmeltEvent extends BlockEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $furnace;
|
private $furnace;
|
||||||
private $source;
|
private $source;
|
||||||
|
@ -26,8 +26,6 @@ use pocketmine\Player;
|
|||||||
|
|
||||||
class InventoryCloseEvent extends InventoryEvent{
|
class InventoryCloseEvent extends InventoryEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Player */
|
/** @var Player */
|
||||||
private $who;
|
private $who;
|
||||||
|
@ -27,8 +27,6 @@ use pocketmine\Player;
|
|||||||
|
|
||||||
class InventoryOpenEvent extends InventoryEvent implements Cancellable{
|
class InventoryOpenEvent extends InventoryEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Player */
|
/** @var Player */
|
||||||
private $who;
|
private $who;
|
||||||
|
@ -27,8 +27,6 @@ use pocketmine\inventory\Inventory;
|
|||||||
|
|
||||||
class InventoryPickupArrowEvent extends InventoryEvent implements Cancellable{
|
class InventoryPickupArrowEvent extends InventoryEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Arrow */
|
/** @var Arrow */
|
||||||
private $arrow;
|
private $arrow;
|
||||||
|
@ -27,8 +27,6 @@ use pocketmine\inventory\Inventory;
|
|||||||
|
|
||||||
class InventoryPickupItemEvent extends InventoryEvent implements Cancellable{
|
class InventoryPickupItemEvent extends InventoryEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Item */
|
/** @var Item */
|
||||||
private $item;
|
private $item;
|
||||||
|
@ -31,8 +31,6 @@ use pocketmine\inventory\TransactionGroup;
|
|||||||
*/
|
*/
|
||||||
class InventoryTransactionEvent extends Event implements Cancellable{
|
class InventoryTransactionEvent extends Event implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var TransactionGroup */
|
/** @var TransactionGroup */
|
||||||
private $ts;
|
private $ts;
|
||||||
|
@ -28,8 +28,6 @@ use pocketmine\level\format\FullChunk;
|
|||||||
*/
|
*/
|
||||||
class ChunkLoadEvent extends ChunkEvent{
|
class ChunkLoadEvent extends ChunkEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $newChunk;
|
private $newChunk;
|
||||||
|
|
||||||
|
@ -26,6 +26,4 @@ namespace pocketmine\event\level;
|
|||||||
*/
|
*/
|
||||||
class ChunkPopulateEvent extends ChunkEvent{
|
class ChunkPopulateEvent extends ChunkEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
}
|
}
|
@ -28,6 +28,4 @@ use pocketmine\event\Cancellable;
|
|||||||
*/
|
*/
|
||||||
class ChunkUnloadEvent extends ChunkEvent implements Cancellable{
|
class ChunkUnloadEvent extends ChunkEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
}
|
}
|
@ -26,6 +26,4 @@ namespace pocketmine\event\level;
|
|||||||
*/
|
*/
|
||||||
class LevelInitEvent extends LevelEvent{
|
class LevelInitEvent extends LevelEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
}
|
}
|
@ -26,6 +26,4 @@ namespace pocketmine\event\level;
|
|||||||
*/
|
*/
|
||||||
class LevelLoadEvent extends LevelEvent{
|
class LevelLoadEvent extends LevelEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
}
|
}
|
@ -26,6 +26,4 @@ namespace pocketmine\event\level;
|
|||||||
*/
|
*/
|
||||||
class LevelSaveEvent extends LevelEvent{
|
class LevelSaveEvent extends LevelEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
}
|
}
|
@ -28,6 +28,4 @@ use pocketmine\event\Cancellable;
|
|||||||
*/
|
*/
|
||||||
class LevelUnloadEvent extends LevelEvent implements Cancellable{
|
class LevelUnloadEvent extends LevelEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
}
|
}
|
@ -30,8 +30,6 @@ use pocketmine\level\Position;
|
|||||||
*/
|
*/
|
||||||
class SpawnChangeEvent extends LevelEvent{
|
class SpawnChangeEvent extends LevelEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Position */
|
/** @var Position */
|
||||||
private $previousSpawn;
|
private $previousSpawn;
|
||||||
|
@ -29,8 +29,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class PlayerAchievementAwardedEvent extends PlayerEvent implements Cancellable{
|
class PlayerAchievementAwardedEvent extends PlayerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $achievement;
|
protected $achievement;
|
||||||
|
@ -29,8 +29,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class PlayerAnimationEvent extends PlayerEvent implements Cancellable{
|
class PlayerAnimationEvent extends PlayerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
const ARM_SWING = 1;
|
const ARM_SWING = 1;
|
||||||
|
|
||||||
|
@ -27,8 +27,6 @@ use pocketmine\Player;
|
|||||||
|
|
||||||
class PlayerBedEnterEvent extends PlayerEvent implements Cancellable{
|
class PlayerBedEnterEvent extends PlayerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $bed;
|
private $bed;
|
||||||
|
|
||||||
|
@ -26,8 +26,6 @@ use pocketmine\Player;
|
|||||||
|
|
||||||
class PlayerBedLeaveEvent extends PlayerEvent{
|
class PlayerBedLeaveEvent extends PlayerEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $bed;
|
private $bed;
|
||||||
|
|
||||||
|
@ -27,8 +27,6 @@ use pocketmine\Player;
|
|||||||
|
|
||||||
class PlayerBucketEmptyEvent extends PlayerBucketEvent{
|
class PlayerBucketEmptyEvent extends PlayerBucketEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
public function __construct(Player $who, Block $blockClicked, $blockFace, Item $bucket, Item $itemInHand){
|
public function __construct(Player $who, Block $blockClicked, $blockFace, Item $bucket, Item $itemInHand){
|
||||||
parent::__construct($who, $blockClicked, $blockFace, $bucket, $itemInHand);
|
parent::__construct($who, $blockClicked, $blockFace, $bucket, $itemInHand);
|
||||||
|
@ -27,8 +27,6 @@ use pocketmine\Player;
|
|||||||
|
|
||||||
class PlayerBucketFillEvent extends PlayerBucketEvent{
|
class PlayerBucketFillEvent extends PlayerBucketEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
public function __construct(Player $who, Block $blockClicked, $blockFace, Item $bucket, Item $itemInHand){
|
public function __construct(Player $who, Block $blockClicked, $blockFace, Item $bucket, Item $itemInHand){
|
||||||
parent::__construct($who, $blockClicked, $blockFace, $bucket, $itemInHand);
|
parent::__construct($who, $blockClicked, $blockFace, $bucket, $itemInHand);
|
||||||
|
@ -30,8 +30,6 @@ use pocketmine\Server;
|
|||||||
*/
|
*/
|
||||||
class PlayerChatEvent extends PlayerEvent implements Cancellable{
|
class PlayerChatEvent extends PlayerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $message;
|
protected $message;
|
||||||
|
@ -34,8 +34,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class PlayerCommandPreprocessEvent extends PlayerEvent implements Cancellable{
|
class PlayerCommandPreprocessEvent extends PlayerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $message;
|
protected $message;
|
||||||
|
@ -30,8 +30,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class PlayerCreationEvent extends Event{
|
class PlayerCreationEvent extends Event{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var SourceInterface */
|
/** @var SourceInterface */
|
||||||
private $interface;
|
private $interface;
|
||||||
|
@ -27,8 +27,6 @@ use pocketmine\Player;
|
|||||||
|
|
||||||
class PlayerDeathEvent extends EntityDeathEvent{
|
class PlayerDeathEvent extends EntityDeathEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $deathMessage;
|
private $deathMessage;
|
||||||
private $keepInventory = false;
|
private $keepInventory = false;
|
||||||
|
@ -30,8 +30,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class PlayerDropItemEvent extends PlayerEvent implements Cancellable{
|
class PlayerDropItemEvent extends PlayerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Item */
|
/** @var Item */
|
||||||
private $drop;
|
private $drop;
|
||||||
|
@ -29,8 +29,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class PlayerGameModeChangeEvent extends PlayerEvent implements Cancellable{
|
class PlayerGameModeChangeEvent extends PlayerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var int */
|
/** @var int */
|
||||||
protected $gamemode;
|
protected $gamemode;
|
||||||
|
@ -31,8 +31,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class PlayerInteractEvent extends PlayerEvent implements Cancellable{
|
class PlayerInteractEvent extends PlayerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \pocketmine\block\Block;
|
* @var \pocketmine\block\Block;
|
||||||
|
@ -30,8 +30,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class PlayerItemConsumeEvent extends PlayerEvent implements Cancellable{
|
class PlayerItemConsumeEvent extends PlayerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Item */
|
/** @var Item */
|
||||||
private $item;
|
private $item;
|
||||||
|
@ -28,8 +28,6 @@ use pocketmine\Player;
|
|||||||
|
|
||||||
class PlayerItemHeldEvent extends PlayerEvent implements Cancellable{
|
class PlayerItemHeldEvent extends PlayerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $item;
|
private $item;
|
||||||
private $slot;
|
private $slot;
|
||||||
|
@ -28,8 +28,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class PlayerJoinEvent extends PlayerEvent{
|
class PlayerJoinEvent extends PlayerEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $joinMessage;
|
protected $joinMessage;
|
||||||
|
@ -29,8 +29,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class PlayerKickEvent extends PlayerEvent implements Cancellable{
|
class PlayerKickEvent extends PlayerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $quitMessage;
|
protected $quitMessage;
|
||||||
|
@ -29,8 +29,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class PlayerLoginEvent extends PlayerEvent implements Cancellable{
|
class PlayerLoginEvent extends PlayerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $kickMessage;
|
protected $kickMessage;
|
||||||
|
@ -27,8 +27,6 @@ use pocketmine\Player;
|
|||||||
|
|
||||||
class PlayerMoveEvent extends PlayerEvent implements Cancellable{
|
class PlayerMoveEvent extends PlayerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $from;
|
private $from;
|
||||||
private $to;
|
private $to;
|
||||||
|
@ -29,8 +29,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class PlayerPreLoginEvent extends PlayerEvent implements Cancellable{
|
class PlayerPreLoginEvent extends PlayerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $kickMessage;
|
protected $kickMessage;
|
||||||
|
@ -28,8 +28,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class PlayerQuitEvent extends PlayerEvent{
|
class PlayerQuitEvent extends PlayerEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $quitMessage;
|
protected $quitMessage;
|
||||||
|
@ -29,8 +29,6 @@ use pocketmine\Player;
|
|||||||
*/
|
*/
|
||||||
class PlayerRespawnEvent extends PlayerEvent{
|
class PlayerRespawnEvent extends PlayerEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var Position */
|
/** @var Position */
|
||||||
protected $position;
|
protected $position;
|
||||||
|
@ -27,8 +27,6 @@ use pocketmine\plugin\Plugin;
|
|||||||
|
|
||||||
class PluginDisableEvent extends PluginEvent{
|
class PluginDisableEvent extends PluginEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Plugin $plugin
|
* @param Plugin $plugin
|
||||||
|
@ -27,8 +27,6 @@ use pocketmine\plugin\Plugin;
|
|||||||
|
|
||||||
class PluginEnableEvent extends PluginEvent{
|
class PluginEnableEvent extends PluginEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Plugin $plugin
|
* @param Plugin $plugin
|
||||||
|
@ -28,8 +28,6 @@ use pocketmine\Player;
|
|||||||
|
|
||||||
class DataPacketReceiveEvent extends ServerEvent implements Cancellable{
|
class DataPacketReceiveEvent extends ServerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $packet;
|
private $packet;
|
||||||
private $player;
|
private $player;
|
||||||
|
@ -28,8 +28,6 @@ use pocketmine\Player;
|
|||||||
|
|
||||||
class DataPacketSendEvent extends ServerEvent implements Cancellable{
|
class DataPacketSendEvent extends ServerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
private $packet;
|
private $packet;
|
||||||
private $player;
|
private $player;
|
||||||
|
@ -27,8 +27,6 @@ use pocketmine\utils\Binary;
|
|||||||
|
|
||||||
class QueryRegenerateEvent extends ServerEvent{
|
class QueryRegenerateEvent extends ServerEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
const GAME_ID = "MINECRAFTPE";
|
const GAME_ID = "MINECRAFTPE";
|
||||||
|
|
||||||
|
@ -28,8 +28,6 @@ use pocketmine\command\CommandSender;
|
|||||||
*/
|
*/
|
||||||
class RemoteServerCommandEvent extends ServerCommandEvent{
|
class RemoteServerCommandEvent extends ServerCommandEvent{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param CommandSender $sender
|
* @param CommandSender $sender
|
||||||
|
@ -34,8 +34,6 @@ use pocketmine\event\Cancellable;
|
|||||||
*/
|
*/
|
||||||
class ServerCommandEvent extends ServerEvent implements Cancellable{
|
class ServerCommandEvent extends ServerEvent implements Cancellable{
|
||||||
public static $handlerList = null;
|
public static $handlerList = null;
|
||||||
public static $eventPool = [];
|
|
||||||
public static $nextEvent = 0;
|
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $command;
|
protected $command;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user