コード例 #1
0
        private void ReloadDaycareSlots()
        {
            var s1 = SAV.GetDaycareSlotOffset(CurrentDaycare, 0);

            if (s1 < 0)
            {
                return;
            }
            Slots.Add(new StorageSlotOffset {
                IsPartyFormat = false, Offset = s1, Type = StorageSlotType.Daycare
            });
            var s2 = SAV.GetDaycareSlotOffset(CurrentDaycare, 1);

            if (s2 < 0)
            {
                return;
            }
            Slots.Add(new StorageSlotOffset {
                IsPartyFormat = false, Offset = s2, Type = StorageSlotType.Daycare
            });
            Capacity = Slots.Count;
        }