public YAMLNode ExportYAML(IExportContainer container) { YAMLMappingNode node = new YAMLMappingNode(); //node.AddSerializedVersion(ToSerializedVersion(container.Version)); node.Add(TypeName, Type); node.Add(GroupConstantIndexName, GroupConstantIndex); node.Add(SendTargetEffectIndexName, SendTargetEffectIndex); node.Add(WetMixLevelIndexName, WetMixLevelIndex); node.Add(PrevEffectIndexName, PrevEffectIndex); node.Add(BypassName, Bypass); node.Add(ParameterIndicesName, ParameterIndices.ExportYAML(true)); return(node); }
public YAMLNode ExportYAML(IAssetsExporter exporter) { YAMLMappingNode node = new YAMLMappingNode(); //node.AddSerializedVersion(GetSerializedVersion(exporter.Version)); node.Add("type", Type); node.Add("groupConstantIndex", GroupConstantIndex); node.Add("sendTargetEffectIndex", SendTargetEffectIndex); node.Add("wetMixLevelIndex", WetMixLevelIndex); node.Add("prevEffectIndex", PrevEffectIndex); node.Add("bypass", Bypass); node.Add("parameterIndices", ParameterIndices.ExportYAML(true)); return(node); }