public static void Load(byte[] saveData)
        {
            //638976
            int i = 0;

            SaveAndRestore.LoadData(ref i, saveData, ref foodBuffer);
            SaveAndRestore.LoadData(ref i, saveData, ref lumberBuffer);
            SaveAndRestore.LoadData(ref i, saveData, ref coalBuffer);
            SaveAndRestore.LoadData(ref i, saveData, ref petrolBuffer);
            SaveAndRestore.LoadData(ref i, saveData, ref constructionResourceBuffer);
            SaveAndRestore.LoadData(ref i, saveData, ref operationResourceBuffer);
            SaveAndRestore.LoadData(ref i, saveData, ref resourceCategory);
        }
        public static void Save(ref byte[] saveData)
        {
            //638976
            int i = 0;

            SaveAndRestore.SaveData(ref i, foodBuffer, ref saveData);
            SaveAndRestore.SaveData(ref i, lumberBuffer, ref saveData);
            SaveAndRestore.SaveData(ref i, coalBuffer, ref saveData);
            SaveAndRestore.SaveData(ref i, petrolBuffer, ref saveData);
            SaveAndRestore.SaveData(ref i, constructionResourceBuffer, ref saveData);
            SaveAndRestore.SaveData(ref i, operationResourceBuffer, ref saveData);
            SaveAndRestore.SaveData(ref i, resourceCategory, ref saveData);
        }