Exemple #1
0
        public static FurnishingSaveDetails GetSaveData()
        {
            var data = new FurnishingSaveDetails();

            data.CurrentMaxId       = currentMaxId;
            data.FreeFurnishingIds  = freeFurnishingIds;
            data.CurrentFurnishings = furnishings;

            return(data);
        }
Exemple #2
0
 public static void LoadSaveData(FurnishingSaveDetails data)
 {
     currentMaxId      = data.CurrentMaxId;
     freeFurnishingIds = data.FreeFurnishingIds;
     furnishings       = data.CurrentFurnishings;
 }