47 string $stopExpression,
48 int $stopExpressionVersion,
51 array $actorRuntimeIds,
54 $result->animation = $animation;
55 $result->nextState = $nextState;
56 $result->stopExpression = $stopExpression;
57 $result->stopExpressionVersion = $stopExpressionVersion;
58 $result->controller = $controller;
59 $result->blendOutTime = $blendOutTime;
60 $result->actorRuntimeIds = $actorRuntimeIds;
84 $this->nextState = CommonTypes::getString($in);
85 $this->stopExpression = CommonTypes::getString($in);
86 $this->stopExpressionVersion = LE::readSignedInt($in);
87 $this->controller = CommonTypes::getString($in);
88 $this->blendOutTime = LE::readFloat($in);
89 $this->actorRuntimeIds = [];
90 for($i = 0, $len = VarInt::readUnsignedInt($in); $i < $len; ++$i){
91 $this->actorRuntimeIds[] = CommonTypes::getActorRuntimeId($in);
97 CommonTypes::putString($out, $this->nextState);
98 CommonTypes::putString($out, $this->stopExpression);
99 LE::writeSignedInt($out, $this->stopExpressionVersion);
100 CommonTypes::putString($out, $this->controller);
101 LE::writeFloat($out, $this->blendOutTime);
102 VarInt::writeUnsignedInt($out, count($this->actorRuntimeIds));
103 foreach($this->actorRuntimeIds as $id){
104 CommonTypes::putActorRuntimeId($out, $id);