so 수정

This commit is contained in:
NTG_Lenovo 2025-08-07 13:16:25 +09:00
parent 2ef865e11f
commit 9fc80f9017

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Sirenix.OdinInspector;
@ -11,8 +10,6 @@ public class RestaurantManagementSo : GameFlowTask
{
// TODO : 체크리스트 기능
// TODO : 조리도구 등록, 해제 기능
public ItemSlotUi ItemSlotUiPrefab;
[Title("선택된 메뉴 상세 내용")]
@ -37,13 +34,21 @@ public class RestaurantManagementSo : GameFlowTask
public IReadOnlyList<string> TodayCookwareIds => _todayCookwareIds;
public override Task OnReadyNewFlow(GameFlowState newFlowState)
{
if (newFlowState == GameFlowState.ReadyForRestaurant)
{
InitializeReadyForRestaurant();
}
return Task.CompletedTask;
}
private void InitializeReadyForRestaurant()
{
_todayFoodRecipeIds.Clear();
_todayDrinkRecipeIds.Clear();
_todayWorkerIds.Clear();
_todayCookwareIds.Clear();
return Task.CompletedTask;
}
public bool TryAddTodayMenu(ItemSlotUi itemSlotUi)