示例#1
0
        public Task Initialize() {
            AutoMapperPluginGTAConfig.Setup();
            // TODO: Register auto through container??
            UiTaskHandler.RegisterHandler(new GTAExceptionHandler());
            var p = new Package();

            return TaskExt.Default;
        }
示例#2
0
 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));
     }
 }
示例#3
0
 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);
     }
 }