Beispiel #1
0
 // Internal behaviours.
 public override void Preparation(MHEngine engine)
 {
     if (AvailabilityStatus)
     {
         return;
     }
     // Initialise the content information if any.
     m_IncludedContent.Copy(m_OrigIncludedContent);
     m_ContentRef.Copy(m_OrigContentRef);
     m_nContentSize = m_nOrigContentSize;
     m_nCCPrio      = m_nOrigCCPrio;
     // Prepare the base class.
     base.Preparation(engine);
 }
Beispiel #2
0
 public MHIngredient(MHIngredient reference)
 {
     // Don't copy the object reference since that's set separately.
     m_fInitiallyActive = reference.m_fInitiallyActive;
     m_nContentHook     = reference.m_nContentHook;
     m_ContentType      = reference.m_ContentType;
     m_OrigIncludedContent.Copy(reference.m_OrigIncludedContent);
     m_OrigContentRef.Copy(reference.m_OrigContentRef);
     m_nOrigContentSize = reference.m_nOrigContentSize;
     m_nOrigCCPrio      = reference.m_nOrigCCPrio;
     m_fShared          = reference.m_fShared;
 }
Beispiel #3
0
 public override void SetStreamRef(MHContentRef contentRef)
 {
     m_streamContentRef.Copy(contentRef);
 }