예제 #1
0
        private void saveData()
        {
            int i = PeopleList.SelectedIndex;

            savePlayer(i);

            for (int g = 0; g < PlayersData.Length; g++)
            {
                Array.Copy(PlayersData[g].Write(), 0, Save.Data, 0x2590 + g * 0x7DD8, 0x7DD8);
            }

            Main.SaveData = Save.Write();

            Verification.fixChecksums(ref Main.SaveData);
            File.WriteAllBytes(path, Main.SaveData);
        }
예제 #2
0
 private void saveData()
 {
     Main.SaveData = Save.Write();
 }