Esempio n. 1
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_eventToSend = new hkbEventProperty();
     m_eventToSend.Read(des, br);
     m_minSpeedThreshold = br.ReadSingle();
     m_maxSpeedThreshold = br.ReadSingle();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_alarmTimeSeconds = br.ReadSingle();
     br.ReadUInt32();
     m_alarmEvent = new hkbEventProperty();
     m_alarmEvent.Read(des, br);
     br.ReadUInt64();
 }
Esempio n. 3
0
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_upperBound = br.ReadSingle();
     br.ReadUInt32();
     m_event = new hkbEventProperty();
     m_event.Read(des, br);
     m_eventMode = (EventRangeMode)br.ReadSByte();
     br.ReadUInt32();
     br.ReadUInt16();
     br.ReadByte();
 }
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_event = new hkbEventProperty();
     m_event.Read(des, br);
     m_minDistance  = br.ReadSingle();
     m_maxDistance  = br.ReadSingle();
     m_ignoreHandle = br.ReadBoolean();
     br.ReadUInt32();
     br.ReadUInt16();
     br.ReadByte();
 }
Esempio n. 5
0
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_localTime = br.ReadSingle();
     br.ReadUInt32();
     m_event = new hkbEventProperty();
     m_event.Read(des, br);
     m_relativeToEndOfClip = br.ReadBoolean();
     m_acyclic             = br.ReadBoolean();
     m_isAnnotation        = br.ReadBoolean();
     br.ReadUInt32();
     br.ReadByte();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_child            = des.ReadClassPointer <hkbGenerator>(br);
     m_autoTurnsAllowed = br.ReadBoolean();
     br.ReadUInt16();
     br.ReadByte();
     m_desiredAIMovementMode  = br.ReadInt32();
     m_effectiveLinearSpeed   = br.ReadSingle();
     m_effectiveAngularSpeed  = br.ReadSingle();
     m_effectiveHorizontalAim = br.ReadSingle();
     m_effectiveVerticalAim   = br.ReadSingle();
     m_torsoTiltAngle         = br.ReadSingle();
     m_desiredAIMovementSpeed = br.ReadSingle();
     m_currentMaximumSpeed    = br.ReadSingle();
     m_stopRequest            = br.ReadBoolean();
     br.ReadUInt16();
     br.ReadByte();
     m_idleToMoveAnimIdx = br.ReadInt32();
     m_linearSpeed       = br.ReadSingle();
     m_angularSpeed      = br.ReadSingle();
     m_horizontalAim     = br.ReadSingle();
     m_verticalAim       = br.ReadSingle();
     m_rotationAllowed   = br.ReadBoolean();
     m_poseChangeAllowed = br.ReadBoolean();
     m_modifyLinearSpeed = br.ReadBoolean();
     br.ReadByte();
     m_poseIdx = br.ReadInt32();
     br.ReadUInt32();
     m_leftFootDownEvent = new hkbEventProperty();
     m_leftFootDownEvent.Read(des, br);
     m_rightFootDownEvent = new hkbEventProperty();
     m_rightFootDownEvent.Read(des, br);
     m_immediateStopEvent = new hkbEventProperty();
     m_immediateStopEvent.Read(des, br);
     m_rapidTurnEvent = new hkbEventProperty();
     m_rapidTurnEvent.Read(des, br);
     m_changeMovementDirectionEvent = new hkbEventProperty();
     m_changeMovementDirectionEvent.Read(des, br);
     m_changePoseEvent = new hkbEventProperty();
     m_changePoseEvent.Read(des, br);
     m_moveEvent = new hkbEventProperty();
     m_moveEvent.Read(des, br);
     m_stopEvent = new hkbEventProperty();
     m_stopEvent.Read(des, br);
     m_characterHasHalted = new hkbEventProperty();
     m_characterHasHalted.Read(des, br);
     m_moveVelocities = des.ReadSingleArray(br);
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
 }
Esempio n. 7
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_closeToGroundEvent = new hkbEventProperty();
     m_closeToGroundEvent.Read(des, br);
     m_closeToGroundHeight = br.ReadSingle();
     m_raycastDistanceDown = br.ReadSingle();
     m_collisionFilterInfo = br.ReadUInt32();
     m_boneIndex           = br.ReadInt16();
     m_animBoneIndex       = br.ReadInt16();
     br.ReadUInt64();
 }
Esempio n. 8
0
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_groundPosition  = des.ReadVector4(br);
     m_ungroundedEvent = new hkbEventProperty();
     m_ungroundedEvent.Read(des, br);
     m_verticalError = br.ReadSingle();
     m_hitSomething  = br.ReadBoolean();
     m_isPlantedMS   = br.ReadBoolean();
     m_enabled       = br.ReadBoolean();
     br.ReadUInt64();
     br.ReadByte();
 }
