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

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

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