public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_event = new hkbEvent();
     m_event.Read(des, br);
     m_time = br.ReadSingle();
     br.ReadUInt32();
 }
Exemple #2
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_eventToSendWhenStateOrTransitionChanges = new hkbEvent();
     m_eventToSendWhenStateOrTransitionChanges.Read(des, br);
     m_startStateIdSelector               = des.ReadClassPointer <hkbCustomIdSelector>(br);
     m_startStateId                       = br.ReadInt32();
     m_returnToPreviousStateEventId       = br.ReadInt32();
     m_randomTransitionEventId            = br.ReadInt32();
     m_transitionToNextHigherStateEventId = br.ReadInt32();
     m_transitionToNextLowerStateEventId  = br.ReadInt32();
     m_syncVariableIndex                  = br.ReadInt32();
     br.ReadUInt32();
     m_wrapAroundStateId          = br.ReadBoolean();
     m_maxSimultaneousTransitions = br.ReadSByte();
     m_startStateMode             = (StartStateMode)br.ReadSByte();
     m_selfTransitionMode         = (StateMachineSelfTransitionMode)br.ReadSByte();
     br.ReadUInt64();
     m_states = des.ReadClassPointerArray <hkbStateMachineStateInfo>(br);
     m_wildcardTransitions = des.ReadClassPointer <hkbStateMachineTransitionInfoArray>(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();
 }
Exemple #3
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_playbackSpeed = br.ReadSingle();
     m_mode          = (PlaybackMode)br.ReadSByte();
     br.ReadUInt16();
     br.ReadByte();
     m_animId            = br.ReadInt32();
     m_animeEndEventType = (AnimeEndEventType)br.ReadInt32();
     m_endEvent          = new hkbEvent();
     m_endEvent.Read(des, br);
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     m_cropStartAmountLocalTime = br.ReadSingle();
     m_cropEndAmountLocalTime   = br.ReadSingle();
     m_startTime        = br.ReadSingle();
     m_enforcedDuration = br.ReadSingle();
     m_flags            = br.ReadSByte();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt32();
     br.ReadUInt16();
     br.ReadByte();
 }
Exemple #4
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_ragdollLeftFootBoneIndex  = br.ReadInt16();
     m_ragdollRightFootBoneIndex = br.ReadInt16();
     m_balanceOnAnklesFraction   = br.ReadSingle();
     m_eventToSendWhenOffBalance = new hkbEvent();
     m_eventToSendWhenOffBalance.Read(des, br);
     m_offBalanceEventThreshold = br.ReadSingle();
     m_worldUpAxisIndex         = br.ReadInt32();
     m_comBiasX           = br.ReadSingle();
     m_extractRagdollPose = br.ReadBoolean();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt16();
     br.ReadByte();
 }