コード例 #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();
 }
コード例 #2
0
 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();
 }