Beispiel #1
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_nestedTypeHkbGeneratorPtr           = des.ReadClassPointer <hkbGenerator>(br);
     m_nestedTypeHkbGeneratorRefPtr        = des.ReadClassPointer <hkbGenerator>(br);
     m_nestedTypeHkbModifierPtr            = des.ReadClassPointer <hkbModifier>(br);
     m_nestedTypeHkbModifierRefPtr         = des.ReadClassPointer <hkbModifier>(br);
     m_nestedTypeHkbCustomIdSelectorPtr    = des.ReadClassPointer <hkbCustomIdSelector>(br);
     m_nestedTypeHkbCustomIdSelectorRefPtr = des.ReadClassPointer <hkbCustomIdSelector>(br);
     m_nestedTypeArrayBool                      = des.ReadBooleanArray(br);
     m_nestedTypeArrayHkBool                    = des.ReadBooleanArray(br);
     m_nestedTypeArrayCString                   = des.ReadStringPointerArray(br);
     m_nestedTypeArrayHkStringPtr               = des.ReadStringPointerArray(br);
     m_nestedTypeArrayHkInt8                    = des.ReadSByteArray(br);
     m_nestedTypeArrayHkInt16                   = des.ReadInt16Array(br);
     m_nestedTypeArrayHkInt32                   = des.ReadInt32Array(br);
     m_nestedTypeArrayHkUint8                   = des.ReadByteArray(br);
     m_nestedTypeArrayHkUint16                  = des.ReadUInt16Array(br);
     m_nestedTypeArrayHkUint32                  = des.ReadUInt32Array(br);
     m_nestedTypeArrayHkReal                    = des.ReadSingleArray(br);
     m_nestedTypeArrayHkbGeneratorPtr           = des.ReadClassPointerArray <hkbGenerator>(br);
     m_nestedTypeArrayHkbGeneratorRefPtr        = des.ReadClassPointerArray <hkbGenerator>(br);
     m_nestedTypeArrayHkbModifierPtr            = des.ReadClassPointerArray <hkbModifier>(br);
     m_nestedTypeArrayHkbModifierRefPtr         = des.ReadClassPointerArray <hkbModifier>(br);
     m_nestedTypeArrayHkbCustomIdSelectorPtr    = des.ReadClassPointerArray <hkbCustomIdSelector>(br);
     m_nestedTypeArrayHkbCustomIdSelectorRefPtr = des.ReadClassPointerArray <hkbCustomIdSelector>(br);
 }
Beispiel #2
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_generator            = des.ReadClassPointer <hkbGenerator>(br);
     m_boneWeights          = des.ReadClassPointer <hkbBoneWeightArray>(br);
     m_weight               = br.ReadSingle();
     m_worldFromModelWeight = br.ReadSingle();
     br.ReadUInt64();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_referenceFrameGenerator = des.ReadClassPointer <hkbGenerator>(br);
     m_pinnedGenerator         = des.ReadClassPointer <hkbGenerator>(br);
     m_boneIndices             = des.ReadClassPointer <hkbBoneIndexArray>(br);
     m_fraction = br.ReadSingle();
     br.ReadUInt32();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_generator  = des.ReadClassPointer <hkbGenerator>(br);
     m_offsetType = (OffsetType)br.ReadInt32();
     m_taeId      = br.ReadInt32();
     m_valIndex   = br.ReadInt32();
     m_valRate    = br.ReadSingle();
     br.ReadUInt64();
     br.ReadUInt64();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_child            = des.ReadClassPointer <hkbGenerator>(br);
     m_autoTurnsAllowed = br.ReadBoolean();
     br.ReadUInt16();
     br.ReadByte();
     m_desiredAIMovementMode  = br.ReadInt32();
     m_effectiveLinearSpeed   = br.ReadSingle();
     m_effectiveAngularSpeed  = br.ReadSingle();
     m_effectiveHorizontalAim = br.ReadSingle();
     m_effectiveVerticalAim   = br.ReadSingle();
     m_torsoTiltAngle         = br.ReadSingle();
     m_desiredAIMovementSpeed = br.ReadSingle();
     m_currentMaximumSpeed    = br.ReadSingle();
     m_stopRequest            = br.ReadBoolean();
     br.ReadUInt16();
     br.ReadByte();
     m_idleToMoveAnimIdx = br.ReadInt32();
     m_linearSpeed       = br.ReadSingle();
     m_angularSpeed      = br.ReadSingle();
     m_horizontalAim     = br.ReadSingle();
     m_verticalAim       = br.ReadSingle();
     m_rotationAllowed   = br.ReadBoolean();
     m_poseChangeAllowed = br.ReadBoolean();
     m_modifyLinearSpeed = br.ReadBoolean();
     br.ReadByte();
     m_poseIdx = br.ReadInt32();
     br.ReadUInt32();
     m_leftFootDownEvent = new hkbEventProperty();
     m_leftFootDownEvent.Read(des, br);
     m_rightFootDownEvent = new hkbEventProperty();
     m_rightFootDownEvent.Read(des, br);
     m_immediateStopEvent = new hkbEventProperty();
     m_immediateStopEvent.Read(des, br);
     m_rapidTurnEvent = new hkbEventProperty();
     m_rapidTurnEvent.Read(des, br);
     m_changeMovementDirectionEvent = new hkbEventProperty();
     m_changeMovementDirectionEvent.Read(des, br);
     m_changePoseEvent = new hkbEventProperty();
     m_changePoseEvent.Read(des, br);
     m_moveEvent = new hkbEventProperty();
     m_moveEvent.Read(des, br);
     m_stopEvent = new hkbEventProperty();
     m_stopEvent.Read(des, br);
     m_characterHasHalted = new hkbEventProperty();
     m_characterHasHalted.Read(des, br);
     m_moveVelocities = des.ReadSingleArray(br);
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
 }
