コード例 #1
0
 public override string ComputeWarningState(AbstractCreationWizardEditorProfile editorProfile)
 {
     this.InitProperties();
     return(new List <string>()
     {
         ErrorHelper.AlreadyPresentInConfigurationV2(this.EditorInformationsData.SelectedKey, this.EditorInformationsData.CommonGameConfigurations.GetConfiguration(this.AllConfigurationTypes[this.selectedTypeIndex]))
     }.Find(s => !string.IsNullOrEmpty(s)));
 }
コード例 #2
0
 public override string ComputeWarningState(AbstractCreationWizardEditorProfile editorProfile)
 {
     this.InitProperties();
     return(new List <string>()
     {
         ErrorHelper.AlreadyPresentInConfigurationV2(this.EditorInformationsData.LevelZonesID, this.EditorInformationsData.CommonGameConfigurations.GetConfiguration <LevelZonesSceneConfiguration>()),
         ErrorHelper.AlreadyPresentInConfigurationV2(this.EditorInformationsData.LevelZonesID, this.EditorInformationsData.CommonGameConfigurations.GetConfiguration <LevelHierarchyConfiguration>()),
         ErrorHelper.NotAlreadyPresentInConfiguration(this.EditorInformationsData.AssociatedAdventureLevelID, this.EditorInformationsData.CommonGameConfigurations.GetConfiguration <LevelHierarchyConfiguration>().GetKeys(), typeof(LevelHierarchyConfiguration).Name)
     }
            .Find((s) => !string.IsNullOrEmpty(s)));
 }