Added missing fields of StructureSettings

This commit is contained in:
Dylan K. Taylor 2021-11-21 20:51:35 +00:00
parent 7b4ef293bd
commit fc7d297f60
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
2 changed files with 8 additions and 0 deletions

View File

@ -786,6 +786,8 @@ class NetworkBinaryStream extends BinaryStream{
$result->lastTouchedByPlayerID = $this->getEntityUniqueId();
$result->rotation = $this->getByte();
$result->mirror = $this->getByte();
$result->animationMode = $this->getByte();
$result->animationSeconds = $this->getLFloat();
$result->integrityValue = $this->getLFloat();
$result->integritySeed = $this->getLInt();
$result->pivot = $this->getVector3();
@ -805,6 +807,8 @@ class NetworkBinaryStream extends BinaryStream{
$this->putEntityUniqueId($structureSettings->lastTouchedByPlayerID);
$this->putByte($structureSettings->rotation);
$this->putByte($structureSettings->mirror);
$this->putByte($structureSettings->animationMode);
$this->putLFloat($structureSettings->animationSeconds);
$this->putLFloat($structureSettings->integrityValue);
$this->putLInt($structureSettings->integritySeed);
$this->putVector3($structureSettings->pivot);

View File

@ -50,6 +50,10 @@ class StructureSettings{
public $rotation;
/** @var int */
public $mirror;
/** @var int */
public $animationMode;
/** @var float */
public $animationSeconds;
/** @var float */
public $integrityValue;
/** @var int */