Esempio n. 9
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_targetOut  = des.ReadClassPointer <hkbpTarget>(br);
     m_targetMode = (TargetMode)br.ReadSByte();
     br.ReadUInt16();
     br.ReadByte();
     m_sensingLayer        = br.ReadInt32();
     m_targetOnlyOnce      = br.ReadBoolean();
     m_ignoreMySystemGroup = br.ReadBoolean();
     br.ReadUInt16();
     m_maxTargetDistance              = br.ReadSingle();
     m_maxTargetHeightAboveSensor     = br.ReadSingle();
     m_closeToTargetDistanceThreshold = br.ReadSingle();
     m_targetAngleMode    = (ComputeTargetAngleMode)br.ReadSByte();
     m_targetDistanceMode = (ComputeTargetDistanceMode)br.ReadSByte();
     br.ReadUInt16();
     m_maxAngleToTarget                = br.ReadSingle();
     m_sensorRagdollBoneIndex          = br.ReadInt16();
     m_sensorAnimationBoneIndex        = br.ReadInt16();
     m_closeToTargetRagdollBoneIndex   = br.ReadInt16();
     m_closeToTargetAnimationBoneIndex = br.ReadInt16();
     br.ReadUInt64();
     m_sensorOffsetInBoneSpace        = des.ReadVector4(br);
     m_closeToTargetOffsetInBoneSpace = des.ReadVector4(br);
     m_sensorDirectionBS = des.ReadVector4(br);
     m_eventMode         = (EventModeTRBAM)br.ReadSByte();
     br.ReadUInt16();
     br.ReadByte();
     m_sensingPropertyKey = br.ReadUInt32();
     m_sensorInWS         = br.ReadBoolean();
     br.ReadUInt32();
     br.ReadUInt16();
     br.ReadByte();
     m_eventToSend = new hkbEventProperty();
     m_eventToSend.Read(des, br);
     m_eventToSendToTarget = new hkbEventProperty();
     m_eventToSendToTarget.Read(des, br);
     m_closeToTargetEvent = new hkbEventProperty();
     m_closeToTargetEvent.Read(des, br);
     m_useVelocityPrediction = br.ReadBoolean();
     m_targetOnlySpheres     = br.ReadBoolean();
     m_isCloseToTargetOut    = br.ReadBoolean();
     m_targetPriority        = br.ReadSByte();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt32();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     br.ReadUInt64();
     m_directionOfFallForwardLS = des.ReadVector4(br);
     m_directionOfFallRightLS   = des.ReadVector4(br);
     m_directionOfFallUpLS      = des.ReadVector4(br);
     m_spineIndices             = des.ReadClassPointer <hkbBoneIndexArray>(br);
     m_leftHand = new hkbpCatchFallModifierHand();
     m_leftHand.Read(des, br);
     m_rightHand = new hkbpCatchFallModifierHand();
     m_rightHand.Read(des, br);
     br.ReadUInt32();
     m_catchFallDoneEvent = new hkbEventProperty();
     m_catchFallDoneEvent.Read(des, br);
     m_spreadHandsMultiplier           = br.ReadSingle();
     m_radarRange                      = br.ReadSingle();
     m_previousTargetBlendWeight       = br.ReadSingle();
     m_handsBendDistance               = br.ReadSingle();
     m_maxReachDistanceForward         = br.ReadSingle();
     m_maxReachDistanceBackward        = br.ReadSingle();
     m_fadeInReachGainSpeed            = br.ReadSingle();
     m_fadeOutReachGainSpeed           = br.ReadSingle();
     m_fadeOutDuration                 = br.ReadSingle();
     m_fadeInTwistSpeed                = br.ReadSingle();
     m_fadeOutTwistSpeed               = br.ReadSingle();
     m_raycastLayer                    = br.ReadInt16();
     m_velocityRagdollBoneIndex        = br.ReadInt16();
     m_directionOfFallRagdollBoneIndex = br.ReadInt16();
     m_orientHands                     = br.ReadBoolean();
     br.ReadUInt32();
     br.ReadByte();
     m_catchFallPosInBS_0    = des.ReadVector4(br);
     m_catchFallPosInBS_1    = des.ReadVector4(br);
     m_currentReachGain_0    = br.ReadSingle();
     m_currentReachGain_1    = br.ReadSingle();
     m_timeSinceLastModify   = br.ReadSingle();
     m_currentTwistGain      = br.ReadSingle();
     m_currentTwistDirection = br.ReadInt16();
     m_catchFallPosIsValid_0 = br.ReadBoolean();
     m_catchFallPosIsValid_1 = br.ReadBoolean();
     br.ReadUInt64();
     br.ReadUInt32();
 }
