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