Example #1
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     m_eventToSend.Write(s, bw);
     bw.WriteSingle(m_minSpeedThreshold);
     bw.WriteSingle(m_maxSpeedThreshold);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkbGenerator>(bw, m_child);
     bw.WriteInt32(m_desiredAIMovementMode);
     bw.WriteSingle(m_effectiveLinearSpeed);
     bw.WriteSingle(m_effectiveAngularSpeed);
     bw.WriteSingle(m_effectiveHorizontalAim);
     bw.WriteSingle(m_effectiveVerticalAim);
     bw.WriteSingle(m_torsoTiltAngle);
     bw.WriteSingle(m_desiredAIMovementSpeed);
     bw.WriteSingle(m_currentMaximumSpeed);
     bw.WriteSingle(m_linearSpeed);
     bw.WriteSingle(m_angularSpeed);
     bw.WriteSingle(m_horizontalAim);
     bw.WriteSingle(m_verticalAim);
     bw.WriteSingle(m_rotationSpeed);
     bw.WriteInt32(m_poseIdx);
     bw.WriteInt32(m_rotationAllowed);
     bw.WriteUInt32(0);
     m_leftFootDownEvent.Write(s, bw);
     m_rightFootDownEvent.Write(s, bw);
     m_immediateStopEvent.Write(s, bw);
     m_changePoseEvent.Write(s, bw);
     m_moveEvent.Write(s, bw);
     m_stopEvent.Write(s, bw);
     s.WriteSingleArray(bw, m_moveVelocities);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteSingle(m_alarmTimeSeconds);
     bw.WriteUInt32(0);
     m_alarmEvent.Write(s, bw);
     bw.WriteUInt64(0);
 }
Example #4
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     bw.WriteSingle(m_upperBound);
     bw.WriteUInt32(0);
     m_event.Write(s, bw);
     bw.WriteSByte((sbyte)m_eventMode);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     m_event.Write(s, bw);
     bw.WriteSingle(m_minDistance);
     bw.WriteSingle(m_maxDistance);
     bw.WriteBoolean(m_ignoreHandle);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
Example #6
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     bw.WriteSingle(m_localTime);
     bw.WriteUInt32(0);
     m_event.Write(s, bw);
     bw.WriteBoolean(m_relativeToEndOfClip);
     bw.WriteBoolean(m_acyclic);
     bw.WriteBoolean(m_isAnnotation);
     bw.WriteUInt32(0);
     bw.WriteByte(0);
 }
Example #7
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     m_closeToGroundEvent.Write(s, bw);
     bw.WriteSingle(m_closeToGroundHeight);
     bw.WriteSingle(m_raycastDistanceDown);
     bw.WriteUInt32(m_collisionFilterInfo);
     bw.WriteInt16(m_boneIndex);
     bw.WriteInt16(m_animBoneIndex);
     bw.WriteUInt64(0);
 }
Example #8
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteVector4(bw, m_groundPosition);
     m_ungroundedEvent.Write(s, bw);
     bw.WriteSingle(m_verticalError);
     bw.WriteBoolean(m_hitSomething);
     bw.WriteBoolean(m_isPlantedMS);
     bw.WriteBoolean(m_enabled);
     bw.WriteUInt64(0);
     bw.WriteByte(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     m_sendToAttacherOnAttach.Write(s, bw);
     m_sendToAttacheeOnAttach.Write(s, bw);
     m_sendToAttacherOnDetach.Write(s, bw);
     m_sendToAttacheeOnDetach.Write(s, bw);
     s.WriteClassPointer <hkbAttachmentSetup>(bw, m_attachmentSetup);
     s.WriteClassPointer <hkbHandle>(bw, m_attacherHandle);
     s.WriteClassPointer <hkbHandle>(bw, m_attacheeHandle);
     bw.WriteInt32(m_attacheeLayer);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
 }