Esempio n. 11
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_targetIn                     = des.ReadClassPointer <hkbpTarget>(br);
     m_offsetInBoneSpace            = des.ReadVector4(br);
     m_alignAxisBS                  = des.ReadVector4(br);
     m_targetAlignAxisTS            = des.ReadVector4(br);
     m_alignWithCharacterForwardBS  = des.ReadVector4(br);
     m_currentBonePositionOut       = des.ReadVector4(br);
     m_currentBoneRotationOut       = des.ReadQuaternion(br);
     m_eventToSendWhenTargetReached = new hkbEventProperty();
     m_eventToSendWhenTargetReached.Read(des, br);
     m_childGenerator        = des.ReadClassPointer <hkbGenerator>(br);
     m_duration              = br.ReadSingle();
     m_ragdollBoneIndex      = br.ReadInt16();
     m_animationBoneIndex    = br.ReadInt16();
     m_targetMode            = (TargetModeMBTT)br.ReadSByte();
     m_alignMode             = br.ReadSByte();
     m_useVelocityPrediction = br.ReadBoolean();
     m_affectOrientation     = br.ReadBoolean();
     m_currentBoneIsValidOut = br.ReadBoolean();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt16();
     br.ReadByte();
     m_finalAnimBonePositionMS    = des.ReadVector4(br);
     m_initialAnimBonePositionMS  = des.ReadVector4(br);
     m_finalAnimBoneOrientationMS = des.ReadQuaternion(br);
     m_animationFromRagdoll       = des.ReadQuaternion(br);
     m_totalMotion       = des.ReadQSTransform(br);
     m_accumulatedMotion = des.ReadQSTransform(br);
     m_useAnimationData  = br.ReadBoolean();
     br.ReadUInt64();
     br.ReadUInt32();
     br.ReadUInt16();
     br.ReadByte();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_sendToAttacherOnAttach = new hkbEventProperty();
     m_sendToAttacherOnAttach.Read(des, br);
     m_sendToAttacheeOnAttach = new hkbEventProperty();
     m_sendToAttacheeOnAttach.Read(des, br);
     m_sendToAttacherOnDetach = new hkbEventProperty();
     m_sendToAttacherOnDetach.Read(des, br);
     m_sendToAttacheeOnDetach = new hkbEventProperty();
     m_sendToAttacheeOnDetach.Read(des, br);
     m_attachmentSetup = des.ReadClassPointer <hkbAttachmentSetup>(br);
     m_attacherHandle  = des.ReadClassPointer <hkbHandle>(br);
     m_attacheeHandle  = des.ReadClassPointer <hkbHandle>(br);
     m_attacheeLayer   = br.ReadInt32();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt32();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_child = des.ReadClassPointer <hkbGenerator>(br);
     m_desiredAIMovementMode  = br.ReadInt32();
     m_effectiveLinearSpeed   = br.ReadSingle();
     m_effectiveAngularSpeed  = br.ReadSingle();
     m_effectiveHorizontalAim = br.ReadSingle();
     m_effectiveVerticalAim   = br.ReadSingle();
     m_torsoTiltAngle         = br.ReadSingle();
     m_desiredAIMovementSpeed = br.ReadSingle();
     m_currentMaximumSpeed    = br.ReadSingle();
     m_linearSpeed            = br.ReadSingle();
     m_angularSpeed           = br.ReadSingle();
     m_horizontalAim          = br.ReadSingle();
     m_verticalAim            = br.ReadSingle();
     m_rotationSpeed          = br.ReadSingle();
     m_poseIdx         = br.ReadInt32();
     m_rotationAllowed = br.ReadInt32();
     br.ReadUInt32();
     m_leftFootDownEvent = new hkbEventProperty();
     m_leftFootDownEvent.Read(des, br);
     m_rightFootDownEvent = new hkbEventProperty();
     m_rightFootDownEvent.Read(des, br);
     m_immediateStopEvent = new hkbEventProperty();
     m_immediateStopEvent.Read(des, br);
     m_changePoseEvent = new hkbEventProperty();
     m_changePoseEvent.Read(des, br);
     m_moveEvent = new hkbEventProperty();
     m_moveEvent.Read(des, br);
     m_stopEvent = new hkbEventProperty();
     m_stopEvent.Read(des, br);
     m_moveVelocities = des.ReadSingleArray(br);
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
 }
Esempio n. 14
0
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_originalAnkleTransformMS = des.ReadQSTransform(br);
     m_kneeAxisLS      = des.ReadVector4(br);
     m_footEndLS       = des.ReadVector4(br);
     m_ungroundedEvent = new hkbEventProperty();
     m_ungroundedEvent.Read(des, br);
     m_footPlantedAnkleHeightMS = br.ReadSingle();
     m_footRaisedAnkleHeightMS  = br.ReadSingle();
     m_maxAnkleHeightMS         = br.ReadSingle();
     m_minAnkleHeightMS         = br.ReadSingle();
     m_maxKneeAngleDegrees      = br.ReadSingle();
     m_minKneeAngleDegrees      = br.ReadSingle();
     m_verticalError            = br.ReadSingle();
     m_hipIndex     = br.ReadInt16();
     m_kneeIndex    = br.ReadInt16();
     m_ankleIndex   = br.ReadInt16();
     m_hitSomething = br.ReadBoolean();
     m_isPlantedMS  = br.ReadBoolean();
     m_isOriginalAnkleTransformMSSet = br.ReadBoolean();
     br.ReadUInt64();
     br.ReadUInt16();
     br.ReadByte();
 }