Last active
August 10, 2017 07:52
-
-
Save Muqsit/7f7ccd6fe17fcab26d242fc4b91e81fa to your computer and use it in GitHub Desktop.
PocketMine ArmorStand InventoryTransactionEvent dump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php//done this just for syntax highlight | |
//ADDING HELMET | |
object(pocketmine\network\mcpe\protocol\InventoryTransactionPacket)#36861 (7) { | |
["actions"]=> | |
array(1) { | |
[0]=> | |
object(stdClass)#36953 (4) { | |
["inventorySource"]=> | |
object(stdClass)#36848 (3) { | |
["sourceType"]=> | |
int(0) | |
["containerId"]=> | |
int(0) | |
["field_2"]=> | |
int(0) | |
} | |
["inventorySlot"]=> | |
int(1) | |
["oldItem"]=> | |
object(pocketmine\item\DiamondHelmet)#36864 (7) { | |
["block":protected]=> | |
NULL | |
["id":protected]=> | |
int(310) | |
["meta":protected]=> | |
int(0) | |
["tags":"pocketmine\item\Item":private]=> | |
string(0) "" | |
["cachedNBT":"pocketmine\item\Item":private]=> | |
NULL | |
["count"]=> | |
int(1) | |
["name":protected]=> | |
string(14) "Diamond Helmet" | |
} | |
["newItem"]=> | |
object(pocketmine\item\ItemBlock)#36813 (7) { | |
["block":protected]=> | |
object(pocketmine\block\Air)#36828 (9) { | |
["id":protected]=> | |
int(0) | |
["meta":protected]=> | |
int(0) | |
["fallbackName":protected]=> | |
NULL | |
["itemId":protected]=> | |
NULL | |
["boundingBox"]=> | |
NULL | |
["level"]=> | |
NULL | |
["x"]=> | |
NULL | |
["y"]=> | |
NULL | |
["z"]=> | |
NULL | |
} | |
["id":protected]=> | |
int(0) | |
["meta":protected]=> | |
int(0) | |
["tags":"pocketmine\item\Item":private]=> | |
string(0) "" | |
["cachedNBT":"pocketmine\item\Item":private]=> | |
NULL | |
["count"]=> | |
int(0) | |
["name":protected]=> | |
string(3) "Air" | |
} | |
} | |
} | |
["transactionData"]=> | |
object(stdClass)#37299 (7) { | |
["transactionType"]=> | |
int(3) | |
["entityRuntimeId"]=> | |
int(35) | |
["actionType"]=> | |
int(0) | |
["hotbarSlot"]=> | |
int(1) | |
["itemInHand"]=> | |
object(pocketmine\item\DiamondHelmet)#37313 (7) { | |
["block":protected]=> | |
NULL | |
["id":protected]=> | |
int(310) | |
["meta":protected]=> | |
int(0) | |
["tags":"pocketmine\item\Item":private]=> | |
string(0) "" | |
["cachedNBT":"pocketmine\item\Item":private]=> | |
NULL | |
["count"]=> | |
int(1) | |
["name":protected]=> | |
string(14) "Diamond Helmet" | |
} | |
["vector1"]=> | |
object(pocketmine\math\Vector3)#37290 (3) { | |
["x"]=> | |
float(-348.2473) | |
["y"]=> | |
float(71.62) | |
["z"]=> | |
float(-178.4842) | |
} | |
["vector2"]=> | |
object(pocketmine\math\Vector3)#36950 (3) { | |
["x"]=> | |
float(-346.85) | |
["y"]=> | |
float(71.4572) | |
["z"]=> | |
float(-178.4383) | |
} | |
} | |
["isEncoded"]=> | |
bool(false) | |
["extraByte1"]=> | |
int(0) | |
["extraByte2"]=> | |
int(0) | |
["offset"]=> | |
int(50) | |
["buffer"]=> | |
string(100) "1e00000301000001ec04020000000000230002ec040200000000a61faec3723d8f42f77b32c3cd6cadc31bea8e42337032c3" | |
} | |
//REMOVING HELMET | |
object(pocketmine\network\mcpe\protocol\InventoryTransactionPacket)#36994 (7) { | |
["actions"]=> | |
array(1) { | |
[0]=> | |
object(stdClass)#37310 (4) { | |
["inventorySource"]=> | |
object(stdClass)#36657 (3) { | |
["sourceType"]=> | |
int(0) | |
["containerId"]=> | |
int(0) | |
["field_2"]=> | |
int(0) | |
} | |
["inventorySlot"]=> | |
int(1) | |
["oldItem"]=> | |
object(pocketmine\item\ItemBlock)#36950 (7) { | |
["block":protected]=> | |
object(pocketmine\block\Air)#36953 (9) { | |
["id":protected]=> | |
int(0) | |
["meta":protected]=> | |
int(0) | |
["fallbackName":protected]=> | |
NULL | |
["itemId":protected]=> | |
NULL | |
["boundingBox"]=> | |
NULL | |
["level"]=> | |
NULL | |
["x"]=> | |
NULL | |
["y"]=> | |
NULL | |
["z"]=> | |
NULL | |
} | |
["id":protected]=> | |
int(0) | |
["meta":protected]=> | |
int(0) | |
["tags":"pocketmine\item\Item":private]=> | |
string(0) "" | |
["cachedNBT":"pocketmine\item\Item":private]=> | |
NULL | |
["count"]=> | |
int(0) | |
["name":protected]=> | |
string(3) "Air" | |
} | |
["newItem"]=> | |
object(pocketmine\item\DiamondHelmet)#37290 (7) { | |
["block":protected]=> | |
NULL | |
["id":protected]=> | |
int(310) | |
["meta":protected]=> | |
int(0) | |
["tags":"pocketmine\item\Item":private]=> | |
string(0) "" | |
["cachedNBT":"pocketmine\item\Item":private]=> | |
NULL | |
["count"]=> | |
int(1) | |
["name":protected]=> | |
string(14) "Diamond Helmet" | |
} | |
} | |
} | |
["transactionData"]=> | |
object(stdClass)#37313 (7) { | |
["transactionType"]=> | |
int(3) | |
["entityRuntimeId"]=> | |
int(35) | |
["actionType"]=> | |
int(0) | |
["hotbarSlot"]=> | |
int(1) | |
["itemInHand"]=> | |
object(pocketmine\item\ItemBlock)#36864 (7) { | |
["block":protected]=> | |
object(pocketmine\block\Air)#36813 (9) { | |
["id":protected]=> | |
int(0) | |
["meta":protected]=> | |
int(0) | |
["fallbackName":protected]=> | |
NULL | |
["itemId":protected]=> | |
NULL | |
["boundingBox"]=> | |
NULL | |
["level"]=> | |
NULL | |
["x"]=> | |
NULL | |
["y"]=> | |
NULL | |
["z"]=> | |
NULL | |
} | |
["id":protected]=> | |
int(0) | |
["meta":protected]=> | |
int(0) | |
["tags":"pocketmine\item\Item":private]=> | |
string(0) "" | |
["cachedNBT":"pocketmine\item\Item":private]=> | |
NULL | |
["count"]=> | |
int(0) | |
["name":protected]=> | |
string(3) "Air" | |
} | |
["vector1"]=> | |
object(pocketmine\math\Vector3)#36828 (3) { | |
["x"]=> | |
float(-348.2473) | |
["y"]=> | |
float(71.62) | |
["z"]=> | |
float(-178.4842) | |
} | |
["vector2"]=> | |
object(pocketmine\math\Vector3)#36848 (3) { | |
["x"]=> | |
float(-346.85) | |
["y"]=> | |
float(71.6368) | |
["z"]=> | |
float(-178.4034) | |
} | |
} | |
["isEncoded"]=> | |
bool(false) | |
["extraByte1"]=> | |
int(0) | |
["extraByte2"]=> | |
int(0) | |
["offset"]=> | |
int(44) | |
["buffer"]=> | |
string(88) "1e0000030100000100ec04020000000023000200a61faec3723d8f42f77b32c3cd6cadc309468f42436732c3" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment