public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteInt32(m_activateEventId);
     bw.WriteUInt32(0);
     s.WriteStringPointer(bw, m_attachment);
     s.WriteStringPointer(bw, m_localFrame);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     bw.WriteInt32(m_originalNumFaces);
     bw.WriteInt32(m_originalNumEdges);
     bw.WriteInt32(m_originalNumVertices);
     bw.WriteUInt32(0);
     s.WriteInt32Array(bw, m_magic);
 }
Esempio n. 3
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkbGenerator>(bw, m_generator);
     bw.WriteSingle(m_weight);
     bw.WriteUInt32(0);
     s.WriteClassPointer <hkbBoneWeightArray>(bw, m_boneWeights);
     bw.WriteSingle(m_fadeInDuration);
     bw.WriteSingle(m_fadeOutDuration);
     bw.WriteInt32(m_onEventId);
     bw.WriteInt32(m_offEventId);
     bw.WriteBoolean(m_onByDefault);
     bw.WriteBoolean(m_useMotion);
     bw.WriteBoolean(m_forceFullFadeDurations);
     bw.WriteUInt32(0);
     bw.WriteByte(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteByte(m_copyToPivotBFromPivotA);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteByte(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteBoolean(m_isActive);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
Esempio n. 6
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     m_obbA.Write(s, bw);
     m_obbB.Write(s, bw);
     bw.WriteUInt32(m_userDataA);
     bw.WriteUInt32(m_userDataB);
     bw.WriteSingle(m_costAtoB);
     bw.WriteSingle(m_costBtoA);
     s.WriteVector4(bw, m_worldUpA);
     s.WriteVector4(bw, m_worldUpB);
     bw.WriteByte((byte)m_direction);
     bw.WriteByte((byte)m_space);
     bw.WriteBoolean(m_forceAlign);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteByte(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteInt16(m_currentGeneratorIndex);
     bw.WriteInt16(m_generatorIndexAtActivate);
     bw.WriteUInt32(0);
     s.WriteClassArray <hkbStateMachineActiveTransitionInfo>(bw, m_activeTransitions);
 }
Esempio n. 8
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);
     bw.WriteSingle(m_alarmTimeSeconds);
     bw.WriteUInt32(0);
     m_alarmEvent.Write(s, bw);
     bw.WriteUInt64(0);
 }
Esempio n. 10
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(m_characterId);
     s.WriteInt16Array(bw, m_externalEventIds);
     bw.WriteInt32(m_padding);
     bw.WriteUInt32(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkpConvexPieceStreamData>(bw, m_convexPieceStream);
     s.WriteClassPointer <hkpShapeCollection>(bw, m_displayMesh);
     bw.WriteSingle(m_radius);
     bw.WriteUInt32(0);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteStringPointer(bw, m_name);
     bw.WriteBoolean(m_value);
     bw.WriteBoolean(m_tweakOn);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
 }
Esempio n. 13
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteByte((byte)m_type);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     bw.WriteUInt64(0);
     bw.WriteUInt16(0);
     bw.WriteByte(m_eventFilter);
     bw.WriteByte(m_userFilter);
     bw.WriteUInt32(0);
 }
Esempio n. 15
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteStringPointer(bw, m_behaviorName);
     s.WriteStringPointer(bw, m_nodeName);
     bw.WriteUInt16((ushort)m_toolType);
     bw.WriteUInt16(m_id);
     bw.WriteUInt32(0);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteStringPointer(bw, m_name);
     s.WriteClassPointer <hknpRefMaterial>(bw, m_material);
     bw.WriteUInt16(m_materialId);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
 }
Esempio n. 17
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassArray <hkcdDynamicTreeCodec32>(bw, m_nodes);
     bw.WriteUInt16(m_firstFree);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
 }
Esempio n. 18
0
 public static void Write(BinaryWriterEx bw, uint layer)
 {
     bw.WriteInt32(2);
     bw.WriteUInt32(layer);
     bw.WriteVarint(0);
     bw.WriteVarint(-1);
     bw.WriteVarint(1);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     bw.WriteUInt32(m_boneMask_0);
     bw.WriteUInt32(m_boneMask_1);
     bw.WriteUInt32(m_boneMask_2);
     bw.WriteUInt32(m_boneMask_3);
     bw.WriteUInt32(m_boneMask_4);
     bw.WriteUInt32(m_boneMask_5);
     bw.WriteUInt32(m_boneMask_6);
     bw.WriteUInt32(m_boneMask_7);
     bw.WriteUInt32(m_partitionMask_0);
     bw.WriteInt16(m_numBones);
     bw.WriteInt16(m_numMaxPartitions);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteSingle(m_velocityThreshold);
     bw.WriteUInt32(0);
     s.WriteClassPointer <hkpRigidBody>(bw, m_rigidBody);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
 }
Esempio n. 21
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteSByte(m_type);
     bw.WriteByte(0);
     bw.WriteSByte(m_objectQualityType);
     bw.WriteByte(0);
     bw.WriteUInt32(m_collisionFilterInfo);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteSingle(m_time);
     bw.WriteUInt32(0);
     m_vertData.Write(s, bw);
     s.WriteInt32Array(bw, m_vertexIndexMap);
     s.WriteClassArray <hkxVertexAnimationUsageMap>(bw, m_componentMap);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(0);
     m_controlData.Write(s, bw);
     s.WriteClassPointer <hkbBoneIndexArray>(bw, m_bones);
     bw.WriteSingle(m_animationBlendFraction);
     bw.WriteUInt32(0);
 }
Esempio n. 24
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassArray <hkaiEdgeGeometryEdge>(bw, m_edges);
     s.WriteClassArray <hkaiEdgeGeometryFace>(bw, m_faces);
     s.WriteVector4Array(bw, m_vertices);
     m_zeroFace.Write(s, bw);
     bw.WriteUInt32(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteSingleArray(bw, m_perVertexFloats);
     bw.WriteByte((byte)m_dimensions);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteSingle(m_velocityThreshold);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteBoolean(m_protectedHiddenMember);
     bw.WriteBoolean(m_privateHiddenMember);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     s.WriteClassPointer <hkaiNavVolume>(bw, m_originalVolume);
     s.WriteInt32Array(bw, m_cellMap);
     s.WriteClassArray <hkaiNavVolumeInstanceCellInstance>(bw, m_instancedCells);
     s.WriteClassArray <hkaiNavVolumeEdge>(bw, m_ownedEdges);
     bw.WriteUInt32(m_sectionUid);
     bw.WriteInt32(m_runtimeId);
     bw.WriteUInt32(m_layer);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     s.WriteVector4(bw, m_translation);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkaiStreamingCollection>(bw, m_collection);
     s.WriteClassPointer <hkcdDynamicAabbTree>(bw, m_aabbTree);
     s.WriteClassPointer <hkaiNavMeshCutter>(bw, m_cutter);
     bw.WriteSingle(m_cutAabbTolerance);
     bw.WriteUInt32(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteByte(m_axisIndex);
     bw.WriteByte(0);
     bw.WriteSingle(m_tau);
     bw.WriteSingle(m_damping);
     bw.WriteUInt32(0);
 }