Example #10
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkbpTarget>(bw, m_targetOut);
     bw.WriteSByte((sbyte)m_targetMode);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     bw.WriteInt32(m_sensingLayer);
     bw.WriteBoolean(m_targetOnlyOnce);
     bw.WriteBoolean(m_ignoreMySystemGroup);
     bw.WriteUInt16(0);
     bw.WriteSingle(m_maxTargetDistance);
     bw.WriteSingle(m_maxTargetHeightAboveSensor);
     bw.WriteSingle(m_closeToTargetDistanceThreshold);
     bw.WriteSByte((sbyte)m_targetAngleMode);
     bw.WriteSByte((sbyte)m_targetDistanceMode);
     bw.WriteUInt16(0);
     bw.WriteSingle(m_maxAngleToTarget);
     bw.WriteInt16(m_sensorRagdollBoneIndex);
     bw.WriteInt16(m_sensorAnimationBoneIndex);
     bw.WriteInt16(m_closeToTargetRagdollBoneIndex);
     bw.WriteInt16(m_closeToTargetAnimationBoneIndex);
     bw.WriteUInt64(0);
     s.WriteVector4(bw, m_sensorOffsetInBoneSpace);
     s.WriteVector4(bw, m_closeToTargetOffsetInBoneSpace);
     s.WriteVector4(bw, m_sensorDirectionBS);
     bw.WriteSByte((sbyte)m_eventMode);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     bw.WriteUInt32(m_sensingPropertyKey);
     bw.WriteBoolean(m_sensorInWS);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     m_eventToSend.Write(s, bw);
     m_eventToSendToTarget.Write(s, bw);
     m_closeToTargetEvent.Write(s, bw);
     bw.WriteBoolean(m_useVelocityPrediction);
     bw.WriteBoolean(m_targetOnlySpheres);
     bw.WriteBoolean(m_isCloseToTargetOut);
     bw.WriteSByte(m_targetPriority);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkbGenerator>(bw, m_child);
     bw.WriteBoolean(m_autoTurnsAllowed);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     bw.WriteInt32(m_desiredAIMovementMode);
     bw.WriteSingle(m_effectiveLinearSpeed);
     bw.WriteSingle(m_effectiveAngularSpeed);
     bw.WriteSingle(m_effectiveHorizontalAim);
     bw.WriteSingle(m_effectiveVerticalAim);
     bw.WriteSingle(m_torsoTiltAngle);
     bw.WriteSingle(m_desiredAIMovementSpeed);
     bw.WriteSingle(m_currentMaximumSpeed);
     bw.WriteBoolean(m_stopRequest);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     bw.WriteInt32(m_idleToMoveAnimIdx);
     bw.WriteSingle(m_linearSpeed);
     bw.WriteSingle(m_angularSpeed);
     bw.WriteSingle(m_horizontalAim);
     bw.WriteSingle(m_verticalAim);
     bw.WriteBoolean(m_rotationAllowed);
     bw.WriteBoolean(m_poseChangeAllowed);
     bw.WriteBoolean(m_modifyLinearSpeed);
     bw.WriteByte(0);
     bw.WriteInt32(m_poseIdx);
     bw.WriteUInt32(0);
     m_leftFootDownEvent.Write(s, bw);
     m_rightFootDownEvent.Write(s, bw);
     m_immediateStopEvent.Write(s, bw);
     m_rapidTurnEvent.Write(s, bw);
     m_changeMovementDirectionEvent.Write(s, bw);
     m_changePoseEvent.Write(s, bw);
     m_moveEvent.Write(s, bw);
     m_stopEvent.Write(s, bw);
     m_characterHasHalted.Write(s, bw);
     s.WriteSingleArray(bw, m_moveVelocities);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(0);
     s.WriteVector4(bw, m_directionOfFallForwardLS);
     s.WriteVector4(bw, m_directionOfFallRightLS);
     s.WriteVector4(bw, m_directionOfFallUpLS);
     s.WriteClassPointer <hkbBoneIndexArray>(bw, m_spineIndices);
     m_leftHand.Write(s, bw);
     m_rightHand.Write(s, bw);
     bw.WriteUInt32(0);
     m_catchFallDoneEvent.Write(s, bw);
     bw.WriteSingle(m_spreadHandsMultiplier);
     bw.WriteSingle(m_radarRange);
     bw.WriteSingle(m_previousTargetBlendWeight);
     bw.WriteSingle(m_handsBendDistance);
     bw.WriteSingle(m_maxReachDistanceForward);
     bw.WriteSingle(m_maxReachDistanceBackward);
     bw.WriteSingle(m_fadeInReachGainSpeed);
     bw.WriteSingle(m_fadeOutReachGainSpeed);
     bw.WriteSingle(m_fadeOutDuration);
     bw.WriteSingle(m_fadeInTwistSpeed);
     bw.WriteSingle(m_fadeOutTwistSpeed);
     bw.WriteInt16(m_raycastLayer);
     bw.WriteInt16(m_velocityRagdollBoneIndex);
     bw.WriteInt16(m_directionOfFallRagdollBoneIndex);
     bw.WriteBoolean(m_orientHands);
     bw.WriteUInt32(0);
     bw.WriteByte(0);
     s.WriteVector4(bw, m_catchFallPosInBS_0);
     s.WriteVector4(bw, m_catchFallPosInBS_1);
     bw.WriteSingle(m_currentReachGain_0);
     bw.WriteSingle(m_currentReachGain_1);
     bw.WriteSingle(m_timeSinceLastModify);
     bw.WriteSingle(m_currentTwistGain);
     bw.WriteInt16(m_currentTwistDirection);
     bw.WriteBoolean(m_catchFallPosIsValid_0);
     bw.WriteBoolean(m_catchFallPosIsValid_1);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
 }
