GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
EntityEffectAddEvent Class Reference

Public Member Functions

 __construct (Entity $entity, Effect $effect)
 
 getEffect ()
 
- Public Member Functions inherited from EntityEvent
 getEntity ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 
- Public Member Functions inherited from Cancellable
 isCancelled ()
 
 setCancelled ($forceCancel=false)
 

Static Public Attributes

static $handlerList = null
 

Protected Attributes

 $effect
 
- Protected Attributes inherited from EntityEvent
 $entity
 
- Protected Attributes inherited from Event
 $eventName = null
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( Entity  $entity,
Effect  $effect 
)

EntityEffectAddEvent constructor.

Parameters
Entity$entity
Effect$effect
41  {
42  $this->entity = $entity;
43  $this->effect = $effect;
44  }

Member Function Documentation

◆ getEffect()

getEffect ( )
Returns
Effect
49  {
50  return $this->effect;
51  }

Field Documentation

◆ $effect

$effect
protected

◆ $handlerList

$handlerList = null
static

The documentation for this class was generated from the following file: