AcManager.Tools.ContentInstallation.Types.TypeCarSkin.GetUpdateOptions C# (CSharp) Method

GetUpdateOptions() public method

public GetUpdateOptions ( ) : IEnumerable
return IEnumerable
        public override IEnumerable<UpdateOption> GetUpdateOptions() {
            Func<string, bool> uiFilter =
                    x => !x.StartsWith(@"ui\") ||
                            !x.EndsWith(@"\ui_track.json") && !x.EndsWith(@"\preview.png") &&
                                    !x.EndsWith(@"\outline.png");
            return base.GetUpdateOptions().Union(new[] {
                new UpdateOption(ToolsStrings.ContentInstallation_KeepUiInformation){ Filter = uiFilter }
            });
        }
    }