Пример #1
0
        public static void Merge(VoicepackExtended voicepack, VoicepackExtended otherVoicepack)
        {
            VoicepackCleaner.RemoveUnusedComponentData(voicepack);
            VoicepackCleaner.RemoveUnusedComponentData(otherVoicepack);
            VoicepackCleaner.ResolveComponentDataKeyClashes(voicepack, otherVoicepack);

            MergeAchievementList(voicepack.Voicepack.groupManager.achievementList, otherVoicepack.Voicepack.groupManager.achievementList);
            MergeComponentData(voicepack.Voicepack.componentData, otherVoicepack.Voicepack.componentData);
            //TODO
            //VoicepackMerger.MergeComponentInformation(Voicepack.componentInformation, other.Voicepack.componentInformation);
        }
Пример #2
0
 /// <summary>
 /// Facade function, removes any stored data that is not referenced
 /// </summary>
 public List <string> RemoveUnusedComponentData()
 {
     return(VoicepackCleaner.RemoveUnusedComponentData(this));
 }