示例#1
0
 public DbxFile(BinaryReader fCas, CatEntry cat, CasCat ct)
 {
     this.catHandle = ct;
     this.catEntry  = cat;
     this.InitializeMetaData(fCas);
     this.binaryReader = fCas;
 }
示例#2
0
 public DbxFile(BinaryReader fCas, CatEntry cat, CasCat ct)
 {
     this.catHandle = ct;
     this.catEntry = cat;
     this.InitializeMetaData(fCas);
     this.binaryReader = fCas;
 }
示例#3
0
 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";
 }
示例#4
0
 public static void createVanillaCat(string path)
 {
     try
     {
         CasCat.createVanillaCatFromBackup(path);
     }
     catch
     {
         CasCat.createVanillaCatFromCas(path);
     }
 }
示例#5
0
 private void restoreUpdatedCatToolStripMenuItem_Click(object sender, EventArgs e)
 {
     CasCat.createVanillaCat(Settings.Default.PatchedCasDirectory);
 }
示例#6
0
 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";
 }