Ejemplo n.º 1
0
        private static void SaveVoiceSetInternal(ICLIFlags flags, string path, SaveContext context,
                                                 ulong voiceSet)
        {
            string thisPath = Path.Combine(path, GetFileName(voiceSet));

            FindLogic.Combo.VoiceSetAsset voiceSetInfo = context.m_info.m_voiceSets[voiceSet];
            if (voiceSetInfo.VoiceLineInstances == null)
            {
                return;
            }
            foreach (KeyValuePair <ulong, HashSet <FindLogic.Combo.VoiceLineInstanceInfo> > stimuliSet in voiceSetInfo.VoiceLineInstances)
            {
                SaveVoiceStimuliInternal(flags, thisPath, context, stimuliSet.Value, true);
            }
        }
Ejemplo n.º 2
0
 public static void SaveVoiceSet(
     ICLIFlags flags, string path, SaveContext context,
     FindLogic.Combo.VoiceSetAsset voiceSetInfo)
 {
     SaveVoiceSetInternal(flags, path, context, voiceSetInfo.m_GUID);
 }