Example #1
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_deformableSkinIds     = des.ReadUInt64Array(br);
     m_rigidSkinIds          = des.ReadUInt64Array(br);
     m_externalEventIds      = des.ReadInt16Array(br);
     m_auxiliaryInfo         = des.ReadClassPointerArray <hkbAuxiliaryNodeInfo>(br);
     m_activeEventIds        = des.ReadInt16Array(br);
     m_activeVariableIds     = des.ReadInt16Array(br);
     m_characterId           = br.ReadUInt64();
     m_instanceName          = des.ReadStringPointer(br);
     m_templateName          = des.ReadStringPointer(br);
     m_fullPathToProject     = des.ReadStringPointer(br);
     m_localScriptsPath      = des.ReadStringPointer(br);
     m_remoteScriptsPath     = des.ReadStringPointer(br);
     m_behaviorData          = des.ReadClassPointer <hkbBehaviorGraphData>(br);
     m_behaviorInternalState = des.ReadClassPointer <hkbBehaviorGraphInternalState>(br);
     br.ReadUInt64();
     m_visible = br.ReadBoolean();
     br.ReadUInt16();
     br.ReadByte();
     m_elapsedSimulationTime = br.ReadSingle();
     m_skeleton = des.ReadClassPointer <hkaSkeleton>(br);
     br.ReadUInt64();
     m_worldFromModel            = des.ReadQSTransform(br);
     m_poseModelSpace            = des.ReadQSTransformArray(br);
     m_rigidAttachmentTransforms = des.ReadQSTransformArray(br);
 }
Example #2
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_characterId   = br.ReadUInt64();
     m_data          = des.ReadClassPointer <hkbBehaviorGraphData>(br);
     m_idToNamePairs = des.ReadClassArray <hkbBehaviorInfoIdToNamePair>(br);
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_variableMode = (VariableMode)br.ReadSByte();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt32();
     br.ReadUInt16();
     br.ReadByte();
     m_rootGenerator = des.ReadClassPointer <hkbGenerator>(br);
     m_data          = des.ReadClassPointer <hkbBehaviorGraphData>(br);
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
 }