public virtual void Write(PackFileSerializer s, BinaryWriterEx bw) { bw.WriteInt16(m_startBoneA); bw.WriteInt16(m_endBoneA); bw.WriteInt16(m_startBoneB); bw.WriteInt16(m_endBoneB); bw.WriteUInt64(0); s.WriteQSTransform(bw, m_startAFromBTransform); s.WriteQSTransform(bw, m_endAFromBTransform); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteUInt64Array(bw, m_deformableSkinIds); s.WriteUInt64Array(bw, m_rigidSkinIds); s.WriteInt16Array(bw, m_externalEventIds); s.WriteClassPointerArray <hkbAuxiliaryNodeInfo>(bw, m_auxiliaryInfo); s.WriteInt16Array(bw, m_activeEventIds); s.WriteInt16Array(bw, m_activeVariableIds); bw.WriteUInt64(m_characterId); s.WriteStringPointer(bw, m_instanceName); s.WriteStringPointer(bw, m_templateName); s.WriteStringPointer(bw, m_fullPathToProject); s.WriteStringPointer(bw, m_localScriptsPath); s.WriteStringPointer(bw, m_remoteScriptsPath); s.WriteClassPointer <hkbBehaviorGraphData>(bw, m_behaviorData); s.WriteClassPointer <hkbBehaviorGraphInternalState>(bw, m_behaviorInternalState); bw.WriteUInt64(0); bw.WriteBoolean(m_visible); bw.WriteUInt16(0); bw.WriteByte(0); bw.WriteSingle(m_elapsedSimulationTime); s.WriteClassPointer <hkaSkeleton>(bw, m_skeleton); bw.WriteUInt64(0); s.WriteQSTransform(bw, m_worldFromModel); s.WriteQSTransformArray(bw, m_poseModelSpace); s.WriteQSTransformArray(bw, m_rigidAttachmentTransforms); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); m_fromGeneratorSyncInfo.Write(s, bw); m_fromGeneratorPartitionInfo.Write(s, bw); bw.WriteUInt32(0); s.WriteQSTransform(bw, m_worldFromModel); s.WriteQSTransform(bw, m_motion); s.WriteQSTransformArray(bw, m_pose); s.WriteQSTransformArray(bw, m_additivePose); s.WriteSingleArray(bw, m_boneWeights); bw.WriteSingle(m_toGeneratorDuration); bw.WriteBoolean(m_isFromGeneratorActive); bw.WriteBoolean(m_gotPose); bw.WriteBoolean(m_gotAdditivePose); bw.WriteUInt64(0); bw.WriteByte(0); }
public virtual void Write(PackFileSerializer s, BinaryWriterEx bw) { s.WriteQSTransform(bw, m_transform); s.WriteClassPointer <hkpShape>(bw, m_shape); bw.WriteUInt32(m_filterInfo); bw.WriteUInt32(m_childFilterInfoMask); bw.WriteUInt64(m_userData); bw.WriteUInt64(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); bw.WriteUInt64(m_characterId); bw.WriteSingle(m_deltaTime); bw.WriteUInt32(0); s.WriteQSTransform(bw, m_worldFromModel); s.WriteQSTransformArray(bw, m_poseModelSpace); s.WriteQSTransformArray(bw, m_rigidAttachmentTransforms); }
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); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteClassPointer <hkbNode>(bw, m_node); s.WriteQSTransformArray(bw, m_pose); bw.WriteUInt64(0); s.WriteQSTransform(bw, m_worldFromModel); bw.WriteBoolean(m_isPoseValid); bw.WriteUInt64(0); bw.WriteUInt32(0); bw.WriteUInt16(0); bw.WriteByte(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); bw.WriteUInt64(m_characterId); s.WriteStringPointer(bw, m_instanceName); s.WriteStringPointer(bw, m_templateName); s.WriteStringPointer(bw, m_fullPathToProject); s.WriteStringPointer(bw, m_localScriptsPath); s.WriteStringPointer(bw, m_remoteScriptsPath); s.WriteClassPointer <hkaSkeleton>(bw, m_skeleton); bw.WriteUInt64(0); s.WriteQSTransform(bw, m_worldFromModel); s.WriteQSTransformArray(bw, m_poseModelSpace); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteQSTransform(bw, m_extractedMotion); s.WriteClassArray <hkbClipGeneratorEcho>(bw, m_echos); bw.WriteSingle(m_localTime); bw.WriteSingle(m_time); bw.WriteSingle(m_previousUserControlledTimeFraction); bw.WriteInt32(m_bufferSize); bw.WriteBoolean(m_atEnd); bw.WriteBoolean(m_ignoreStartTime); bw.WriteBoolean(m_pingPongBackward); bw.WriteUInt64(0); bw.WriteUInt32(0); bw.WriteByte(0); }
public virtual void Write(PackFileSerializer s, BinaryWriterEx bw) { s.WriteClassPointer <hkaSkeleton>(bw, m_skeletonA); s.WriteClassPointer <hkaSkeleton>(bw, m_skeletonB); s.WriteInt16Array(bw, m_partitionMap); s.WriteClassArray <hkaSkeletonMapperDataPartitionMappingRange>(bw, m_simpleMappingPartitionRanges); s.WriteClassArray <hkaSkeletonMapperDataPartitionMappingRange>(bw, m_chainMappingPartitionRanges); s.WriteClassArray <hkaSkeletonMapperDataSimpleMapping>(bw, m_simpleMappings); s.WriteClassArray <hkaSkeletonMapperDataChainMapping>(bw, m_chainMappings); s.WriteInt16Array(bw, m_unmappedBones); s.WriteQSTransform(bw, m_extractedMotionMapping); bw.WriteBoolean(m_keepUnmappedLocal); bw.WriteUInt16(0); bw.WriteByte(0); bw.WriteInt32((int)m_mappingType); bw.WriteUInt64(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); bw.WriteInt32(m_numTriangleShapes); bw.WriteUInt64(0); bw.WriteUInt32(0); bw.WriteInt32(m_numVertices); bw.WriteUInt64(0); bw.WriteUInt32(0); bw.WriteUInt16(m_vertexStriding); bw.WriteUInt16(0); bw.WriteInt32(m_triangleOffset); bw.WriteUInt16(m_indexStriding); bw.WriteSByte((sbyte)m_stridingType); bw.WriteSByte(m_flipAlternateTriangles); bw.WriteUInt32(0); s.WriteVector4(bw, m_extrusion); s.WriteQSTransform(bw, m_transform); }
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); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteQSTransform(bw, m_transform); s.WriteVector4(bw, m_extraScale); }