Example #13
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkbpTarget>(bw, m_targetIn);
     s.WriteVector4(bw, m_offsetInBoneSpace);
     s.WriteVector4(bw, m_alignAxisBS);
     s.WriteVector4(bw, m_targetAlignAxisTS);
     s.WriteVector4(bw, m_alignWithCharacterForwardBS);
     s.WriteVector4(bw, m_currentBonePositionOut);
     s.WriteQuaternion(bw, m_currentBoneRotationOut);
     m_eventToSendWhenTargetReached.Write(s, bw);
     s.WriteClassPointer <hkbGenerator>(bw, m_childGenerator);
     bw.WriteSingle(m_duration);
     bw.WriteInt16(m_ragdollBoneIndex);
     bw.WriteInt16(m_animationBoneIndex);
     bw.WriteSByte((sbyte)m_targetMode);
     bw.WriteSByte(m_alignMode);
     bw.WriteBoolean(m_useVelocityPrediction);
     bw.WriteBoolean(m_affectOrientation);
     bw.WriteBoolean(m_currentBoneIsValidOut);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     s.WriteVector4(bw, m_finalAnimBonePositionMS);
     s.WriteVector4(bw, m_initialAnimBonePositionMS);
     s.WriteQuaternion(bw, m_finalAnimBoneOrientationMS);
     s.WriteQuaternion(bw, m_animationFromRagdoll);
     s.WriteQSTransform(bw, m_totalMotion);
     s.WriteQSTransform(bw, m_accumulatedMotion);
     bw.WriteBoolean(m_useAnimationData);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
Example #14
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteQSTransform(bw, m_originalAnkleTransformMS);
     s.WriteVector4(bw, m_kneeAxisLS);
     s.WriteVector4(bw, m_footEndLS);
     m_ungroundedEvent.Write(s, bw);
     bw.WriteSingle(m_footPlantedAnkleHeightMS);
     bw.WriteSingle(m_footRaisedAnkleHeightMS);
     bw.WriteSingle(m_maxAnkleHeightMS);
     bw.WriteSingle(m_minAnkleHeightMS);
     bw.WriteSingle(m_maxKneeAngleDegrees);
     bw.WriteSingle(m_minKneeAngleDegrees);
     bw.WriteSingle(m_verticalError);
     bw.WriteInt16(m_hipIndex);
     bw.WriteInt16(m_kneeIndex);
     bw.WriteInt16(m_ankleIndex);
     bw.WriteBoolean(m_hitSomething);
     bw.WriteBoolean(m_isPlantedMS);
     bw.WriteBoolean(m_isOriginalAnkleTransformMSSet);
     bw.WriteUInt64(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }