public override void deleteAssetReferences(string assetPath)
        {

            // Delete the asset references in the chapter
            scenesListDataControl.deleteAssetReferences(assetPath);
            cutscenesListDataControl.deleteAssetReferences(assetPath);
            booksListDataControl.deleteAssetReferences(assetPath);
            itemsListDataControl.deleteAssetReferences(assetPath);
            atrezzoListDataControl.deleteAssetReferences(assetPath);
            playerDataControl.deleteAssetReferences(assetPath);
            npcsListDataControl.deleteAssetReferences(assetPath);
            conversationsListDataControl.deleteAssetReferences(assetPath);
            advancedFeaturesDataControl.deleteAssetReferences(assetPath);
            extraDataControls.ForEach(d => d.deleteAssetReferences(assetPath));
        }
Exemplo n.º 2
0
        public override void deleteAssetReferences(string assetPath)
        {
            // Delete the references for the assessment and adaptation files
            //        if( getAssessmentName( ).Equals( assetPath ) )
            //            chapter.setAssessmentName( "" );
            //        if( getAdaptationName( ).Equals( assetPath ) )
            //            chapter.setAdaptationName( "" );

            // Delete the asset references in the chapter
            scenesListDataControl.deleteAssetReferences(assetPath);
            cutscenesListDataControl.deleteAssetReferences(assetPath);
            booksListDataControl.deleteAssetReferences(assetPath);
            itemsListDataControl.deleteAssetReferences(assetPath);
            atrezzoListDataControl.deleteAssetReferences(assetPath);
            playerDataControl.deleteAssetReferences(assetPath);
            npcsListDataControl.deleteAssetReferences(assetPath);
            conversationsListDataControl.deleteAssetReferences(assetPath);
            advancedFeaturesDataControl.deleteAssetReferences(assetPath);
            //assessmentProfilesDataControl.deleteAssetReferences( assetPath );
            //adaptationProfilesDataControl.deleteAssetReferences( assetPath );
        }