| 
| static  | boatHack (int $actorRuntimeId, int $actionId, float $rowingTime) | 
|   | 
| static  | create (int $actorRuntimeId, int $actionId, float $data=0.0) | 
|   | 
Definition at line 23 of file AnimatePacket.php.
 
◆ __get()
  
  
      
        
          | pocketmine\network\mcpe\protocol\DataPacket::__get  | 
          ( | 
           |           $name | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
 
◆ __set()
  
  
      
        
          | pocketmine\network\mcpe\protocol\DataPacket::__set  | 
          ( | 
           |           $name,  | 
         
        
           | 
           | 
           |           $value ) | 
         
       
   | 
  
inherited   | 
  
 
 
◆ boatHack()
  
  
      
        
          | static pocketmine\network\mcpe\protocol\AnimatePacket::boatHack  | 
          ( | 
          int |           $actorRuntimeId,  | 
         
        
           | 
           | 
          int |           $actionId,  | 
         
        
           | 
           | 
          float |           $rowingTime ) | 
         
       
   | 
  
static   | 
  
 
 
◆ canBeSentBeforeLogin()
  
  
      
        
          | pocketmine\network\mcpe\protocol\DataPacket::canBeSentBeforeLogin  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
 
◆ create()
  
  
      
        
          | static pocketmine\network\mcpe\protocol\AnimatePacket::create  | 
          ( | 
          int |           $actorRuntimeId,  | 
         
        
           | 
           | 
          int |           $actionId,  | 
         
        
           | 
           | 
          float |           $data = 0.0 ) | 
         
       
   | 
  
static   | 
  
 
 
◆ decode()
  
  
      
        
          | pocketmine\network\mcpe\protocol\DataPacket::decode  | 
          ( | 
          ByteBufferReader |           $in | ) | 
           | 
         
       
   | 
  
finalinherited   | 
  
 
 
◆ decodeHeader()
  
  
      
        
          | pocketmine\network\mcpe\protocol\DataPacket::decodeHeader  | 
          ( | 
          ByteBufferReader |           $in | ) | 
           | 
         
       
   | 
  
protectedinherited   | 
  
 
- Exceptions
 - 
  
    | DataDecodeException |  | 
    | PacketDecodeException |  | 
  
   
Definition at line 64 of file DataPacket.php.
 
 
◆ decodePayload()
  
  
      
        
          | pocketmine\network\mcpe\protocol\AnimatePacket::decodePayload  | 
          ( | 
          ByteBufferReader |           $in | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ encode()
  
  
      
        
          | pocketmine\network\mcpe\protocol\DataPacket::encode  | 
          ( | 
          ByteBufferWriter |           $out | ) | 
           | 
         
       
   | 
  
finalinherited   | 
  
 
 
◆ encodeHeader()
  
  
      
        
          | pocketmine\network\mcpe\protocol\DataPacket::encodeHeader  | 
          ( | 
          ByteBufferWriter |           $out | ) | 
           | 
         
       
   | 
  
protectedinherited   | 
  
 
 
◆ encodePayload()
  
  
      
        
          | pocketmine\network\mcpe\protocol\AnimatePacket::encodePayload  | 
          ( | 
          ByteBufferWriter |           $out | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ getName()
  
  
      
        
          | pocketmine\network\mcpe\protocol\DataPacket::getName  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
 
◆ handle()
Performs handling for this packet. Usually you'll want an appropriately named method in the session handler for this.
This method returns a bool to indicate whether the packet was handled or not. If the packet was unhandled, a debug message will be logged with a hexdump of the packet.
Typically this method returns the return value of the handler in the supplied PacketHandler. See other packets for examples how to implement this.
- Returns
 - bool true if the packet was handled successfully, false if not. 
 
- Exceptions
 - 
  
    | PacketDecodeException | if broken data was found in the packet  | 
  
   
Implements pocketmine\network\mcpe\protocol\Packet.
Definition at line 75 of file AnimatePacket.php.
 
 
◆ pid()
  
  
      
        
          | pocketmine\network\mcpe\protocol\DataPacket::pid  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
 
◆ $action
      
        
          | int pocketmine\network\mcpe\protocol\AnimatePacket::$action | 
        
      
 
 
◆ $actorRuntimeId
      
        
          | int pocketmine\network\mcpe\protocol\AnimatePacket::$actorRuntimeId | 
        
      
 
 
◆ $data
      
        
          | float pocketmine\network\mcpe\protocol\AnimatePacket::$data = 0.0 | 
        
      
 
 
◆ $recipientSubId
  
  
      
        
          | int pocketmine\network\mcpe\protocol\DataPacket::$recipientSubId = 0 | 
         
       
   | 
  
inherited   | 
  
 
 
◆ $rowingTime
      
        
          | float pocketmine\network\mcpe\protocol\AnimatePacket::$rowingTime = 0.0 | 
        
      
 
 
◆ $senderSubId
  
  
      
        
          | int pocketmine\network\mcpe\protocol\DataPacket::$senderSubId = 0 | 
         
       
   | 
  
inherited   | 
  
 
 
◆ ACTION_CRITICAL_HIT
      
        
          | const pocketmine\network\mcpe\protocol\AnimatePacket::ACTION_CRITICAL_HIT = 4 | 
        
      
 
 
◆ ACTION_MAGICAL_CRITICAL_HIT
      
        
          | const pocketmine\network\mcpe\protocol\AnimatePacket::ACTION_MAGICAL_CRITICAL_HIT = 5 | 
        
      
 
 
◆ ACTION_ROW_LEFT
      
        
          | const pocketmine\network\mcpe\protocol\AnimatePacket::ACTION_ROW_LEFT = 129 | 
        
      
 
 
◆ ACTION_ROW_RIGHT
      
        
          | const pocketmine\network\mcpe\protocol\AnimatePacket::ACTION_ROW_RIGHT = 128 | 
        
      
 
 
◆ ACTION_STOP_SLEEP
      
        
          | const pocketmine\network\mcpe\protocol\AnimatePacket::ACTION_STOP_SLEEP = 3 | 
        
      
 
 
◆ ACTION_SWING_ARM
      
        
          | const pocketmine\network\mcpe\protocol\AnimatePacket::ACTION_SWING_ARM = 1 | 
        
      
 
 
◆ NETWORK_ID
      
        
          | const pocketmine\network\mcpe\protocol\AnimatePacket::NETWORK_ID = ProtocolInfo::ANIMATE_PACKET | 
        
      
 
 
◆ PID_MASK
  
  
      
        
          | const pocketmine\network\mcpe\protocol\DataPacket::PID_MASK = 0x3ff | 
         
       
   | 
  
inherited   | 
  
 
 
The documentation for this class was generated from the following file: