예제 #1
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_handle            = des.ReadClassPointer <hkbHandle>(br);
     m_handlePositionOut = des.ReadVector4(br);
     m_handleRotationOut = des.ReadQuaternion(br);
     m_isValidOut        = br.ReadBoolean();
     br.ReadUInt16();
     br.ReadByte();
     m_extrapolationTimeStep = br.ReadSingle();
     m_handleChangeSpeed     = br.ReadSingle();
     m_handleChangeMode      = (HandleChangeMode)br.ReadSByte();
     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.ReadUInt16();
     br.ReadByte();
 }
예제 #2
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     m_sensorLocalOffset         = des.ReadVector4(br);
     m_ranges                    = des.ReadClassArray <hkbSenseHandleModifierRange>(br);
     m_handleOut                 = des.ReadClassPointer <hkbHandle>(br);
     m_handleIn                  = des.ReadClassPointer <hkbHandle>(br);
     m_localFrameName            = des.ReadStringPointer(br);
     m_sensorLocalFrameName      = des.ReadStringPointer(br);
     m_minDistance               = br.ReadSingle();
     m_maxDistance               = br.ReadSingle();
     m_distanceOut               = br.ReadSingle();
     m_collisionFilterInfo       = br.ReadUInt32();
     m_sensorRagdollBoneIndex    = br.ReadInt16();
     m_sensorAnimationBoneIndex  = br.ReadInt16();
     m_sensingMode               = (SensingMode)br.ReadSByte();
     m_extrapolateSensorPosition = br.ReadBoolean();
     m_keepFirstSensedHandle     = br.ReadBoolean();
     m_foundHandleOut            = br.ReadBoolean();
     br.ReadUInt64();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_handleOut          = des.ReadClassPointer <hkbHandle>(br);
     m_localFrameName     = des.ReadStringPointer(br);
     m_ragdollBoneIndex   = br.ReadInt16();
     m_animationBoneIndex = br.ReadInt16();
     br.ReadUInt32();
 }
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_targetPosition        = des.ReadVector4(br);
     m_targetRotation        = des.ReadQuaternion(br);
     m_targetNormal          = des.ReadVector4(br);
     m_targetHandle          = des.ReadClassPointer <hkbHandle>(br);
     m_transformOnFraction   = br.ReadSingle();
     m_normalOnFraction      = br.ReadSingle();
     m_fadeInDuration        = br.ReadSingle();
     m_fadeOutDuration       = br.ReadSingle();
     m_extrapolationTimeStep = br.ReadSingle();
     m_handleChangeSpeed     = br.ReadSingle();
     m_handleChangeMode      = (HandleChangeMode)br.ReadSByte();
     m_fixUp = br.ReadBoolean();
     br.ReadUInt64();
     br.ReadUInt32();
     br.ReadUInt16();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_sendToAttacherOnAttach = new hkbEventProperty();
     m_sendToAttacherOnAttach.Read(des, br);
     m_sendToAttacheeOnAttach = new hkbEventProperty();
     m_sendToAttacheeOnAttach.Read(des, br);
     m_sendToAttacherOnDetach = new hkbEventProperty();
     m_sendToAttacherOnDetach.Read(des, br);
     m_sendToAttacheeOnDetach = new hkbEventProperty();
     m_sendToAttacheeOnDetach.Read(des, br);
     m_attachmentSetup = des.ReadClassPointer <hkbAttachmentSetup>(br);
     m_attacherHandle  = des.ReadClassPointer <hkbHandle>(br);
     m_attacheeHandle  = des.ReadClassPointer <hkbHandle>(br);
     m_attacheeLayer   = br.ReadInt32();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt32();
 }