public DbxFile(BinaryReader fCas, CatEntry cat, CasCat ct) { this.catHandle = ct; this.catEntry = cat; this.InitializeMetaData(fCas); this.binaryReader = fCas; }
private void openCat() { this.treeView1.Nodes.Clear(); this.propertyGrid1.SelectedObject = null; this.treeView1.BeginUpdate(); this.cat = new CasCat(this.catPath, this); this.treeView1.Sort(); this.treeView1.EndUpdate(); this.Text = this.cat.modName + " - BF3 Gameplay File Tweaker"; }
public static void createVanillaCat(string path) { try { CasCat.createVanillaCatFromBackup(path); } catch { CasCat.createVanillaCatFromCas(path); } }
private void restoreUpdatedCatToolStripMenuItem_Click(object sender, EventArgs e) { CasCat.createVanillaCat(Settings.Default.PatchedCasDirectory); }