Beispiel #1
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();
 }
Beispiel #2
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 #3
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_transitionEffects = des.ReadClassPointerArray <hkbTransitionEffect>(br);
     m_selectedIndex     = br.ReadByte();
     br.ReadUInt32();
     br.ReadUInt16();
     br.ReadByte();
     m_indexSelector = des.ReadClassPointer <hkbCustomIdSelector>(br);
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
 }
Beispiel #4
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_generators             = des.ReadClassPointerArray <hkbGenerator>(br);
     m_selectedGeneratorIndex = br.ReadInt16();
     br.ReadUInt32();
     br.ReadUInt16();
     m_indexSelector = des.ReadClassPointer <hkbCustomIdSelector>(br);
     m_selectedIndexCanChangeAfterActivate = br.ReadBoolean();
     br.ReadUInt32();
     br.ReadUInt16();
     br.ReadByte();
     m_generatorChangedTransitionEffect = des.ReadClassPointer <hkbTransitionEffect>(br);
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     m_endOfClipEventId = br.ReadInt32();
     br.ReadUInt32();
 }