|
| | __construct (private int $networkId, private ?ScriptDebugShapeType $type, private ?Vector3 $location, private ?float $scale, private ?Vector3 $rotation, private ?float $totalTimeLeft, private ?Color $color, private ?string $text, private ?Vector3 $boxBound, private ?Vector3 $lineEndLocation, private ?float $arrowHeadLength, private ?float $arrowHeadRadius, private ?int $segments, private ?int $dimensionId, private ?int $attachedToEntityId,) |
| |
| | getArrowHeadLength () |
| |
| | getArrowHeadRadius () |
| |
| | getBoxBound () |
| |
| | getColor () |
| |
| | getDimensionId () |
| |
| | getLineEndLocation () |
| |
| | getLocation () |
| |
| | getNetworkId () |
| |
| | getRotation () |
| |
| | getScale () |
| |
| | getSegments () |
| |
| | getText () |
| |
| | getTotalTimeLeft () |
| |
| | getType () |
| |
| | write (ByteBufferWriter $out) |
| |
|
| static | arrow (int $networkId, Vector3 $location, Vector3 $lineEndLocation, ?float $scale=null, ?Color $color=null, ?float $arrowHeadLength=null, ?float $arrowHeadRadius=null, ?int $segments=null, ?int $dimensionId=null, ?int $attachedToEntityId=null) |
| |
| static | box (int $networkId, Vector3 $location, Vector3 $boxBound, ?float $scale=null, ?Color $color=null, ?int $dimensionId=null, ?int $attachedToEntityId=null) |
| |
| static | circle (int $networkId, Vector3 $location, ?float $scale=null, ?Color $color=null, ?int $segments=null, ?int $dimensionId=null, ?int $attachedToEntityId=null) |
| |
| static | line (int $networkId, Vector3 $location, Vector3 $lineEndLocation, ?Color $color=null, ?int $dimensionId=null, ?int $attachedToEntityId=null) |
| |
| static | read (ByteBufferReader $in) |
| |
| static | remove (int $networkId, ?int $dimensionId=null) |
| |
| static | sphere (int $networkId, Vector3 $location, ?float $scale=null, ?Color $color=null, ?int $segments=null, ?int $dimensionId=null, ?int $attachedToEntityId=null) |
| |
| static | text (int $networkId, Vector3 $location, string $text, ?Color $color=null, ?int $dimensionId=null, ?int $attachedToEntityId=null) |
| |
- See also
- DebugDrawerPacket
Definition at line 31 of file PacketShapeData.php.
◆ __construct()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::__construct |
( |
private int | $networkId, |
|
|
private ?ScriptDebugShapeType | $type, |
|
|
private ?Vector3 | $location, |
|
|
private ?float | $scale, |
|
|
private ?Vector3 | $rotation, |
|
|
private ?float | $totalTimeLeft, |
|
|
private ?Color | $color, |
|
|
private ?string | $text, |
|
|
private ?Vector3 | $boxBound, |
|
|
private ?Vector3 | $lineEndLocation, |
|
|
private ?float | $arrowHeadLength, |
|
|
private ?float | $arrowHeadRadius, |
|
|
private ?int | $segments, |
|
|
private ?int | $dimensionId, |
|
|
private ?int | $attachedToEntityId ) |
◆ arrow()
| static pocketmine\network\mcpe\protocol\types\PacketShapeData::arrow |
( |
int | $networkId, |
|
|
Vector3 | $location, |
|
|
Vector3 | $lineEndLocation, |
|
|
?float | $scale = null, |
|
|
?Color | $color = null, |
|
|
?float | $arrowHeadLength = null, |
|
|
?float | $arrowHeadRadius = null, |
|
|
?int | $segments = null, |
|
|
?int | $dimensionId = null, |
|
|
?int | $attachedToEntityId = null ) |
|
static |
◆ box()
| static pocketmine\network\mcpe\protocol\types\PacketShapeData::box |
( |
int | $networkId, |
|
|
Vector3 | $location, |
|
|
Vector3 | $boxBound, |
|
|
?float | $scale = null, |
|
|
?Color | $color = null, |
|
|
?int | $dimensionId = null, |
|
|
?int | $attachedToEntityId = null ) |
|
static |
◆ circle()
| static pocketmine\network\mcpe\protocol\types\PacketShapeData::circle |
( |
int | $networkId, |
|
|
Vector3 | $location, |
|
|
?float | $scale = null, |
|
|
?Color | $color = null, |
|
|
?int | $segments = null, |
|
|
?int | $dimensionId = null, |
|
|
?int | $attachedToEntityId = null ) |
|
static |
◆ getArrowHeadLength()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::getArrowHeadLength |
( |
| ) |
|
◆ getArrowHeadRadius()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::getArrowHeadRadius |
( |
| ) |
|
◆ getBoxBound()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::getBoxBound |
( |
| ) |
|
◆ getColor()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::getColor |
( |
| ) |
|
◆ getDimensionId()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::getDimensionId |
( |
| ) |
|
◆ getLineEndLocation()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::getLineEndLocation |
( |
| ) |
|
◆ getLocation()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::getLocation |
( |
| ) |
|
◆ getNetworkId()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::getNetworkId |
( |
| ) |
|
◆ getRotation()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::getRotation |
( |
| ) |
|
◆ getScale()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::getScale |
( |
| ) |
|
◆ getSegments()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::getSegments |
( |
| ) |
|
◆ getText()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::getText |
( |
| ) |
|
◆ getTotalTimeLeft()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::getTotalTimeLeft |
( |
| ) |
|
◆ getType()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::getType |
( |
| ) |
|
◆ line()
| static pocketmine\network\mcpe\protocol\types\PacketShapeData::line |
( |
int | $networkId, |
|
|
Vector3 | $location, |
|
|
Vector3 | $lineEndLocation, |
|
|
?Color | $color = null, |
|
|
?int | $dimensionId = null, |
|
|
?int | $attachedToEntityId = null ) |
|
static |
◆ read()
| static pocketmine\network\mcpe\protocol\types\PacketShapeData::read |
( |
ByteBufferReader | $in | ) |
|
|
static |
◆ remove()
| static pocketmine\network\mcpe\protocol\types\PacketShapeData::remove |
( |
int | $networkId, |
|
|
?int | $dimensionId = null ) |
|
static |
◆ sphere()
| static pocketmine\network\mcpe\protocol\types\PacketShapeData::sphere |
( |
int | $networkId, |
|
|
Vector3 | $location, |
|
|
?float | $scale = null, |
|
|
?Color | $color = null, |
|
|
?int | $segments = null, |
|
|
?int | $dimensionId = null, |
|
|
?int | $attachedToEntityId = null ) |
|
static |
◆ text()
| static pocketmine\network\mcpe\protocol\types\PacketShapeData::text |
( |
int | $networkId, |
|
|
Vector3 | $location, |
|
|
string | $text, |
|
|
?Color | $color = null, |
|
|
?int | $dimensionId = null, |
|
|
?int | $attachedToEntityId = null ) |
|
static |
◆ write()
| pocketmine\network\mcpe\protocol\types\PacketShapeData::write |
( |
ByteBufferWriter | $out | ) |
|
The documentation for this class was generated from the following file: