Ejemplo n.º 1
0
 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);
     bw.WriteUInt64(m_characterId);
     s.WriteUInt64Array(bw, m_deformableSkins);
     s.WriteUInt64Array(bw, m_rigidSkins);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteUInt32Array(bw, m_packedVertices);
     s.WriteUInt64Array(bw, m_sharedVertices);
     s.WriteClassArray <hknpCompressedMeshShapeTreeDataRun>(bw, m_primitiveDataRuns);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteUInt64Array(bw, m_elem);
     bw.WriteInt32(m_numElems);
     bw.WriteUInt32(0);
 }