Пример #1
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     br.ReadUInt16();
     m_numSolverResults = br.ReadInt32();
     m_constraintData   = des.ReadClassPointer <hkpConstraintData>(br);
     br.ReadUInt64();
 }
Пример #2
0
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_constraintData = des.ReadClassPointer <hkpConstraintData>(br);
     m_bodyA          = br.ReadUInt32();
     m_bodyB          = br.ReadUInt32();
     m_flags          = br.ReadByte();
     br.ReadUInt32();
     br.ReadUInt16();
     br.ReadByte();
 }
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_bodyIdA = br.ReadUInt32();
     m_bodyIdB = br.ReadUInt32();
     m_data    = des.ReadClassPointer <hkpConstraintData>(br);
     m_id      = br.ReadUInt32();
     br.ReadUInt16();
     m_flags = br.ReadByte();
     m_type  = (ConstraintType)br.ReadByte();
     br.ReadUInt64();
     m_sizeOfAtoms        = br.ReadUInt16();
     m_sizeOfSchemas      = br.ReadUInt16();
     m_numSolverResults   = br.ReadByte();
     m_numSolverElemTemps = br.ReadByte();
     m_runtimeSize        = br.ReadUInt16();
     br.ReadUInt64();
     m_userData = br.ReadUInt64();
 }
Пример #4
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     br.ReadUInt64();
     m_data = des.ReadClassPointer <hkpConstraintData>(br);
     m_constraintModifiers  = des.ReadClassPointer <hkpModifierConstraintAtom>(br);
     m_entities_0           = des.ReadClassPointer <hkpEntity>(br);
     m_entities_1           = des.ReadClassPointer <hkpEntity>(br);
     m_priority             = (ConstraintPriority)br.ReadByte();
     m_wantRuntime          = br.ReadBoolean();
     m_destructionRemapInfo = (OnDestructionRemapInfo)br.ReadByte();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt32();
     br.ReadByte();
     m_name     = des.ReadStringPointer(br);
     m_userData = br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_constraintData = des.ReadClassPointer <hkpConstraintData>(br);
 }