DumpRaw() 공개 메소드

public DumpRaw ( int offset, string savePath, int nextOffset = -1 ) : void
offset int
savePath string
nextOffset int
리턴 void
예제 #1
0
        private void dumpRAWDataToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (_state != StateBattleStageUv)
                return;

            SaveFileDialog sfd = new SaveFileDialog();
            if (sfd.ShowDialog() != DialogResult.OK) return;
            BattleStage bs = new BattleStage(_lastKnownPath);
            int nextoffset;
            if (listBox1.SelectedIndex == listBox1.Items.Count - 1)
                nextoffset = -1;
            else
                nextoffset = int.Parse(listBox1.Items[listBox1.SelectedIndex + 1].ToString());
            bs.DumpRaw(int.Parse(listBox1.Items[listBox1.SelectedIndex].ToString()), sfd.FileName, nextoffset);
        }