Esempio n. 1
0
        private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            int n = listBox1.SelectedIndex;

            if (n == -1)
            {
                return;
            }
            hb1.ByteProvider = new DynamicByteProvider(pcc.Exports[Objects[n]].Data);
            FaceFX           = new FaceFXAnimSet(pcc, Objects[n]);
            treeView1.Nodes.Clear();
            treeView1.Nodes.Add(FaceFX.HeaderToTree());
            treeView2.Nodes.Clear();
            treeView2.Nodes.Add(FaceFX.DataToTree());
        }
Esempio n. 2
0
        public void FaceFXRefresh()
        {
            int n = listBox1.SelectedIndex;

            if (n == -1)
            {
                return;
            }
            hb1.ByteProvider = new DynamicByteProvider(pcc.Exports[Objects[n]].Data);
            if (FaceFX == null)
            {
                return;
            }
            treeView1.Nodes.Clear();
            treeView1.Nodes.Add(FaceFX.HeaderToTree());
            treeView2.Nodes.Clear();
            treeView2.Nodes.Add(FaceFX.DataToTree());
        }