private FormKnownTypes(SaveGameEditor sge, CatDatExtractor cde, string standardErrorText) { InitializeComponent(); this.sge = sge; this.cde = cde; StandardErrorText = standardErrorText; }
private FormFactions(SaveGameEditor sge, string standardErrorText, CatDatExtractor cde) { InitializeComponent(); this.sge = sge; StandardErrorText = standardErrorText; this.cde = cde; }
public static FormKnownTypes Instance(SaveGameEditor sge, CatDatExtractor cde, string standardErrorText) { lock (LockInstance) { if (instance == null) { instance = new FormKnownTypes(sge, cde, standardErrorText); } return(instance); } }
public static FormCatDatExport Instance(CatDatExtractor cde = null) { lock (lockInstance) { if (instance == null) { instance = new FormCatDatExport(cde); } return(instance); } }
public static FormShipEditorCargo Instance(ShipData ship, CatDatExtractor cde) { lock (LockInstance) { if (instance == null) { instance = new FormShipEditorCargo(ship, cde); } return(instance); } }
private FormCatDatExport(CatDatExtractor cde) { InitializeComponent(); this.cde = cde; cde.GetTreeView(treeView1.Nodes); comboBoxCatFilter.Items.Add("All"); comboBoxCatFilter.Items.AddRange(cde.CatFiles.ToArray()); comboBoxCatFilter.SelectedIndex = 0; ExtracionThread = new Thread(AscyncExtract); SetProcessStatusDelegate = new SetProcessStatus(SetProcessStatusMethod); groupBoxSearchInPreview.Enabled = false; }
private FormPlayerSkunk(SaveGameEditor sge, CatDatExtractor cde, string standardErrorText) { InitializeComponent(); this.sge = sge; this.cde = cde; StandardErrorText = standardErrorText; comboBoxSkunkScanner.TextChanged -= comboBoxSkunkScanner_TextChanged; comboBoxSkunkEngine.TextChanged -= comboBoxSkunkEngine_TextChanged; comboBoxSkunkShield1.TextChanged -= comboBoxSkunkShield1_TextChanged; comboBoxSkunkShield2.TextChanged -= comboBoxSkunkShield2_TextChanged; comboBoxSkunkSoftware1.TextChanged -= comboBoxSkunkSoftware1_TextChanged; comboBoxSkunkSoftware2.TextChanged -= comboBoxSkunkSoftware2_TextChanged; }
public SaveGameEditor(string savePath, CatDatExtractor cde) { try { this.cde = cde; LoadNewSaveGame(savePath); } catch (Exception ex) { if (string.IsNullOrEmpty(savePath)) { savePath = ""; } throw new Exception("Unable to create SaveGameEditor for path " + savePath, ex); } }
private void LoadCatDatExtractor() { if (CatDatExtractorForm == null) { cde = new CatDatExtractor(XRebirthPath); CatDatExtractorForm = FormCatDatExport.Instance(cde); CatDatExtractorForm.TopLevel = false; tabPageCatDatExtractor.Controls.Add(CatDatExtractorForm); CatDatExtractorForm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; CatDatExtractorForm.Dock = DockStyle.Fill; CatDatExtractorForm.Show(); ChangeFormState(); } else { Logger.Warning("FormCatDatExtractor already loaded."); } }
public static FormFactions Instance(SaveGameEditor sge, string standardErrorText, CatDatExtractor cde) { lock (LockInstance) { if (instance == null) { instance = new FormFactions(sge, standardErrorText, cde); } return(instance); } }
private FormShipEditorCargo(ShipData ship, CatDatExtractor cde) { InitializeComponent(); Ship = ship; this.cde = cde; }