예제 #1
0
 public override void ContentPreparation(MHEngine engine)
 {
     if (m_ContentType == IN_IncludedContent)
     {
         // Included content is there - generate ContentAvailable.
         engine.EventTriggered(this, EventContentAvailable);
     }
     else if (m_ContentType == IN_ReferencedContent)
     {
         // We are requesting external content
         engine.CancelExternalContentRequest(this);
         engine.RequestExternalContent(this);
     }
 }