Beispiel #6
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_child               = des.ReadClassPointer <hkbGenerator>(br);
     m_onActivateScript    = des.ReadStringPointer(br);
     m_onPreUpdateScript   = des.ReadStringPointer(br);
     m_onGenerateScript    = des.ReadStringPointer(br);
     m_onHandleEventScript = des.ReadStringPointer(br);
     m_onDeactivateScript  = des.ReadStringPointer(br);
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
 }
Beispiel #7
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_transitionGenerator      = des.ReadClassPointer <hkbGenerator>(br);
     m_blendInDuration          = br.ReadSingle();
     m_blendOutDuration         = br.ReadSingle();
     m_syncToGeneratorStartTime = br.ReadBoolean();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt32();
     br.ReadUInt16();
     br.ReadByte();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_characterId         = br.ReadUInt64();
     m_behavior            = des.ReadClassPointer <hkbBehaviorGraph>(br);
     m_rootGenerator       = des.ReadClassPointer <hkbGenerator>(br);
     m_referencedBehaviors = des.ReadClassPointerArray <hkbBehaviorGraph>(br);
     m_startStateIndex     = br.ReadInt32();
     m_randomizeSimulation = br.ReadBoolean();
     br.ReadUInt16();
     br.ReadByte();
     m_padding = br.ReadInt32();
     br.ReadUInt32();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_listeners         = des.ReadClassPointerArray <hkbStateListener>(br);
     m_enterNotifyEvents = des.ReadClassPointer <hkbStateMachineEventPropertyArray>(br);
     m_exitNotifyEvents  = des.ReadClassPointer <hkbStateMachineEventPropertyArray>(br);
     m_transitions       = des.ReadClassPointer <hkbStateMachineTransitionInfoArray>(br);
     m_generator         = des.ReadClassPointer <hkbGenerator>(br);
     m_name        = des.ReadStringPointer(br);
     m_stateId     = br.ReadInt32();
     m_probability = br.ReadSingle();
     m_enable      = br.ReadBoolean();
     br.ReadUInt32();
     br.ReadUInt16();
     br.ReadByte();
 }
Beispiel #10
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_generator = des.ReadClassPointer <hkbGenerator>(br);
     m_weight    = br.ReadSingle();
     br.ReadUInt32();
     m_boneWeights            = des.ReadClassPointer <hkbBoneWeightArray>(br);
     m_fadeInDuration         = br.ReadSingle();
     m_fadeOutDuration        = br.ReadSingle();
     m_onEventId              = br.ReadInt32();
     m_offEventId             = br.ReadInt32();
     m_onByDefault            = br.ReadBoolean();
     m_useMotion              = br.ReadBoolean();
     m_forceFullFadeDurations = br.ReadBoolean();
     br.ReadUInt32();
     br.ReadByte();
 }
 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();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_dockingBone = br.ReadInt16();
     br.ReadUInt32();
     br.ReadUInt16();
     m_translationOffset = des.ReadVector4(br);
     m_rotationOffset    = des.ReadQuaternion(br);
     m_blendType         = (BlendType)br.ReadSByte();
     br.ReadByte();
     m_flags = br.ReadUInt16();
     br.ReadUInt32();
     m_child         = des.ReadClassPointer <hkbGenerator>(br);
     m_intervalStart = br.ReadInt32();
     m_intervalEnd   = br.ReadInt32();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
 }
