public Task Initialize() { AutoMapperPluginGTAConfig.Setup(); // TODO: Register auto through container?? UiTaskHandler.RegisterHandler(new GTAExceptionHandler()); var p = new Package(); return TaskExt.Default; }
private void ProcessInserts(IAbsoluteDirectoryPath modPackagePath, Package p, ICollection<RootRpf> list) { foreach (var i in p.Insert) { BuildFileContent(modPackagePath, i.TargetDirPath, i.FilePath, list, ContentAction.Insert, GetType(i.Type)); } }
private void ProcessDeletes(IAbsoluteDirectoryPath modPackagePath, Package p, ICollection<RootRpf> list) { foreach (var d in p.Delete) { BuildFileContent(modPackagePath, d.TargetDirPath, d.FilePath, list, ContentAction.Delete); } }