Beispiel #13
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_targetIn                     = des.ReadClassPointer <hkbpTarget>(br);
     m_offsetInBoneSpace            = des.ReadVector4(br);
     m_alignAxisBS                  = des.ReadVector4(br);
     m_targetAlignAxisTS            = des.ReadVector4(br);
     m_alignWithCharacterForwardBS  = des.ReadVector4(br);
     m_currentBonePositionOut       = des.ReadVector4(br);
     m_currentBoneRotationOut       = des.ReadQuaternion(br);
     m_eventToSendWhenTargetReached = new hkbEventProperty();
     m_eventToSendWhenTargetReached.Read(des, br);
     m_childGenerator        = des.ReadClassPointer <hkbGenerator>(br);
     m_duration              = br.ReadSingle();
     m_ragdollBoneIndex      = br.ReadInt16();
     m_animationBoneIndex    = br.ReadInt16();
     m_targetMode            = (TargetModeMBTT)br.ReadSByte();
     m_alignMode             = br.ReadSByte();
     m_useVelocityPrediction = br.ReadBoolean();
     m_affectOrientation     = br.ReadBoolean();
     m_currentBoneIsValidOut = br.ReadBoolean();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt16();
     br.ReadByte();
     m_finalAnimBonePositionMS    = des.ReadVector4(br);
     m_initialAnimBonePositionMS  = des.ReadVector4(br);
     m_finalAnimBoneOrientationMS = des.ReadQuaternion(br);
     m_animationFromRagdoll       = des.ReadQuaternion(br);
     m_totalMotion       = des.ReadQSTransform(br);
     m_accumulatedMotion = des.ReadQSTransform(br);
     m_useAnimationData  = br.ReadBoolean();
     br.ReadUInt64();
     br.ReadUInt32();
     br.ReadUInt16();
     br.ReadByte();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_child = des.ReadClassPointer <hkbGenerator>(br);
     m_desiredAIMovementMode  = br.ReadInt32();
     m_effectiveLinearSpeed   = br.ReadSingle();
     m_effectiveAngularSpeed  = br.ReadSingle();
     m_effectiveHorizontalAim = br.ReadSingle();
     m_effectiveVerticalAim   = br.ReadSingle();
     m_torsoTiltAngle         = br.ReadSingle();
     m_desiredAIMovementSpeed = br.ReadSingle();
     m_currentMaximumSpeed    = br.ReadSingle();
     m_linearSpeed            = br.ReadSingle();
     m_angularSpeed           = br.ReadSingle();
     m_horizontalAim          = br.ReadSingle();
     m_verticalAim            = br.ReadSingle();
     m_rotationSpeed          = br.ReadSingle();
     m_poseIdx         = br.ReadInt32();
     m_rotationAllowed = br.ReadInt32();
     br.ReadUInt32();
     m_leftFootDownEvent = new hkbEventProperty();
     m_leftFootDownEvent.Read(des, br);
     m_rightFootDownEvent = new hkbEventProperty();
     m_rightFootDownEvent.Read(des, br);
     m_immediateStopEvent = new hkbEventProperty();
     m_immediateStopEvent.Read(des, br);
     m_changePoseEvent = new hkbEventProperty();
     m_changePoseEvent.Read(des, br);
     m_moveEvent = new hkbEventProperty();
     m_moveEvent.Read(des, br);
     m_stopEvent = new hkbEventProperty();
     m_stopEvent.Read(des, br);
     m_moveVelocities = des.ReadSingleArray(br);
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
 }
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_generator   = des.ReadClassPointer <hkbGenerator>(br);
     m_angle       = br.ReadSingle();
     m_radialSpeed = br.ReadSingle();
 }
Beispiel #16
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_modifier  = des.ReadClassPointer <hkbModifier>(br);
     m_generator = des.ReadClassPointer <hkbGenerator>(br);
 }