From a473f517ebef05c6117f183fd8512f999b9528eb Mon Sep 17 00:00:00 2001 From: Jeonghyeon Ha Date: Wed, 27 Aug 2025 16:52:34 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EB=84=A4=EC=9E=84=EC=8A=A4=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=8A=A4=20=EC=88=98=EC=A0=95=20=EB=B0=8F=20=ED=8F=B4?= =?UTF-8?q?=EB=8D=94=20=EC=A0=95=EB=A6=AC=20-=20Game,=20Restaurant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/_DDD/_Scripts/Game.meta | 3 + .../_Scripts/{ => Game}/GameCharacter.meta | 0 .../GameCharacter/IGameCharacter.cs | 0 .../GameCharacter/IGameCharacter.cs.meta | 0 .../GameCharacter/IMovementConstraint.cs | 0 .../GameCharacter/IMovementConstraint.cs.meta | 0 .../GameCharacter/SpineController.cs | 0 .../GameCharacter/SpineController.cs.meta | 0 .../_Scripts/{ => Game}/GameController.meta | 0 .../GameController/GameController.cs | 0 .../GameController/GameController.cs.meta | 0 Assets/_DDD/_Scripts/{ => Game}/GameData.meta | 0 .../{ => Game}/GameData/DataManager.cs | 0 .../{ => Game}/GameData/DataManager.cs.meta | 0 .../_Scripts/{ => Game}/GameData/DataSo.cs | 0 .../{ => Game}/GameData/DataSo.cs.meta | 0 .../_Scripts/{ => Game}/GameData/GameData.cs | 0 .../{ => Game}/GameData/GameData.cs.meta | 0 .../GameData/GameLocalizationData.cs | 0 .../GameData/GameLocalizationData.cs.meta | 0 .../_DDD/_Scripts/{ => Game}/GameData/IId.cs | 0 .../_Scripts/{ => Game}/GameData/IId.cs.meta | 0 .../{ => Game}/GameData/PopupUiData.cs | 0 .../{ => Game}/GameData/PopupUiData.cs.meta | 0 .../_DDD/_Scripts/{ => Game}/GameEvent.meta | 0 .../{ => Game}/GameEvent/GameEvents.cs | 23 ----- .../{ => Game}/GameEvent/GameEvents.cs.meta | 0 .../{ => Game}/GameEvent/IInteractable.cs | 0 .../GameEvent/IInteractable.cs.meta | 0 .../GameEvent/InteractionSubsystem.cs | 0 .../GameEvent/InteractionSubsystem.cs.meta | 0 Assets/_DDD/_Scripts/{ => Game}/GameFlow.meta | 0 .../{ => Game}/GameFlow/GameFlowDataSo.cs | 0 .../GameFlow/GameFlowDataSo.cs.meta | 0 .../{ => Game}/GameFlow/GameFlowManager.cs | 0 .../GameFlow/GameFlowManager.cs.meta | 0 .../GameFlow/GameFlowSceneMappingSo.cs | 0 .../GameFlow/GameFlowSceneMappingSo.cs.meta | 0 .../{ => Game}/GameFlow/IGameFlowHandler.cs | 0 .../GameFlow/IGameFlowHandler.cs.meta | 0 .../_Scripts/{ => Game}/GameFramework.meta | 0 .../{ => Game}/GameFramework/EventBus.meta | 0 .../GameFramework/EventBus/EventBus.cs | 2 +- .../GameFramework/EventBus/EventBus.cs.meta | 0 .../GameFramework/EventBus/IEvent.cs | 0 .../GameFramework/EventBus/IEvent.cs.meta | 0 .../GameFramework/EventBus/IEventHandler.cs | 2 +- .../EventBus/IEventHandler.cs.meta | 0 .../{ => Game}/GameFramework/GameManager.cs | 0 .../GameFramework/GameManager.cs.meta | 0 .../{ => Game}/GameFramework/IManager.cs | 0 .../{ => Game}/GameFramework/IManager.cs.meta | 0 .../GameFramework/Localization.meta | 0 .../Localization/GoogleSheetData.cs | 0 .../Localization/GoogleSheetData.cs.meta | 0 .../Localization/GoogleSheetWebClient.cs | 0 .../Localization/GoogleSheetWebClient.cs.meta | 0 .../Localization/LocalizationExporter.cs | 0 .../Localization/LocalizationExporter.cs.meta | 0 .../Localization/LocalizationImporter.cs | 0 .../Localization/LocalizationImporter.cs.meta | 0 .../Localization/LocalizationManager.cs | 0 .../Localization/LocalizationManager.cs.meta | 0 .../Localization/LocalizationSyncTool.cs | 0 .../Localization/LocalizationSyncTool.cs.meta | 0 .../Localization/SmartStringVariables.cs | 3 +- .../Localization/SmartStringVariables.cs.meta | 0 .../GameFramework/ManagerDefinitionSo.cs | 0 .../GameFramework/ManagerDefinitionSo.cs.meta | 0 .../{ => Game}/GameFramework/PlayerManager.cs | 0 .../GameFramework/PlayerManager.cs.meta | 0 .../{ => Game}/GameFramework/Scene.meta | 0 .../Scene/FadeSceneTransitionHandlerSo.cs | 0 .../FadeSceneTransitionHandlerSo.cs.meta | 0 .../GameFramework/Scene/SceneManager.cs | 0 .../GameFramework/Scene/SceneManager.cs.meta | 0 .../Scene/SceneTransitionHandler.cs | 0 .../Scene/SceneTransitionHandler.cs.meta | 0 .../Scene/SceneTransitionHandlerSo.cs | 0 .../Scene/SceneTransitionHandlerSo.cs.meta | 0 .../{ => Game}/GameFramework/TimeManager.cs | 2 +- .../GameFramework/TimeManager.cs.meta | 0 .../_DDD/_Scripts/{ => Game}/GameState.meta | 0 .../{ => Game}/GameState/GameLevelState.cs | 0 .../GameState/GameLevelState.cs.meta | 0 .../{ => Game}/GameState/GameState.cs | 0 .../{ => Game}/GameState/GameState.cs.meta | 0 .../{ => Game}/GameState/InventoryItemData.cs | 0 .../GameState/InventoryItemData.cs.meta | 0 .../{ => Game}/GameState/InventoryManager.cs | 0 .../GameState/InventoryManager.cs.meta | 0 .../GameState/InventoryTestDataSo.cs | 0 .../GameState/InventoryTestDataSo.cs.meta | 0 .../GameState/TestInventoryEditorTool.cs | 0 .../GameState/TestInventoryEditorTool.cs.meta | 0 Assets/_DDD/_Scripts/{ => Game}/GameUi.meta | 0 .../_Scripts/{ => Game}/GameUi/BaseUi.meta | 0 .../{ => Game}/GameUi/BaseUi/BaseUi.cs | 0 .../{ => Game}/GameUi/BaseUi/BaseUi.cs.meta | 0 .../GameUi/BaseUi/BaseViewModelUi.cs | 0 .../GameUi/BaseUi/BaseViewModelUi.cs.meta | 0 .../{ => Game}/GameUi/BaseUi/CommonUis.meta | 0 .../GameUi/BaseUi/CommonUis/FadeUi.cs | 4 +- .../GameUi/BaseUi/CommonUis/FadeUi.cs.meta | 0 .../BaseUi/CommonUis/GlobalMessageUi.cs | 2 +- .../BaseUi/CommonUis/GlobalMessageUi.cs.meta | 0 .../{ => Game}/GameUi/BaseUi/Huds.meta | 0 .../GameUi/BaseUi/Huds/RestaurantHud.cs | 0 .../GameUi/BaseUi/Huds/RestaurantHud.cs.meta | 0 .../GameUi/BaseUi/InteractionUis.meta | 0 .../InteractionUis/InteractionMessageUi.cs | 4 +- .../InteractionMessageUi.cs.meta | 0 .../{ => Game}/GameUi/BaseUi/PopupUis.meta | 0 .../GameUi/BaseUi/PopupUis/BasePopupUi.cs | 0 .../BaseUi/PopupUis/BasePopupUi.cs.meta | 0 .../GameUi/BaseUi/PopupUis/ConfirmUi.meta | 0 .../BaseUi/PopupUis/ConfirmUi/ConfirmUi.cs | 0 .../PopupUis/ConfirmUi/ConfirmUi.cs.meta | 0 .../PopupUis/ConfirmUi/ConfirmViewModel.cs | 0 .../ConfirmUi/ConfirmViewModel.cs.meta | 0 .../GameUi/BaseUi/PopupUis/PopupUi.cs | 0 .../GameUi/BaseUi/PopupUis/PopupUi.cs.meta | 0 .../GameUi/BaseUi/PopupUis/UiState.cs | 4 +- .../GameUi/BaseUi/PopupUis/UiState.cs.meta | 0 .../GameUi/BaseUi/SimpleViewModel.cs | 0 .../GameUi/BaseUi/SimpleViewModel.cs.meta | 0 .../{ => Game}/GameUi/CommonButton.cs | 0 .../{ => Game}/GameUi/CommonButton.cs.meta | 0 .../{ => Game}/GameUi/ScrollViewUi.meta | 0 .../ScrollViewUi/AutoScrollToSelected.cs | 0 .../ScrollViewUi/AutoScrollToSelected.cs.meta | 0 .../GameUi/ScrollViewUi/IAutoScrollItem.cs | 0 .../ScrollViewUi/IAutoScrollItem.cs.meta | 0 .../_Scripts/{ => Game}/GameUi/UiManager.cs | 0 .../{ => Game}/GameUi/UiManager.cs.meta | 0 .../_Scripts/{ => Game}/GameUi/Utils.meta | 0 .../{ => Game}/GameUi/Utils/Binding.meta | 0 .../GameUi/Utils/Binding/BindingContext.cs | 0 .../Utils/Binding/BindingContext.cs.meta | 0 .../GameUi/Utils/Binding/BindingHelper.cs | 0 .../Utils/Binding/BindingHelper.cs.meta | 0 .../GameUi/Utils/Binding/BindingPath.cs | 0 .../GameUi/Utils/Binding/BindingPath.cs.meta | 0 .../GameUi/Utils/Binding/IBindingTarget.cs | 0 .../Utils/Binding/IBindingTarget.cs.meta | 0 .../{ => Game}/GameUi/Utils/Converters.meta | 0 .../Utils/Converters/CommonConverters.cs | 0 .../Utils/Converters/CommonConverters.cs.meta | 0 .../Utils/Converters/IValueConverter.cs | 0 .../Utils/Converters/IValueConverter.cs.meta | 0 .../{ => Game}/GameUi/Utils/IUiView.cs | 0 .../{ => Game}/GameUi/Utils/IUiView.cs.meta | 0 Assets/_DDD/_Scripts/Restaurant.meta | 3 + .../{ => Restaurant}/RestaurantCharacter.meta | 0 .../RestaurantCharacter/AI.meta | 0 .../RestaurantCharacter/AI/Common.meta | 0 .../AI/Common/Actions.meta | 0 .../Common/Actions/LookAtInteractionTarget.cs | 10 +- .../Actions/LookAtInteractionTarget.cs.meta | 0 .../Common/Actions/MoveToInteractionTarget.cs | 86 +++++++--------- .../Actions/MoveToInteractionTarget.cs.meta | 0 .../AI/Common/Decorator.meta | 0 .../AI/Common/Decorator/TimeLimiter.cs | 0 .../AI/Common/Decorator/TimeLimiter.cs.meta | 0 .../RestaurantCharacter/AI/Customer.meta | 0 .../AI/Customer/Actions.meta | 0 .../Actions/ContinueRestaurantOrder.cs | 0 .../Actions/ContinueRestaurantOrder.cs.meta | 0 .../Customer/Actions/StartRestaurantOrder.cs | 17 +--- .../Actions/StartRestaurantOrder.cs.meta | 0 .../Actions/WaitForPlayerInteraction.cs | 2 +- .../Actions/WaitForPlayerInteraction.cs.meta | 0 .../AI/Customer/Conditionals.meta | 0 .../Conditionals/RestaurantOrderAvailable.cs | 2 +- .../RestaurantOrderAvailable.cs.meta | 0 .../Customer/RestaurantCustomerAiComponent.cs | 6 +- .../RestaurantCustomerAiComponent.cs.meta | 0 .../RestaurantCustomerBlackboardComponent.cs | 0 ...taurantCustomerBlackboardComponent.cs.meta | 0 .../RestaurantCharacter/Core.meta | 0 .../Core/RestaurantCharacter.cs | 2 +- .../Core/RestaurantCharacter.cs.meta | 0 .../Core/RestaurantCharacterAnimation.cs | 0 .../Core/RestaurantCharacterAnimation.cs.meta | 0 .../Core/RestaurantCharacterInteraction.cs | 97 +++++-------------- .../RestaurantCharacterInteraction.cs.meta | 0 .../Core/RestaurantCharacterMovement.cs | 0 .../Core/RestaurantCharacterMovement.cs.meta | 0 .../RestaurantCharacterMovementConstraint.cs | 0 ...taurantCharacterMovementConstraint.cs.meta | 0 .../Core/RestaurantCharacterVisual.cs | 0 .../Core/RestaurantCharacterVisual.cs.meta | 0 .../RestaurantCharacter/Interfaces.meta | 0 .../Interfaces/IAiMovement.cs | 0 .../Interfaces/IAiMovement.cs.meta | 0 .../Interfaces/ICurrentDirection.cs | 0 .../Interfaces/ICurrentDirection.cs.meta | 0 .../Interfaces/IRestaurantCustomerAi.cs | 9 ++ .../Interfaces/IRestaurantCustomerAi.cs.meta | 0 .../IRestaurantCustomerBlackboard.cs | 0 .../IRestaurantCustomerBlackboard.cs.meta | 0 .../IRestaurantMovementConstraint.cs | 0 .../IRestaurantMovementConstraint.cs.meta | 0 .../RestaurantCharacter/Npc.meta | 0 .../RestaurantCharacter/Npc/Customer.meta | 0 .../Npc/Customer/CustomerCharacter.cs | 2 +- .../Npc/Customer/CustomerCharacter.cs.meta | 0 .../Npc/RestaurantNpcCharacter.cs | 2 +- .../Npc/RestaurantNpcCharacter.cs.meta | 0 .../Npc/RestaurantNpcMovement.cs | 0 .../Npc/RestaurantNpcMovement.cs.meta | 0 .../RestaurantCharacter/Player.meta | 0 .../Player/RestaurantPlayerAnimation.cs | 2 +- .../Player/RestaurantPlayerAnimation.cs.meta | 0 .../Player/RestaurantPlayerCharacter.cs | 4 +- .../Player/RestaurantPlayerCharacter.cs.meta | 0 .../Player/RestaurantPlayerInput.cs | 2 +- .../Player/RestaurantPlayerInput.cs.meta | 0 .../Player/RestaurantPlayerInteraction.cs | 88 ++++++++++++++++- .../RestaurantPlayerInteraction.cs.meta | 0 .../Player/RestaurantPlayerMovement.cs | 2 +- .../Player/RestaurantPlayerMovement.cs.meta | 0 .../RestaurantController.meta | 0 .../RestaurantController/Conrtollers.meta | 0 .../RestaurantEnvironmentController.cs | 2 +- .../RestaurantEnvironmentController.cs.meta | 0 .../RestaurantGlobalMessageController.cs | 0 .../RestaurantGlobalMessageController.cs.meta | 0 .../RestaurantManagementController.cs | 2 +- .../RestaurantManagementController.cs.meta | 0 .../Conrtollers/RestaurantPlayerController.cs | 2 +- .../RestaurantPlayerController.cs.meta | 0 .../Conrtollers/RestaurantRunController.cs | 6 +- .../RestaurantRunController.cs.meta | 0 .../RestaurantController/Conrtollers/Run.meta | 0 .../Conrtollers/Run/Customer.meta | 0 .../Run/Customer/CustomerFactory.cs | 2 +- .../Run/Customer/CustomerFactory.cs.meta | 0 .../Customer/RandomSpawnScheduleBuilder.cs | 0 .../RandomSpawnScheduleBuilder.cs.meta | 0 .../Customer/RegularSpawnScheduleBuilder.cs | 0 .../RegularSpawnScheduleBuilder.cs.meta | 0 .../Run/Customer/SpawnPointProvider.cs | 0 .../Run/Customer/SpawnPointProvider.cs.meta | 0 .../Conrtollers/Run/Customer/SpawnSchedule.cs | 0 .../Run/Customer/SpawnSchedule.cs.meta | 0 .../Run/Customer/SpawnScheduleUtils.cs | 0 .../Run/Customer/SpawnScheduleUtils.cs.meta | 0 .../Conrtollers/Tasks.meta | 0 .../Tasks/CreateRestaurantEnvironment.cs | 2 +- .../Tasks/CreateRestaurantEnvironment.cs.meta | 0 .../Tasks/CreateRestaurantPlayer.cs | 2 +- .../Tasks/CreateRestaurantPlayer.cs.meta | 0 .../RestaurantController/FlowController.cs | 0 .../FlowController.cs.meta | 0 .../RestaurantController.cs | 2 +- .../RestaurantController.cs.meta | 0 .../RestaurantControllerDataSo.cs | 0 .../RestaurantControllerDataSo.cs.meta | 0 .../RestaurantFlowTask.cs | 0 .../RestaurantFlowTask.cs.meta | 0 .../{ => Restaurant}/RestaurantData.meta | 0 .../RestaurantData/DataObjects.meta | 0 .../DataObjects/RestaurantCustomerData.cs | 0 .../RestaurantCustomerData.cs.meta | 0 .../DataObjects/RestaurantManagementData.cs | 2 +- .../RestaurantManagementData.cs.meta | 0 .../DataObjects/RestaurantPlayerData.cs | 0 .../DataObjects/RestaurantPlayerData.cs.meta | 0 .../DataObjects/RestaurantRunData.cs | 0 .../DataObjects/RestaurantRunData.cs.meta | 0 .../RestaurantData/RestaurantData.cs | 2 +- .../RestaurantData/RestaurantData.cs.meta | 0 .../RestaurantEnvironment.meta | 0 .../IInteractionSubsystemOwner.cs | 0 .../IInteractionSubsystemOwner.cs.meta | 0 .../RestaurantEnvironment/Interactions.meta | 0 .../RestaurantCookInteractionSubsystem.cs | 0 ...RestaurantCookInteractionSubsystem.cs.meta | 0 ...estaurantManagementInteractionSubsystem.cs | 0 ...rantManagementInteractionSubsystem.cs.meta | 0 .../RestaurantMealInteractionSubsystem.cs | 0 ...RestaurantMealInteractionSubsystem.cs.meta | 0 .../RestaurantOrderInteractionSubsystem.cs | 0 ...estaurantOrderInteractionSubsystem.cs.meta | 0 .../RestaurantEnvironment.cs | 2 +- .../RestaurantEnvironment.cs.meta | 0 .../{ => Restaurant}/RestaurantEvent.meta | 0 .../RestaurantEvent/Cosmetic.meta | 0 .../Cosmetic/InteractableHighlight.cs | 2 +- .../Cosmetic/InteractableHighlight.cs.meta | 0 .../RestaurantEvent/RestaurantEvents.cs | 26 +++++ .../RestaurantEvent/RestaurantEvents.cs.meta | 3 + .../RestaurantInteractionComponent.cs | 4 +- .../RestaurantInteractionComponent.cs.meta | 0 .../RestaurantInteractionEvents.cs | 7 +- .../RestaurantInteractionEvents.cs.meta | 0 .../RestaurantEvent/Solvers.meta | 0 .../Solvers/RestaurantCooks.meta | 0 .../RestaurantCooks/RestaurantCookSolver.cs | 2 +- .../RestaurantCookSolver.cs.meta | 0 .../RestaurantCookSolver_OpenCookUi.cs | 2 +- .../RestaurantCookSolver_OpenCookUi.cs.meta | 0 .../Solvers/RestaurantManagements.meta | 0 .../RestaurantManagementSolver.cs | 2 +- .../RestaurantManagementSolver.cs.meta | 0 .../RestaurantManagementSolver_Menu.cs | 2 +- .../RestaurantManagementSolver_Menu.cs.meta | 0 .../RestaurantManagementSolver_Start.cs | 2 +- .../RestaurantManagementSolver_Start.cs.meta | 0 .../Solvers/RestaurantMeals.meta | 0 .../RestaurantMeals/RestaurantMealSolver.cs | 0 .../RestaurantMealSolver.cs.meta | 0 .../RestaurantMealSolver_WaitForOrder.cs | 0 .../RestaurantMealSolver_WaitForOrder.cs.meta | 0 .../RestaurantMealSolver_WaitForServe.cs | 0 .../RestaurantMealSolver_WaitForServe.cs.meta | 0 .../Solvers/RestaurantOrders.meta | 0 .../RestaurantOrders/RestaurantOrderSolver.cs | 3 +- .../RestaurantOrderSolver.cs.meta | 0 .../RestaurantOrderSolver_Busy.cs | 2 +- .../RestaurantOrderSolver_Busy.cs.meta | 0 .../RestaurantOrderSolver_Dirty.cs | 2 +- .../RestaurantOrderSolver_Dirty.cs.meta | 0 .../RestaurantOrderSolver_Order.cs | 2 +- .../RestaurantOrderSolver_Order.cs.meta | 0 .../RestaurantOrderSolver_Reserved.cs | 2 +- .../RestaurantOrderSolver_Reserved.cs.meta | 0 .../RestaurantOrderSolver_Serve.cs | 2 +- .../RestaurantOrderSolver_Serve.cs.meta | 0 .../RestaurantOrderSolver_Wait.cs | 2 +- .../RestaurantOrderSolver_Wait.cs.meta | 0 .../Solvers/RestaurantSubsystemSolver.cs | 0 .../Solvers/RestaurantSubsystemSolver.cs.meta | 0 .../{ => Restaurant}/RestaurantState.meta | 0 .../RestaurantState/FlowStates.meta | 0 .../FlowStates/RestaurantCustomerState.cs | 2 +- .../RestaurantCustomerState.cs.meta | 0 .../FlowStates/RestaurantEnvironmentState.cs | 0 .../RestaurantEnvironmentState.cs.meta | 0 .../FlowStates/RestaurantManagementState.cs | 2 +- .../RestaurantManagementState.cs.meta | 0 .../FlowStates/RestaurantPlayerState.cs | 0 .../FlowStates/RestaurantPlayerState.cs.meta | 0 .../FlowStates/RestaurantRunState.cs | 0 .../FlowStates/RestaurantRunState.cs.meta | 0 .../RestaurantState/RestaurantState.cs | 2 +- .../RestaurantState/RestaurantState.cs.meta | 0 .../_Scripts/Restaurant/RestaurantUi.meta | 3 + .../RestaurantUi}/CookUi.meta | 0 .../CookUi/AddedCookSlotUiStrategy.cs | 2 +- .../CookUi/AddedCookSlotUiStrategy.cs.meta | 0 .../RestaurantUi}/CookUi/CookUi.cs | 2 +- .../RestaurantUi}/CookUi/CookUi.cs.meta | 0 .../RestaurantUi}/CookUi/CookViewModel.cs | 2 +- .../CookUi/CookViewModel.cs.meta | 0 .../CookUi/SelectedIngredient.cs | 2 +- .../CookUi/SelectedIngredient.cs.meta | 0 .../RestaurantUi}/RestaurantManagementUi.meta | 0 .../RestaurantManagementUi/ChecklistData.cs | 0 .../ChecklistData.cs.meta | 0 .../RestaurantManagementUi/ChecklistView.cs | 6 +- .../ChecklistView.cs.meta | 0 .../RestaurantManagementUi/ExtensionsUi.meta | 0 .../ExtensionsUi/CraftingHelper.cs | 0 .../ExtensionsUi/CraftingHelper.cs.meta | 0 .../ExtensionsUi/DrinkDataExtensions.cs | 0 .../ExtensionsUi/DrinkDataExtensions.cs.meta | 0 .../ExtensionsUi/FoodDataExtensions.cs | 0 .../ExtensionsUi/FoodDataExtensions.cs.meta | 0 .../RestaurantManagementUi/InventoryUi.meta | 0 .../InventoryUi/InventorySlotUiStrategy.cs | 2 +- .../InventorySlotUiStrategy.cs.meta | 0 .../InventoryUi/InventoryView.cs | 8 +- .../InventoryUi/InventoryView.cs.meta | 0 .../RestaurantManagementUi/ItemDetailView.cs | 4 +- .../ItemDetailView.cs.meta | 0 .../RestaurantManagementUi/ItemUi.meta | 0 .../ItemUi/IInteractableUi.cs | 0 .../ItemUi/IInteractableUi.cs.meta | 0 .../ItemUi/IItemSlotInteractorStrategy.cs | 2 +- .../IItemSlotInteractorStrategy.cs.meta | 0 .../ItemUi/IItemSlotUiStrategy.cs | 2 +- .../ItemUi/IItemSlotUiStrategy.cs.meta | 0 .../ItemUi/IngredientEntry.cs | 0 .../ItemUi/IngredientEntry.cs.meta | 0 .../ItemUi/ItemModel.cs | 0 .../ItemUi/ItemModel.cs.meta | 0 .../ItemUi/ItemSlotInteractor.cs | 2 +- .../ItemUi/ItemSlotInteractor.cs.meta | 0 .../ItemUi/ItemSlotUi.cs | 2 +- .../ItemUi/ItemSlotUi.cs.meta | 0 .../ItemUi/ItemViewModelFactory.cs | 0 .../ItemUi/ItemViewModelFactory.cs.meta | 0 .../RestaurantManagementUi.cs | 2 +- .../RestaurantManagementUi.cs.meta | 0 .../RestaurantManagementViewModel.cs | 4 +- .../RestaurantManagementViewModel.cs.meta | 0 .../RestaurantManagementUi/TabUi.meta | 0 .../TabUi/ITabButton.cs | 0 .../TabUi/ITabButton.cs.meta | 0 .../TabUi/TabButtonUi.cs | 0 .../TabUi/TabButtonUi.cs.meta | 0 .../TabUi/TabGroupUi.cs | 0 .../TabUi/TabGroupUi.cs.meta | 0 .../TasteHashTagSlotUi.cs | 0 .../TasteHashTagSlotUi.cs.meta | 0 .../RestaurantManagementUi/TodayMenuUi.meta | 0 .../TodayMenuInteractorStrategy.cs | 2 +- .../TodayMenuInteractorStrategy.cs.meta | 0 .../TodayMenuUi/TodayMenuSlotUiStrategy.cs | 2 +- .../TodayMenuSlotUiStrategy.cs.meta | 0 .../TodayMenuUi/TodayMenuView.cs | 6 +- .../TodayMenuUi/TodayMenuView.cs.meta | 0 .../TodayRestaurantStateUi.meta | 0 .../TodayCookwareInteractorStrategy.cs | 2 +- .../TodayCookwareInteractorStrategy.cs.meta | 0 .../TodayCookwareSlotUiStrategy.cs | 2 +- .../TodayCookwareSlotUiStrategy.cs.meta | 0 .../TodayRestaurantStateView.cs | 6 +- .../TodayRestaurantStateView.cs.meta | 0 .../TodayWorkerSlotUiStrategy.cs | 2 +- .../TodayWorkerSlotUiStrategy.cs.meta | 0 .../Interfaces/IRestaurantCustomerAi.cs | 7 -- 424 files changed, 285 insertions(+), 273 deletions(-) create mode 100644 Assets/_DDD/_Scripts/Game.meta rename Assets/_DDD/_Scripts/{ => Game}/GameCharacter.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameCharacter/IGameCharacter.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameCharacter/IGameCharacter.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameCharacter/IMovementConstraint.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameCharacter/IMovementConstraint.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameCharacter/SpineController.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameCharacter/SpineController.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameController.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameController/GameController.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameController/GameController.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameData.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameData/DataManager.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameData/DataManager.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameData/DataSo.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameData/DataSo.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameData/GameData.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameData/GameData.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameData/GameLocalizationData.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameData/GameLocalizationData.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameData/IId.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameData/IId.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameData/PopupUiData.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameData/PopupUiData.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameEvent.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameEvent/GameEvents.cs (83%) rename Assets/_DDD/_Scripts/{ => Game}/GameEvent/GameEvents.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameEvent/IInteractable.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameEvent/IInteractable.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameEvent/InteractionSubsystem.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameEvent/InteractionSubsystem.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFlow.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFlow/GameFlowDataSo.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFlow/GameFlowDataSo.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFlow/GameFlowManager.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFlow/GameFlowManager.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFlow/GameFlowSceneMappingSo.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFlow/GameFlowSceneMappingSo.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFlow/IGameFlowHandler.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFlow/IGameFlowHandler.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/EventBus.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/EventBus/EventBus.cs (96%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/EventBus/EventBus.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/EventBus/IEvent.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/EventBus/IEvent.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/EventBus/IEventHandler.cs (72%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/EventBus/IEventHandler.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/GameManager.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/GameManager.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/IManager.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/IManager.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Localization.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Localization/GoogleSheetData.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Localization/GoogleSheetData.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Localization/GoogleSheetWebClient.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Localization/GoogleSheetWebClient.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Localization/LocalizationExporter.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Localization/LocalizationExporter.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Localization/LocalizationImporter.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Localization/LocalizationImporter.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Localization/LocalizationManager.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Localization/LocalizationManager.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Localization/LocalizationSyncTool.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Localization/LocalizationSyncTool.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Localization/SmartStringVariables.cs (98%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Localization/SmartStringVariables.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/ManagerDefinitionSo.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/ManagerDefinitionSo.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/PlayerManager.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/PlayerManager.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Scene.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Scene/FadeSceneTransitionHandlerSo.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Scene/FadeSceneTransitionHandlerSo.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Scene/SceneManager.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Scene/SceneManager.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Scene/SceneTransitionHandler.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Scene/SceneTransitionHandler.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Scene/SceneTransitionHandlerSo.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/Scene/SceneTransitionHandlerSo.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/TimeManager.cs (97%) rename Assets/_DDD/_Scripts/{ => Game}/GameFramework/TimeManager.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameState.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameState/GameLevelState.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameState/GameLevelState.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameState/GameState.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameState/GameState.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameState/InventoryItemData.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameState/InventoryItemData.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameState/InventoryManager.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameState/InventoryManager.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameState/InventoryTestDataSo.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameState/InventoryTestDataSo.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameState/TestInventoryEditorTool.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameState/TestInventoryEditorTool.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/BaseUi.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/BaseUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/BaseViewModelUi.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/BaseViewModelUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/CommonUis.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/CommonUis/FadeUi.cs (93%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/CommonUis/FadeUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/CommonUis/GlobalMessageUi.cs (97%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/CommonUis/GlobalMessageUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/Huds.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/Huds/RestaurantHud.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/Huds/RestaurantHud.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/InteractionUis.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/InteractionUis/InteractionMessageUi.cs (94%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/InteractionUis/InteractionMessageUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/PopupUis.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/PopupUis/BasePopupUi.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/PopupUis/BasePopupUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/PopupUis/ConfirmUi.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmUi.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmViewModel.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmViewModel.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/PopupUis/PopupUi.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/PopupUis/PopupUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/PopupUis/UiState.cs (98%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/PopupUis/UiState.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/SimpleViewModel.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/BaseUi/SimpleViewModel.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/CommonButton.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/CommonButton.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/ScrollViewUi.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/ScrollViewUi/AutoScrollToSelected.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/ScrollViewUi/AutoScrollToSelected.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/ScrollViewUi/IAutoScrollItem.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/ScrollViewUi/IAutoScrollItem.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/UiManager.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/UiManager.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/Binding.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/Binding/BindingContext.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/Binding/BindingContext.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/Binding/BindingHelper.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/Binding/BindingHelper.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/Binding/BindingPath.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/Binding/BindingPath.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/Binding/IBindingTarget.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/Binding/IBindingTarget.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/Converters.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/Converters/CommonConverters.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/Converters/CommonConverters.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/Converters/IValueConverter.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/Converters/IValueConverter.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/IUiView.cs (100%) rename Assets/_DDD/_Scripts/{ => Game}/GameUi/Utils/IUiView.cs.meta (100%) create mode 100644 Assets/_DDD/_Scripts/Restaurant.meta rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Common.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Common/Actions.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs (92%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs (59%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Common/Decorator.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Customer.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Customer/Actions.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Customer/Actions/ContinueRestaurantOrder.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Customer/Actions/ContinueRestaurantOrder.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs (80%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs (99%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Customer/Conditionals.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs (99%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs (92%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Core.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Core/RestaurantCharacter.cs (98%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Core/RestaurantCharacter.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Core/RestaurantCharacterAnimation.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Core/RestaurantCharacterAnimation.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs (52%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Core/RestaurantCharacterMovement.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Core/RestaurantCharacterMovement.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Core/RestaurantCharacterVisual.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Core/RestaurantCharacterVisual.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Interfaces.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Interfaces/IAiMovement.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Interfaces/IAiMovement.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Interfaces/ICurrentDirection.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Interfaces/ICurrentDirection.cs.meta (100%) create mode 100644 Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Npc.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Npc/Customer.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs (97%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs (91%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Npc/RestaurantNpcMovement.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Npc/RestaurantNpcMovement.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Player.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs (98%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs (89%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Player/RestaurantPlayerInput.cs (97%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Player/RestaurantPlayerInput.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs (51%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Player/RestaurantPlayerMovement.cs (99%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantCharacter/Player/RestaurantPlayerMovement.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs (98%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/RestaurantManagementController.cs (96%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/RestaurantManagementController.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/RestaurantPlayerController.cs (97%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/RestaurantPlayerController.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/RestaurantRunController.cs (98%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/RestaurantRunController.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Run.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Run/Customer.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs (99%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Run/Customer/SpawnPointProvider.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Run/Customer/SpawnPointProvider.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Run/Customer/SpawnSchedule.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Run/Customer/SpawnSchedule.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Run/Customer/SpawnScheduleUtils.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Run/Customer/SpawnScheduleUtils.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Tasks.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs (96%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs (97%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/FlowController.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/FlowController.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/RestaurantController.cs (99%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/RestaurantController.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/RestaurantControllerDataSo.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/RestaurantControllerDataSo.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/RestaurantFlowTask.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantController/RestaurantFlowTask.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantData.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantData/DataObjects.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantData/DataObjects/RestaurantCustomerData.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantData/DataObjects/RestaurantCustomerData.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantData/DataObjects/RestaurantManagementData.cs (97%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantData/DataObjects/RestaurantManagementData.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantData/DataObjects/RestaurantPlayerData.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantData/DataObjects/RestaurantPlayerData.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantData/DataObjects/RestaurantRunData.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantData/DataObjects/RestaurantRunData.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantData/RestaurantData.cs (99%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantData/RestaurantData.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEnvironment.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEnvironment/IInteractionSubsystemOwner.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEnvironment/IInteractionSubsystemOwner.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEnvironment/Interactions.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEnvironment/RestaurantEnvironment.cs (99%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEnvironment/RestaurantEnvironment.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Cosmetic.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Cosmetic/InteractableHighlight.cs (99%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Cosmetic/InteractableHighlight.cs.meta (100%) create mode 100644 Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantEvents.cs create mode 100644 Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantEvents.cs.meta rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/RestaurantInteractionComponent.cs (97%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/RestaurantInteractionComponent.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/RestaurantInteractionEvents.cs (94%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/RestaurantInteractionEvents.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantCooks.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs (95%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs (97%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantManagements.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs (96%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs (97%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs (97%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantMeals.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantOrders.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs (95%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs (95%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs (94%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs (94%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs (95%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs (94%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs (97%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantSubsystemSolver.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantEvent/Solvers/RestaurantSubsystemSolver.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantState.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantState/FlowStates.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantState/FlowStates/RestaurantCustomerState.cs (99%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantState/FlowStates/RestaurantCustomerState.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantState/FlowStates/RestaurantEnvironmentState.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantState/FlowStates/RestaurantEnvironmentState.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantState/FlowStates/RestaurantManagementState.cs (99%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantState/FlowStates/RestaurantManagementState.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantState/FlowStates/RestaurantPlayerState.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantState/FlowStates/RestaurantPlayerState.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantState/FlowStates/RestaurantRunState.cs (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantState/FlowStates/RestaurantRunState.cs.meta (100%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantState/RestaurantState.cs (98%) rename Assets/_DDD/_Scripts/{ => Restaurant}/RestaurantState/RestaurantState.cs.meta (100%) create mode 100644 Assets/_DDD/_Scripts/Restaurant/RestaurantUi.meta rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/CookUi.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/CookUi/AddedCookSlotUiStrategy.cs (98%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/CookUi/AddedCookSlotUiStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/CookUi/CookUi.cs (99%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/CookUi/CookUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/CookUi/CookViewModel.cs (99%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/CookUi/CookViewModel.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/CookUi/SelectedIngredient.cs (96%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/CookUi/SelectedIngredient.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ChecklistData.cs (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ChecklistData.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ChecklistView.cs (86%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ChecklistView.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ExtensionsUi.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/InventoryUi.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs (98%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/InventoryUi/InventoryView.cs (90%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/InventoryUi/InventoryView.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemDetailView.cs (98%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemDetailView.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/IInteractableUi.cs (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/IInteractableUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs (86%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs (88%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/IngredientEntry.cs (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/IngredientEntry.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/ItemModel.cs (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/ItemModel.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs (97%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/ItemSlotUi.cs (99%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/ItemSlotUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/RestaurantManagementUi.cs (99%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/RestaurantManagementUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/RestaurantManagementViewModel.cs (99%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/RestaurantManagementViewModel.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TabUi.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TabUi/ITabButton.cs (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TabUi/ITabButton.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TabUi/TabButtonUi.cs (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TabUi/TabButtonUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TabUi/TabGroupUi.cs (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TabUi/TabGroupUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TasteHashTagSlotUi.cs (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TasteHashTagSlotUi.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayMenuUi.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs (97%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs (98%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs (89%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayRestaurantStateUi.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs (97%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs (97%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs (90%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs.meta (100%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs (97%) rename Assets/_DDD/_Scripts/{GameUi/BaseUi/PopupUis => Restaurant/RestaurantUi}/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs.meta (100%) delete mode 100644 Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs diff --git a/Assets/_DDD/_Scripts/Game.meta b/Assets/_DDD/_Scripts/Game.meta new file mode 100644 index 000000000..72a1c55ab --- /dev/null +++ b/Assets/_DDD/_Scripts/Game.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: c82c9604b41d4755b70d679f3a0a3947 +timeCreated: 1756279729 \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GameCharacter.meta b/Assets/_DDD/_Scripts/Game/GameCharacter.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameCharacter.meta rename to Assets/_DDD/_Scripts/Game/GameCharacter.meta diff --git a/Assets/_DDD/_Scripts/GameCharacter/IGameCharacter.cs b/Assets/_DDD/_Scripts/Game/GameCharacter/IGameCharacter.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameCharacter/IGameCharacter.cs rename to Assets/_DDD/_Scripts/Game/GameCharacter/IGameCharacter.cs diff --git a/Assets/_DDD/_Scripts/GameCharacter/IGameCharacter.cs.meta b/Assets/_DDD/_Scripts/Game/GameCharacter/IGameCharacter.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameCharacter/IGameCharacter.cs.meta rename to Assets/_DDD/_Scripts/Game/GameCharacter/IGameCharacter.cs.meta diff --git a/Assets/_DDD/_Scripts/GameCharacter/IMovementConstraint.cs b/Assets/_DDD/_Scripts/Game/GameCharacter/IMovementConstraint.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameCharacter/IMovementConstraint.cs rename to Assets/_DDD/_Scripts/Game/GameCharacter/IMovementConstraint.cs diff --git a/Assets/_DDD/_Scripts/GameCharacter/IMovementConstraint.cs.meta b/Assets/_DDD/_Scripts/Game/GameCharacter/IMovementConstraint.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameCharacter/IMovementConstraint.cs.meta rename to Assets/_DDD/_Scripts/Game/GameCharacter/IMovementConstraint.cs.meta diff --git a/Assets/_DDD/_Scripts/GameCharacter/SpineController.cs b/Assets/_DDD/_Scripts/Game/GameCharacter/SpineController.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameCharacter/SpineController.cs rename to Assets/_DDD/_Scripts/Game/GameCharacter/SpineController.cs diff --git a/Assets/_DDD/_Scripts/GameCharacter/SpineController.cs.meta b/Assets/_DDD/_Scripts/Game/GameCharacter/SpineController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameCharacter/SpineController.cs.meta rename to Assets/_DDD/_Scripts/Game/GameCharacter/SpineController.cs.meta diff --git a/Assets/_DDD/_Scripts/GameController.meta b/Assets/_DDD/_Scripts/Game/GameController.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameController.meta rename to Assets/_DDD/_Scripts/Game/GameController.meta diff --git a/Assets/_DDD/_Scripts/GameController/GameController.cs b/Assets/_DDD/_Scripts/Game/GameController/GameController.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameController/GameController.cs rename to Assets/_DDD/_Scripts/Game/GameController/GameController.cs diff --git a/Assets/_DDD/_Scripts/GameController/GameController.cs.meta b/Assets/_DDD/_Scripts/Game/GameController/GameController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameController/GameController.cs.meta rename to Assets/_DDD/_Scripts/Game/GameController/GameController.cs.meta diff --git a/Assets/_DDD/_Scripts/GameData.meta b/Assets/_DDD/_Scripts/Game/GameData.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameData.meta rename to Assets/_DDD/_Scripts/Game/GameData.meta diff --git a/Assets/_DDD/_Scripts/GameData/DataManager.cs b/Assets/_DDD/_Scripts/Game/GameData/DataManager.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameData/DataManager.cs rename to Assets/_DDD/_Scripts/Game/GameData/DataManager.cs diff --git a/Assets/_DDD/_Scripts/GameData/DataManager.cs.meta b/Assets/_DDD/_Scripts/Game/GameData/DataManager.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameData/DataManager.cs.meta rename to Assets/_DDD/_Scripts/Game/GameData/DataManager.cs.meta diff --git a/Assets/_DDD/_Scripts/GameData/DataSo.cs b/Assets/_DDD/_Scripts/Game/GameData/DataSo.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameData/DataSo.cs rename to Assets/_DDD/_Scripts/Game/GameData/DataSo.cs diff --git a/Assets/_DDD/_Scripts/GameData/DataSo.cs.meta b/Assets/_DDD/_Scripts/Game/GameData/DataSo.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameData/DataSo.cs.meta rename to Assets/_DDD/_Scripts/Game/GameData/DataSo.cs.meta diff --git a/Assets/_DDD/_Scripts/GameData/GameData.cs b/Assets/_DDD/_Scripts/Game/GameData/GameData.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameData/GameData.cs rename to Assets/_DDD/_Scripts/Game/GameData/GameData.cs diff --git a/Assets/_DDD/_Scripts/GameData/GameData.cs.meta b/Assets/_DDD/_Scripts/Game/GameData/GameData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameData/GameData.cs.meta rename to Assets/_DDD/_Scripts/Game/GameData/GameData.cs.meta diff --git a/Assets/_DDD/_Scripts/GameData/GameLocalizationData.cs b/Assets/_DDD/_Scripts/Game/GameData/GameLocalizationData.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameData/GameLocalizationData.cs rename to Assets/_DDD/_Scripts/Game/GameData/GameLocalizationData.cs diff --git a/Assets/_DDD/_Scripts/GameData/GameLocalizationData.cs.meta b/Assets/_DDD/_Scripts/Game/GameData/GameLocalizationData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameData/GameLocalizationData.cs.meta rename to Assets/_DDD/_Scripts/Game/GameData/GameLocalizationData.cs.meta diff --git a/Assets/_DDD/_Scripts/GameData/IId.cs b/Assets/_DDD/_Scripts/Game/GameData/IId.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameData/IId.cs rename to Assets/_DDD/_Scripts/Game/GameData/IId.cs diff --git a/Assets/_DDD/_Scripts/GameData/IId.cs.meta b/Assets/_DDD/_Scripts/Game/GameData/IId.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameData/IId.cs.meta rename to Assets/_DDD/_Scripts/Game/GameData/IId.cs.meta diff --git a/Assets/_DDD/_Scripts/GameData/PopupUiData.cs b/Assets/_DDD/_Scripts/Game/GameData/PopupUiData.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameData/PopupUiData.cs rename to Assets/_DDD/_Scripts/Game/GameData/PopupUiData.cs diff --git a/Assets/_DDD/_Scripts/GameData/PopupUiData.cs.meta b/Assets/_DDD/_Scripts/Game/GameData/PopupUiData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameData/PopupUiData.cs.meta rename to Assets/_DDD/_Scripts/Game/GameData/PopupUiData.cs.meta diff --git a/Assets/_DDD/_Scripts/GameEvent.meta b/Assets/_DDD/_Scripts/Game/GameEvent.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameEvent.meta rename to Assets/_DDD/_Scripts/Game/GameEvent.meta diff --git a/Assets/_DDD/_Scripts/GameEvent/GameEvents.cs b/Assets/_DDD/_Scripts/Game/GameEvent/GameEvents.cs similarity index 83% rename from Assets/_DDD/_Scripts/GameEvent/GameEvents.cs rename to Assets/_DDD/_Scripts/Game/GameEvent/GameEvents.cs index f1242308e..a899de9f8 100644 --- a/Assets/_DDD/_Scripts/GameEvent/GameEvents.cs +++ b/Assets/_DDD/_Scripts/Game/GameEvent/GameEvents.cs @@ -18,13 +18,6 @@ public static class GameEvents public static InventoryChangedEvent InventoryChangedEvent = new(); public static SmartVariablesDirtyEvent SmartVariablesDirtyEvent = new(); } - - public static class RestaurantEvents - { - public static ItemSlotSelectedEvent ItemSlotSelectedEvent = new(); - public static TodayMenuAddedEvent TodayMenuAddedEvent = new(); - public static TodayMenuRemovedEvent TodayMenuRemovedEvent = new(); - } // public static class VoyageEvents // { @@ -105,20 +98,4 @@ public class SmartVariablesDirtyEvent : IEvent { public SmartVariablesDomain DomainFlags; } - - #region RestaurantInteractionEvents - - public class ItemSlotSelectedEvent : IEvent - { - public ItemModel Model; - } - - public class TodayMenuAddedEvent : IEvent {} - - public class TodayMenuRemovedEvent : IEvent - { - public InventoryCategoryType InventoryCategoryType; - } - - #endregion } diff --git a/Assets/_DDD/_Scripts/GameEvent/GameEvents.cs.meta b/Assets/_DDD/_Scripts/Game/GameEvent/GameEvents.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameEvent/GameEvents.cs.meta rename to Assets/_DDD/_Scripts/Game/GameEvent/GameEvents.cs.meta diff --git a/Assets/_DDD/_Scripts/GameEvent/IInteractable.cs b/Assets/_DDD/_Scripts/Game/GameEvent/IInteractable.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameEvent/IInteractable.cs rename to Assets/_DDD/_Scripts/Game/GameEvent/IInteractable.cs diff --git a/Assets/_DDD/_Scripts/GameEvent/IInteractable.cs.meta b/Assets/_DDD/_Scripts/Game/GameEvent/IInteractable.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameEvent/IInteractable.cs.meta rename to Assets/_DDD/_Scripts/Game/GameEvent/IInteractable.cs.meta diff --git a/Assets/_DDD/_Scripts/GameEvent/InteractionSubsystem.cs b/Assets/_DDD/_Scripts/Game/GameEvent/InteractionSubsystem.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameEvent/InteractionSubsystem.cs rename to Assets/_DDD/_Scripts/Game/GameEvent/InteractionSubsystem.cs diff --git a/Assets/_DDD/_Scripts/GameEvent/InteractionSubsystem.cs.meta b/Assets/_DDD/_Scripts/Game/GameEvent/InteractionSubsystem.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameEvent/InteractionSubsystem.cs.meta rename to Assets/_DDD/_Scripts/Game/GameEvent/InteractionSubsystem.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFlow.meta b/Assets/_DDD/_Scripts/Game/GameFlow.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFlow.meta rename to Assets/_DDD/_Scripts/Game/GameFlow.meta diff --git a/Assets/_DDD/_Scripts/GameFlow/GameFlowDataSo.cs b/Assets/_DDD/_Scripts/Game/GameFlow/GameFlowDataSo.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFlow/GameFlowDataSo.cs rename to Assets/_DDD/_Scripts/Game/GameFlow/GameFlowDataSo.cs diff --git a/Assets/_DDD/_Scripts/GameFlow/GameFlowDataSo.cs.meta b/Assets/_DDD/_Scripts/Game/GameFlow/GameFlowDataSo.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFlow/GameFlowDataSo.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFlow/GameFlowDataSo.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFlow/GameFlowManager.cs b/Assets/_DDD/_Scripts/Game/GameFlow/GameFlowManager.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFlow/GameFlowManager.cs rename to Assets/_DDD/_Scripts/Game/GameFlow/GameFlowManager.cs diff --git a/Assets/_DDD/_Scripts/GameFlow/GameFlowManager.cs.meta b/Assets/_DDD/_Scripts/Game/GameFlow/GameFlowManager.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFlow/GameFlowManager.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFlow/GameFlowManager.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFlow/GameFlowSceneMappingSo.cs b/Assets/_DDD/_Scripts/Game/GameFlow/GameFlowSceneMappingSo.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFlow/GameFlowSceneMappingSo.cs rename to Assets/_DDD/_Scripts/Game/GameFlow/GameFlowSceneMappingSo.cs diff --git a/Assets/_DDD/_Scripts/GameFlow/GameFlowSceneMappingSo.cs.meta b/Assets/_DDD/_Scripts/Game/GameFlow/GameFlowSceneMappingSo.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFlow/GameFlowSceneMappingSo.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFlow/GameFlowSceneMappingSo.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFlow/IGameFlowHandler.cs b/Assets/_DDD/_Scripts/Game/GameFlow/IGameFlowHandler.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFlow/IGameFlowHandler.cs rename to Assets/_DDD/_Scripts/Game/GameFlow/IGameFlowHandler.cs diff --git a/Assets/_DDD/_Scripts/GameFlow/IGameFlowHandler.cs.meta b/Assets/_DDD/_Scripts/Game/GameFlow/IGameFlowHandler.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFlow/IGameFlowHandler.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFlow/IGameFlowHandler.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework.meta b/Assets/_DDD/_Scripts/Game/GameFramework.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework.meta rename to Assets/_DDD/_Scripts/Game/GameFramework.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/EventBus.meta b/Assets/_DDD/_Scripts/Game/GameFramework/EventBus.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/EventBus.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/EventBus.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/EventBus/EventBus.cs b/Assets/_DDD/_Scripts/Game/GameFramework/EventBus/EventBus.cs similarity index 96% rename from Assets/_DDD/_Scripts/GameFramework/EventBus/EventBus.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/EventBus/EventBus.cs index 56ea0f779..cfc7a6420 100644 --- a/Assets/_DDD/_Scripts/GameFramework/EventBus/EventBus.cs +++ b/Assets/_DDD/_Scripts/Game/GameFramework/EventBus/EventBus.cs @@ -39,7 +39,7 @@ public static void Broadcast(T evt) where T : IEvent { foreach (var handler in list.Cast>()) { - handler.Invoke(evt); + handler.HandleEvent(evt); } } } diff --git a/Assets/_DDD/_Scripts/GameFramework/EventBus/EventBus.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/EventBus/EventBus.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/EventBus/EventBus.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/EventBus/EventBus.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/EventBus/IEvent.cs b/Assets/_DDD/_Scripts/Game/GameFramework/EventBus/IEvent.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/EventBus/IEvent.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/EventBus/IEvent.cs diff --git a/Assets/_DDD/_Scripts/GameFramework/EventBus/IEvent.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/EventBus/IEvent.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/EventBus/IEvent.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/EventBus/IEvent.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/EventBus/IEventHandler.cs b/Assets/_DDD/_Scripts/Game/GameFramework/EventBus/IEventHandler.cs similarity index 72% rename from Assets/_DDD/_Scripts/GameFramework/EventBus/IEventHandler.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/EventBus/IEventHandler.cs index 2239da7c0..03ce3f4b8 100644 --- a/Assets/_DDD/_Scripts/GameFramework/EventBus/IEventHandler.cs +++ b/Assets/_DDD/_Scripts/Game/GameFramework/EventBus/IEventHandler.cs @@ -2,6 +2,6 @@ namespace DDD { public interface IEventHandler where T : IEvent { - void Invoke(T evt); + void HandleEvent(T evt); } } \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GameFramework/EventBus/IEventHandler.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/EventBus/IEventHandler.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/EventBus/IEventHandler.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/EventBus/IEventHandler.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/GameManager.cs b/Assets/_DDD/_Scripts/Game/GameFramework/GameManager.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/GameManager.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/GameManager.cs diff --git a/Assets/_DDD/_Scripts/GameFramework/GameManager.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/GameManager.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/GameManager.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/GameManager.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/IManager.cs b/Assets/_DDD/_Scripts/Game/GameFramework/IManager.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/IManager.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/IManager.cs diff --git a/Assets/_DDD/_Scripts/GameFramework/IManager.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/IManager.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/IManager.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/IManager.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/Localization.meta b/Assets/_DDD/_Scripts/Game/GameFramework/Localization.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Localization.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/Localization.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/Localization/GoogleSheetData.cs b/Assets/_DDD/_Scripts/Game/GameFramework/Localization/GoogleSheetData.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Localization/GoogleSheetData.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/Localization/GoogleSheetData.cs diff --git a/Assets/_DDD/_Scripts/GameFramework/Localization/GoogleSheetData.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/Localization/GoogleSheetData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Localization/GoogleSheetData.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/Localization/GoogleSheetData.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/Localization/GoogleSheetWebClient.cs b/Assets/_DDD/_Scripts/Game/GameFramework/Localization/GoogleSheetWebClient.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Localization/GoogleSheetWebClient.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/Localization/GoogleSheetWebClient.cs diff --git a/Assets/_DDD/_Scripts/GameFramework/Localization/GoogleSheetWebClient.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/Localization/GoogleSheetWebClient.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Localization/GoogleSheetWebClient.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/Localization/GoogleSheetWebClient.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationExporter.cs b/Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationExporter.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationExporter.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationExporter.cs diff --git a/Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationExporter.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationExporter.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationExporter.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationExporter.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationImporter.cs b/Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationImporter.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationImporter.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationImporter.cs diff --git a/Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationImporter.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationImporter.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationImporter.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationImporter.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationManager.cs b/Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationManager.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationManager.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationManager.cs diff --git a/Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationManager.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationManager.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationManager.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationManager.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationSyncTool.cs b/Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationSyncTool.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationSyncTool.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationSyncTool.cs diff --git a/Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationSyncTool.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationSyncTool.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Localization/LocalizationSyncTool.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/Localization/LocalizationSyncTool.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/Localization/SmartStringVariables.cs b/Assets/_DDD/_Scripts/Game/GameFramework/Localization/SmartStringVariables.cs similarity index 98% rename from Assets/_DDD/_Scripts/GameFramework/Localization/SmartStringVariables.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/Localization/SmartStringVariables.cs index 0dbf0df71..cb58e35e0 100644 --- a/Assets/_DDD/_Scripts/GameFramework/Localization/SmartStringVariables.cs +++ b/Assets/_DDD/_Scripts/Game/GameFramework/Localization/SmartStringVariables.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; +using DDD.Restaurant; using UnityEngine; using UnityEngine.Localization.SmartFormat.PersistentVariables; @@ -71,7 +72,7 @@ public void PostInit() EventBus.Register(this); } - public void Invoke(SmartVariablesDirtyEvent evt) + public void HandleEvent(SmartVariablesDirtyEvent evt) { var flags = evt.DomainFlags; if (flags == SmartVariablesDomain.All) diff --git a/Assets/_DDD/_Scripts/GameFramework/Localization/SmartStringVariables.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/Localization/SmartStringVariables.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Localization/SmartStringVariables.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/Localization/SmartStringVariables.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/ManagerDefinitionSo.cs b/Assets/_DDD/_Scripts/Game/GameFramework/ManagerDefinitionSo.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/ManagerDefinitionSo.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/ManagerDefinitionSo.cs diff --git a/Assets/_DDD/_Scripts/GameFramework/ManagerDefinitionSo.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/ManagerDefinitionSo.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/ManagerDefinitionSo.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/ManagerDefinitionSo.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/PlayerManager.cs b/Assets/_DDD/_Scripts/Game/GameFramework/PlayerManager.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/PlayerManager.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/PlayerManager.cs diff --git a/Assets/_DDD/_Scripts/GameFramework/PlayerManager.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/PlayerManager.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/PlayerManager.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/PlayerManager.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/Scene.meta b/Assets/_DDD/_Scripts/Game/GameFramework/Scene.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Scene.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/Scene.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/Scene/FadeSceneTransitionHandlerSo.cs b/Assets/_DDD/_Scripts/Game/GameFramework/Scene/FadeSceneTransitionHandlerSo.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Scene/FadeSceneTransitionHandlerSo.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/Scene/FadeSceneTransitionHandlerSo.cs diff --git a/Assets/_DDD/_Scripts/GameFramework/Scene/FadeSceneTransitionHandlerSo.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/Scene/FadeSceneTransitionHandlerSo.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Scene/FadeSceneTransitionHandlerSo.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/Scene/FadeSceneTransitionHandlerSo.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/Scene/SceneManager.cs b/Assets/_DDD/_Scripts/Game/GameFramework/Scene/SceneManager.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Scene/SceneManager.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/Scene/SceneManager.cs diff --git a/Assets/_DDD/_Scripts/GameFramework/Scene/SceneManager.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/Scene/SceneManager.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Scene/SceneManager.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/Scene/SceneManager.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/Scene/SceneTransitionHandler.cs b/Assets/_DDD/_Scripts/Game/GameFramework/Scene/SceneTransitionHandler.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Scene/SceneTransitionHandler.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/Scene/SceneTransitionHandler.cs diff --git a/Assets/_DDD/_Scripts/GameFramework/Scene/SceneTransitionHandler.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/Scene/SceneTransitionHandler.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Scene/SceneTransitionHandler.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/Scene/SceneTransitionHandler.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/Scene/SceneTransitionHandlerSo.cs b/Assets/_DDD/_Scripts/Game/GameFramework/Scene/SceneTransitionHandlerSo.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Scene/SceneTransitionHandlerSo.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/Scene/SceneTransitionHandlerSo.cs diff --git a/Assets/_DDD/_Scripts/GameFramework/Scene/SceneTransitionHandlerSo.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/Scene/SceneTransitionHandlerSo.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/Scene/SceneTransitionHandlerSo.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/Scene/SceneTransitionHandlerSo.cs.meta diff --git a/Assets/_DDD/_Scripts/GameFramework/TimeManager.cs b/Assets/_DDD/_Scripts/Game/GameFramework/TimeManager.cs similarity index 97% rename from Assets/_DDD/_Scripts/GameFramework/TimeManager.cs rename to Assets/_DDD/_Scripts/Game/GameFramework/TimeManager.cs index 536e4bcb0..6ea575988 100644 --- a/Assets/_DDD/_Scripts/GameFramework/TimeManager.cs +++ b/Assets/_DDD/_Scripts/Game/GameFramework/TimeManager.cs @@ -68,7 +68,7 @@ private void UpdateTimeScale() public bool IsPaused => Mathf.Approximately(CurrentTimeScale, 0f); - public void Invoke(TimeScaleChangeEvent evt) + public void HandleEvent(TimeScaleChangeEvent evt) { if (evt.NewTimeScale < 1f) { diff --git a/Assets/_DDD/_Scripts/GameFramework/TimeManager.cs.meta b/Assets/_DDD/_Scripts/Game/GameFramework/TimeManager.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameFramework/TimeManager.cs.meta rename to Assets/_DDD/_Scripts/Game/GameFramework/TimeManager.cs.meta diff --git a/Assets/_DDD/_Scripts/GameState.meta b/Assets/_DDD/_Scripts/Game/GameState.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameState.meta rename to Assets/_DDD/_Scripts/Game/GameState.meta diff --git a/Assets/_DDD/_Scripts/GameState/GameLevelState.cs b/Assets/_DDD/_Scripts/Game/GameState/GameLevelState.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameState/GameLevelState.cs rename to Assets/_DDD/_Scripts/Game/GameState/GameLevelState.cs diff --git a/Assets/_DDD/_Scripts/GameState/GameLevelState.cs.meta b/Assets/_DDD/_Scripts/Game/GameState/GameLevelState.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameState/GameLevelState.cs.meta rename to Assets/_DDD/_Scripts/Game/GameState/GameLevelState.cs.meta diff --git a/Assets/_DDD/_Scripts/GameState/GameState.cs b/Assets/_DDD/_Scripts/Game/GameState/GameState.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameState/GameState.cs rename to Assets/_DDD/_Scripts/Game/GameState/GameState.cs diff --git a/Assets/_DDD/_Scripts/GameState/GameState.cs.meta b/Assets/_DDD/_Scripts/Game/GameState/GameState.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameState/GameState.cs.meta rename to Assets/_DDD/_Scripts/Game/GameState/GameState.cs.meta diff --git a/Assets/_DDD/_Scripts/GameState/InventoryItemData.cs b/Assets/_DDD/_Scripts/Game/GameState/InventoryItemData.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameState/InventoryItemData.cs rename to Assets/_DDD/_Scripts/Game/GameState/InventoryItemData.cs diff --git a/Assets/_DDD/_Scripts/GameState/InventoryItemData.cs.meta b/Assets/_DDD/_Scripts/Game/GameState/InventoryItemData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameState/InventoryItemData.cs.meta rename to Assets/_DDD/_Scripts/Game/GameState/InventoryItemData.cs.meta diff --git a/Assets/_DDD/_Scripts/GameState/InventoryManager.cs b/Assets/_DDD/_Scripts/Game/GameState/InventoryManager.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameState/InventoryManager.cs rename to Assets/_DDD/_Scripts/Game/GameState/InventoryManager.cs diff --git a/Assets/_DDD/_Scripts/GameState/InventoryManager.cs.meta b/Assets/_DDD/_Scripts/Game/GameState/InventoryManager.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameState/InventoryManager.cs.meta rename to Assets/_DDD/_Scripts/Game/GameState/InventoryManager.cs.meta diff --git a/Assets/_DDD/_Scripts/GameState/InventoryTestDataSo.cs b/Assets/_DDD/_Scripts/Game/GameState/InventoryTestDataSo.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameState/InventoryTestDataSo.cs rename to Assets/_DDD/_Scripts/Game/GameState/InventoryTestDataSo.cs diff --git a/Assets/_DDD/_Scripts/GameState/InventoryTestDataSo.cs.meta b/Assets/_DDD/_Scripts/Game/GameState/InventoryTestDataSo.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameState/InventoryTestDataSo.cs.meta rename to Assets/_DDD/_Scripts/Game/GameState/InventoryTestDataSo.cs.meta diff --git a/Assets/_DDD/_Scripts/GameState/TestInventoryEditorTool.cs b/Assets/_DDD/_Scripts/Game/GameState/TestInventoryEditorTool.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameState/TestInventoryEditorTool.cs rename to Assets/_DDD/_Scripts/Game/GameState/TestInventoryEditorTool.cs diff --git a/Assets/_DDD/_Scripts/GameState/TestInventoryEditorTool.cs.meta b/Assets/_DDD/_Scripts/Game/GameState/TestInventoryEditorTool.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameState/TestInventoryEditorTool.cs.meta rename to Assets/_DDD/_Scripts/Game/GameState/TestInventoryEditorTool.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi.meta b/Assets/_DDD/_Scripts/Game/GameUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi.meta rename to Assets/_DDD/_Scripts/Game/GameUi.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/BaseUi.cs b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/BaseUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/BaseUi.cs rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/BaseUi.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/BaseUi.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/BaseUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/BaseUi.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/BaseUi.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/BaseViewModelUi.cs b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/BaseViewModelUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/BaseViewModelUi.cs rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/BaseViewModelUi.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/BaseViewModelUi.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/BaseViewModelUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/BaseViewModelUi.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/BaseViewModelUi.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/CommonUis.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/CommonUis.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/CommonUis.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/CommonUis.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/CommonUis/FadeUi.cs b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/CommonUis/FadeUi.cs similarity index 93% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/CommonUis/FadeUi.cs rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/CommonUis/FadeUi.cs index e9ea42a6f..6cb05137b 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/CommonUis/FadeUi.cs +++ b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/CommonUis/FadeUi.cs @@ -23,12 +23,12 @@ protected override void OnCreatedInitialize() EventBus.Register(this); } - public void Invoke(FadeInEvent evt) + public void HandleEvent(FadeInEvent evt) { _ = FadeInAsync(evt); } - public void Invoke(FadeOutEvent evt) + public void HandleEvent(FadeOutEvent evt) { _ = FadeOutAsync(evt); } diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/CommonUis/FadeUi.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/CommonUis/FadeUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/CommonUis/FadeUi.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/CommonUis/FadeUi.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/CommonUis/GlobalMessageUi.cs b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/CommonUis/GlobalMessageUi.cs similarity index 97% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/CommonUis/GlobalMessageUi.cs rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/CommonUis/GlobalMessageUi.cs index 7dc140664..11ff40751 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/CommonUis/GlobalMessageUi.cs +++ b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/CommonUis/GlobalMessageUi.cs @@ -31,7 +31,7 @@ protected override void OnCreatedInitialize() EventBus.Register(this); } - public void Invoke(ShowGlobalMessageEvent evt) + public void HandleEvent(ShowGlobalMessageEvent evt) { _messageQueue.Enqueue(evt); TryDisplayNext(); diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/CommonUis/GlobalMessageUi.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/CommonUis/GlobalMessageUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/CommonUis/GlobalMessageUi.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/CommonUis/GlobalMessageUi.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/Huds.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/Huds.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/Huds.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/Huds.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/Huds/RestaurantHud.cs b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/Huds/RestaurantHud.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/Huds/RestaurantHud.cs rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/Huds/RestaurantHud.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/Huds/RestaurantHud.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/Huds/RestaurantHud.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/Huds/RestaurantHud.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/Huds/RestaurantHud.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/InteractionUis.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/InteractionUis.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/InteractionUis.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/InteractionUis.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/InteractionUis/InteractionMessageUi.cs b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/InteractionUis/InteractionMessageUi.cs similarity index 94% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/InteractionUis/InteractionMessageUi.cs rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/InteractionUis/InteractionMessageUi.cs index fa5191a46..9062a088b 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/InteractionUis/InteractionMessageUi.cs +++ b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/InteractionUis/InteractionMessageUi.cs @@ -35,12 +35,12 @@ protected override void OnCreatedInitialize() EventBus.Register(this); } - public void Invoke(ShowInteractionUiEvent evt) + public void HandleEvent(ShowInteractionUiEvent evt) { ShowInteractionUiEvent(evt); } - public void Invoke(HideInteractionUiEvent evt) + public void HandleEvent(HideInteractionUiEvent evt) { HideInteractionUiEvent(evt); } diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/InteractionUis/InteractionMessageUi.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/InteractionUis/InteractionMessageUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/InteractionUis/InteractionMessageUi.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/InteractionUis/InteractionMessageUi.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/BasePopupUi.cs b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/BasePopupUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/BasePopupUi.cs rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/BasePopupUi.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/BasePopupUi.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/BasePopupUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/BasePopupUi.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/BasePopupUi.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/ConfirmUi.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/ConfirmUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/ConfirmUi.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/ConfirmUi.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmUi.cs b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmUi.cs rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmUi.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmUi.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmUi.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmUi.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmViewModel.cs b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmViewModel.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmViewModel.cs rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmViewModel.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmViewModel.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmViewModel.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmViewModel.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/ConfirmUi/ConfirmViewModel.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/PopupUi.cs b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/PopupUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/PopupUi.cs rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/PopupUi.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/PopupUi.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/PopupUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/PopupUi.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/PopupUi.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/UiState.cs b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/UiState.cs similarity index 98% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/UiState.cs rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/UiState.cs index ecb2e0bc5..5070d8a98 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/UiState.cs +++ b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/UiState.cs @@ -62,7 +62,7 @@ public void UnregisterPopupUI(BasePopupUi ui) } } - public void Invoke(OpenPopupUiEvent evt) + public void HandleEvent(OpenPopupUiEvent evt) { if (_popupUis.TryGetValue(evt.UiType, out var popup)) { @@ -82,7 +82,7 @@ public void Invoke(OpenPopupUiEvent evt) } } - public void Invoke(ClosePopupUiEvent evt) + public void HandleEvent(ClosePopupUiEvent evt) { if (_popupUis.TryGetValue(evt.UiType, out var popup)) { diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/UiState.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/UiState.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/UiState.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/PopupUis/UiState.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/SimpleViewModel.cs b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/SimpleViewModel.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/SimpleViewModel.cs rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/SimpleViewModel.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/SimpleViewModel.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/BaseUi/SimpleViewModel.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/SimpleViewModel.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/BaseUi/SimpleViewModel.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/CommonButton.cs b/Assets/_DDD/_Scripts/Game/GameUi/CommonButton.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/CommonButton.cs rename to Assets/_DDD/_Scripts/Game/GameUi/CommonButton.cs diff --git a/Assets/_DDD/_Scripts/GameUi/CommonButton.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/CommonButton.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/CommonButton.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/CommonButton.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/ScrollViewUi.meta b/Assets/_DDD/_Scripts/Game/GameUi/ScrollViewUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/ScrollViewUi.meta rename to Assets/_DDD/_Scripts/Game/GameUi/ScrollViewUi.meta diff --git a/Assets/_DDD/_Scripts/GameUi/ScrollViewUi/AutoScrollToSelected.cs b/Assets/_DDD/_Scripts/Game/GameUi/ScrollViewUi/AutoScrollToSelected.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/ScrollViewUi/AutoScrollToSelected.cs rename to Assets/_DDD/_Scripts/Game/GameUi/ScrollViewUi/AutoScrollToSelected.cs diff --git a/Assets/_DDD/_Scripts/GameUi/ScrollViewUi/AutoScrollToSelected.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/ScrollViewUi/AutoScrollToSelected.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/ScrollViewUi/AutoScrollToSelected.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/ScrollViewUi/AutoScrollToSelected.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/ScrollViewUi/IAutoScrollItem.cs b/Assets/_DDD/_Scripts/Game/GameUi/ScrollViewUi/IAutoScrollItem.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/ScrollViewUi/IAutoScrollItem.cs rename to Assets/_DDD/_Scripts/Game/GameUi/ScrollViewUi/IAutoScrollItem.cs diff --git a/Assets/_DDD/_Scripts/GameUi/ScrollViewUi/IAutoScrollItem.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/ScrollViewUi/IAutoScrollItem.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/ScrollViewUi/IAutoScrollItem.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/ScrollViewUi/IAutoScrollItem.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/UiManager.cs b/Assets/_DDD/_Scripts/Game/GameUi/UiManager.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/UiManager.cs rename to Assets/_DDD/_Scripts/Game/GameUi/UiManager.cs diff --git a/Assets/_DDD/_Scripts/GameUi/UiManager.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/UiManager.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/UiManager.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/UiManager.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/Utils.meta b/Assets/_DDD/_Scripts/Game/GameUi/Utils.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils.meta rename to Assets/_DDD/_Scripts/Game/GameUi/Utils.meta diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/Binding.meta b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/Binding.meta rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding.meta diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/Binding/BindingContext.cs b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingContext.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/Binding/BindingContext.cs rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingContext.cs diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/Binding/BindingContext.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingContext.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/Binding/BindingContext.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingContext.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/Binding/BindingHelper.cs b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingHelper.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/Binding/BindingHelper.cs rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingHelper.cs diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/Binding/BindingHelper.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingHelper.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/Binding/BindingHelper.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingHelper.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/Binding/BindingPath.cs b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingPath.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/Binding/BindingPath.cs rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingPath.cs diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/Binding/BindingPath.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingPath.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/Binding/BindingPath.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingPath.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/Binding/IBindingTarget.cs b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/IBindingTarget.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/Binding/IBindingTarget.cs rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/IBindingTarget.cs diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/Binding/IBindingTarget.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/IBindingTarget.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/Binding/IBindingTarget.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/IBindingTarget.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/Converters.meta b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Converters.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/Converters.meta rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/Converters.meta diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/Converters/CommonConverters.cs b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Converters/CommonConverters.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/Converters/CommonConverters.cs rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/Converters/CommonConverters.cs diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/Converters/CommonConverters.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Converters/CommonConverters.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/Converters/CommonConverters.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/Converters/CommonConverters.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/Converters/IValueConverter.cs b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Converters/IValueConverter.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/Converters/IValueConverter.cs rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/Converters/IValueConverter.cs diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/Converters/IValueConverter.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Converters/IValueConverter.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/Converters/IValueConverter.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/Converters/IValueConverter.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/IUiView.cs b/Assets/_DDD/_Scripts/Game/GameUi/Utils/IUiView.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/IUiView.cs rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/IUiView.cs diff --git a/Assets/_DDD/_Scripts/GameUi/Utils/IUiView.cs.meta b/Assets/_DDD/_Scripts/Game/GameUi/Utils/IUiView.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/Utils/IUiView.cs.meta rename to Assets/_DDD/_Scripts/Game/GameUi/Utils/IUiView.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant.meta b/Assets/_DDD/_Scripts/Restaurant.meta new file mode 100644 index 000000000..dcded6900 --- /dev/null +++ b/Assets/_DDD/_Scripts/Restaurant.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 8abdb2bb619b4d76941689e4589aa80f +timeCreated: 1756279736 \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs similarity index 92% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs index 8abdaabe7..e00335603 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs @@ -2,7 +2,7 @@ using Opsive.BehaviorDesigner.Runtime.Tasks.Actions; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { /// /// 인터랙션 타겟을 바라보도록 시각(Spine/애니메이션) 컴포넌트에 위임하는 액션의 껍데기/골격. @@ -13,8 +13,6 @@ public class LookAtInteractionTarget : Action [Header("Target Settings")] [Tooltip("InteractionPoints를 사용해 가장 적절한 지점을 바라봄")] [SerializeField] private bool useInteractionPoints = true; - [Tooltip("타겟이 없을 때 즉시 실패할지 여부")] - [SerializeField] private bool failIfNoTarget = true; [Header("Update Settings")] [Tooltip("프레임마다 갱신하여 지속적으로 바라볼지 (Running 반환) 여부. 비활성화 시 1회만 시도하고 성공 처리")] @@ -55,7 +53,7 @@ public override TaskStatus OnUpdate() visual?.EndLookAt(); isLooking = false; } - return failIfNoTarget ? TaskStatus.Failure : TaskStatus.Success; + return TaskStatus.Success; } currentLookPosition = CalculateLookPosition(target); @@ -91,14 +89,14 @@ private GameObject GetTarget() return cachedTarget; // 블랙보드에서 타겟 검색 - cachedTarget = gameObject.GetComponentInParent() + cachedTarget = gameObject.GetComponent() ?.GetCurrentInteractionTarget(); if (IsValidTarget(cachedTarget)) return cachedTarget; // Interactor의 포커스된 타겟 검색 - var interactor = gameObject.GetComponentInParent(); + var interactor = gameObject.GetComponent(); var focusedInteractable = interactor?.GetFocusedInteractable(); cachedTarget = focusedInteractable?.GetInteractableGameObject(); diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs similarity index 59% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs index 828782504..58a3ce5a7 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs @@ -2,7 +2,7 @@ using Opsive.BehaviorDesigner.Runtime.Tasks.Actions; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { /// /// IAiMovement를 이용해 인터랙션 타겟으로 이동하는 액션 @@ -12,8 +12,6 @@ public class MoveToInteractionTarget : Action [Header("Target Settings")] [Tooltip("InteractionPoints를 사용해 가장 가까운 지점으로 이동")] [SerializeField] private bool useInteractionPoints = true; - [Tooltip("타겟이 없을 때 즉시 실패할지 여부")] - [SerializeField] private bool failIfNoTarget = true; [Header("Movement Settings")] [Tooltip("목적지 도달 거리")] @@ -21,34 +19,36 @@ public class MoveToInteractionTarget : Action [Tooltip("목적지 재계산 주기(초), 0 이하면 비활성화")] [SerializeField] private float repathInterval = 0.5f; - private IAiMovement movement; - private float repathTimer; - private Vector3 currentDestination; - private bool isMoving; - private GameObject cachedTarget; + private IAiMovement _movement; + private float _repathTimer; + private Vector3 _currentDestination; + private bool _isMoving; public override void OnStart() { - if (cachedTarget != null) return; - movement = gameObject.GetComponentInParent(); - repathTimer = 0f; - isMoving = false; - cachedTarget = null; + _movement = gameObject.GetComponent(); + _repathTimer = 0f; + _isMoving = false; + + Debug.Log($"MoveToInteractionTarget - GameObject: {gameObject.name}"); } public override TaskStatus OnUpdate() { - if (movement == null) + if (_movement == null) return TaskStatus.Failure; var target = GetTarget(); if (target == null) - return failIfNoTarget ? TaskStatus.Failure : TaskStatus.Success; + { + return TaskStatus.Running; // If has no target, stuck in this state + } + Debug.Log(target.name); if (ShouldUpdateDestination()) { - currentDestination = CalculateDestination(target); + _currentDestination = CalculateDestination(target); StartOrUpdateMovement(); } @@ -58,42 +58,26 @@ public override TaskStatus OnUpdate() public override void OnEnd() { StopMovement(); - cachedTarget = null; } private GameObject GetTarget() { - // 캐시된 타겟이 유효하면 재사용 - if (IsValidTarget(cachedTarget)) - return cachedTarget; - - // 블랙보드에서 타겟 검색 - cachedTarget = gameObject.GetComponentInParent() - ?.GetCurrentInteractionTarget(); - - if (IsValidTarget(cachedTarget)) - return cachedTarget; - // Interactor의 포커스된 타겟 검색 - var interactor = gameObject.GetComponentInParent(); + var interactor = gameObject.GetComponent(); var focusedInteractable = interactor?.GetFocusedInteractable(); - cachedTarget = focusedInteractable?.GetInteractableGameObject(); - - return cachedTarget; + if (focusedInteractable != null) return focusedInteractable.GetInteractableGameObject(); + return null; } - private bool IsValidTarget(GameObject target) => - target != null && target; - private bool ShouldUpdateDestination() { - repathTimer -= Time.deltaTime; - return !isMoving || (repathInterval > 0f && repathTimer <= 0f); + _repathTimer -= Time.deltaTime; + return !_isMoving || (repathInterval > 0f && _repathTimer <= 0f); } private Vector3 CalculateDestination(GameObject target) { - repathTimer = repathInterval; + _repathTimer = repathInterval; if (!useInteractionPoints) return target.transform.position; @@ -128,27 +112,27 @@ private Vector3 GetNearestInteractionPoint(RestaurantInteractionComponent ric) private void StartOrUpdateMovement() { - if (!isMoving) + if (!_isMoving) { - if (movement.TryMoveToPosition(currentDestination)) + if (_movement.TryMoveToPosition(_currentDestination)) { - movement.EnableMove(); - movement.PlayMove(); - isMoving = true; + _movement.EnableMove(); + _movement.PlayMove(); + _isMoving = true; } } else { - movement.TryMoveToPosition(currentDestination); + _movement.TryMoveToPosition(_currentDestination); } } private TaskStatus CheckMovementCompletion() { - var distanceSqr = (GetAgentPosition() - currentDestination).sqrMagnitude; + var distanceSqr = (GetAgentPosition() - _currentDestination).sqrMagnitude; var stoppingDistanceSqr = stoppingDistance * stoppingDistance; - if (distanceSqr <= stoppingDistanceSqr || movement.HasReachedDestination()) + if (distanceSqr <= stoppingDistanceSqr || _movement.HasReachedDestination()) { StopMovement(); return TaskStatus.Success; @@ -159,15 +143,15 @@ private TaskStatus CheckMovementCompletion() private void StopMovement() { - if (movement != null && isMoving) + if (_movement != null && _isMoving) { - movement.StopMove(); - movement.DisableMove(); - isMoving = false; + _movement.StopMove(); + _movement.DisableMove(); + _isMoving = false; } } private Vector3 GetAgentPosition() => - movement?.CurrentPosition ?? transform.position; + _movement?.CurrentPosition ?? transform.position; } } \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Decorator.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Decorator.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Decorator.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Decorator.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/ContinueRestaurantOrder.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/ContinueRestaurantOrder.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/ContinueRestaurantOrder.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/ContinueRestaurantOrder.cs diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/ContinueRestaurantOrder.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/ContinueRestaurantOrder.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/ContinueRestaurantOrder.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/ContinueRestaurantOrder.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs similarity index 80% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs index bf6f0544b..ea8bd8db7 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs @@ -2,7 +2,7 @@ using Opsive.BehaviorDesigner.Runtime.Tasks.Actions; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class StartRestaurantOrder : Action { @@ -50,18 +50,9 @@ public override TaskStatus OnUpdate() if (_registerOnBlackboard) { - // 공용 블랙보드 우선 - var shared = gameObject.GetComponentInChildren(); - if (shared != null) - { - shared.SetCurrentInteractionTarget(outInteractable.gameObject); - } - else - { - // 하위 호환: 고객 전용 블랙보드 지원 - var customerBb = gameObject.GetComponentInParent(); - customerBb?.SetCurrentInteractionTarget(outInteractable.gameObject); - } + // 하위 호환: 고객 전용 블랙보드 지원 + var customerBlackboard = gameObject.GetComponent(); + customerBlackboard?.SetCurrentInteractionTarget(outInteractable.gameObject); } return TaskStatus.Success; diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs similarity index 99% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs index 220788be6..b8da8cbf0 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs @@ -2,7 +2,7 @@ using Opsive.BehaviorDesigner.Runtime.Tasks.Actions; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { //범용적으로 사용할 수 있을 것 같음 //차후 제네릭으로 변경 가능성 있음 diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Conditionals.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Conditionals.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Conditionals.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Conditionals.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs similarity index 99% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs index b10254f84..1e99b0ba5 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs @@ -5,7 +5,7 @@ using UnityEngine; using DDD; -namespace DDD +namespace DDD.Restaurant { public class RestaurantOrderAvailable : Conditional { diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs similarity index 92% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs index 6206ce2fb..987edeb54 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs @@ -5,7 +5,7 @@ using UnityEngine; using UnityEngine.AddressableAssets; -namespace DDD +namespace DDD.Restaurant { [RequireComponent(typeof(BehaviorTree))] [RequireComponent(typeof(RestaurantCustomerBlackboardComponent))] @@ -20,11 +20,11 @@ private void Awake() _blackboardComponent = GetComponent(); } - public void InitializeAi(CustomerData inCustomerData) + public async Task InitializeAi(CustomerData inCustomerData) { try { - InitializeAiInternal(inCustomerData); + await InitializeAiInternal(inCustomerData); } catch (Exception e) { diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Core.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Core.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacter.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacter.cs similarity index 98% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacter.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacter.cs index 892a2bbfe..65c8a53fd 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacter.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacter.cs @@ -1,7 +1,7 @@ using Sirenix.OdinInspector; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { [RequireComponent(typeof(RestaurantCharacterInteraction))] [RequireComponent(typeof(SpineController))] diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacter.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacter.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacter.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacter.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterAnimation.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterAnimation.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterAnimation.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterAnimation.cs diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterAnimation.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterAnimation.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterAnimation.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterAnimation.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs similarity index 52% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs index 3db7a4412..5412d5272 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs @@ -2,7 +2,7 @@ using Sirenix.OdinInspector; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class RestaurantCharacterInteraction : MonoBehaviour, IInteractor, IEventHandler { @@ -14,96 +14,43 @@ public class RestaurantCharacterInteraction : MonoBehaviour, IInteractor, IEvent protected IInteractable _nearestInteractable; protected IInteractable _previousInteractable; protected IInteractable _interactingTarget; - - protected float _interactHeldTime; - protected bool _isInteracting; protected float _interactionRadius = 1f; protected LayerMask _interactionLayerMask = (LayerMask)(-1); private Dictionary _cachedSolvers = new(); - protected virtual void Start() { } - - protected virtual void Update() + protected virtual void Start() { - _nearestInteractable = GetNearestInteractable(); - - if (_nearestInteractable != _previousInteractable) - { - _previousInteractable = _nearestInteractable; - OnNearestInteractableChanged(_nearestInteractable); - } - - if (_isInteracting) - { - if (_nearestInteractable != _interactingTarget || CanInteractTo(_interactingTarget) == false) - { - ResetInteractionState(); - return; - } - - _interactHeldTime += Time.deltaTime; - - float requiredHoldTime = _interactingTarget.GetExecutionParameters().HoldTime; - float ratio = Mathf.Clamp01(_interactHeldTime / requiredHoldTime); - - if (_interactHeldTime >= requiredHoldTime) - { - OnInteractionHoldProgress(1f); - _isInteracting = false; - _interactingTarget.OnInteracted(this); - _interactingTarget = null; - OnInteractionCompleted(); - } - - OnInteractionHoldProgress(ratio); - } } - - protected virtual void OnDestroy() { } - - protected virtual void OnNearestInteractableChanged(IInteractable newTarget) { } - protected virtual void OnInteractionHoldProgress(float ratio) { } + + protected virtual void OnDestroy() + { + } + protected virtual void OnInteractionCompleted() { } - protected void ResetInteractionState() + public virtual void RequestInteraction(RestaurantInteractionEvent evt) { - _isInteracting = false; - _interactingTarget = null; - _interactHeldTime = 0f; - OnInteractionHoldProgress(0f); + EventBus.Broadcast(evt); } - - protected IInteractable GetNearestInteractable() + + public virtual void HandleEvent(RestaurantInteractionEvent evt) { - int colliderCount = Physics.OverlapSphereNonAlloc(transform.position, _interactionRadius, _nearColliders, _interactionLayerMask, QueryTriggerInteraction.Collide); - float closestDistance = float.MaxValue; - IInteractable closest = null; - - for (int i = 0; i < colliderCount; i++) - { - var col = _nearColliders[i]; - if (col.TryGetComponent(out var interactable) == false) continue; - - var type = interactable.GetInteractionType(); - if (interactable.IsInteractionHidden()) continue; - if (CanSolveInteractionType(type) == false) continue; - - float distance = Vector3.Distance(transform.position, col.transform.position); - if (distance < closestDistance) - { - closestDistance = distance; - closest = interactable; - } - } - - return closest; + Debug.Log($"Handle Event : {evt.ToString()}"); } - public virtual void Invoke(RestaurantInteractionEvent evt) { } - public GameObject GetInteractorGameObject() => gameObject; + protected RestaurantInteractionEvent MakeInteractionEventTo(IInteractable interactable, ScriptableObject payload = null) + { + var evt = RestaurantEvents.InteractionEvent; + evt.Target = interactable.GetInteractableGameObject(); + evt.Causer = gameObject; + evt.InteractionType = _nearestInteractable.GetInteractionType(); + evt.Payload = payload; + return evt; + } + public IInteractionSolver GetInteractionSolver(InteractionType interactionType) { TryGetSolverForType(interactionType, out var solver); diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterMovement.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovement.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterMovement.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovement.cs diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterMovement.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovement.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterMovement.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovement.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterVisual.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterVisual.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterVisual.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterVisual.cs diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterVisual.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterVisual.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Core/RestaurantCharacterVisual.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterVisual.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IAiMovement.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IAiMovement.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IAiMovement.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IAiMovement.cs diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IAiMovement.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IAiMovement.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IAiMovement.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IAiMovement.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/ICurrentDirection.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/ICurrentDirection.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/ICurrentDirection.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/ICurrentDirection.cs diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/ICurrentDirection.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/ICurrentDirection.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/ICurrentDirection.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/ICurrentDirection.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs new file mode 100644 index 000000000..1d0f490a0 --- /dev/null +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs @@ -0,0 +1,9 @@ +using System.Threading.Tasks; + +namespace DDD +{ + public interface IRestaurantCustomerAi + { + Task InitializeAi(CustomerData inCustomerData); + } +} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Npc.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Npc.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Npc/Customer.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/Customer.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Npc/Customer.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/Customer.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs similarity index 97% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs index bba008853..e3f0ae046 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs @@ -3,7 +3,7 @@ using UnityEngine; using UnityEngine.AddressableAssets; -namespace DDD +namespace DDD.Restaurant { [RequireComponent(typeof(RestaurantCustomerAiComponent))] public class CustomerCharacter : RestaurantNpcCharacter, ICustomerInitializer diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs similarity index 91% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs index 0b55d5293..7756a14fa 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs @@ -1,7 +1,7 @@ using Opsive.BehaviorDesigner.Runtime; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { [RequireComponent(typeof(RestaurantNpcMovement))] public class RestaurantNpcCharacter : RestaurantCharacter diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Npc/RestaurantNpcMovement.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcMovement.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Npc/RestaurantNpcMovement.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcMovement.cs diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Npc/RestaurantNpcMovement.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcMovement.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Npc/RestaurantNpcMovement.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcMovement.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Player.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Player.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs similarity index 98% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs index 603944132..71c5aa3e8 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD +namespace DDD.Restaurant { [RequireComponent(typeof(RestaurantPlayerMovement))] public class RestaurantPlayerAnimation : RestaurantCharacterAnimation diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs similarity index 89% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs index 7dad4869f..3fef16bef 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs @@ -1,11 +1,11 @@ using UnityEngine; -namespace DDD +namespace DDD.Restaurant { [RequireComponent(typeof(RestaurantPlayerMovement))] public class RestaurantPlayerCharacter : RestaurantCharacter { - protected override async void Awake() + protected override void Awake() { base.Awake(); diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerInput.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInput.cs similarity index 97% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerInput.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInput.cs index dc22b7dcb..611f8c920 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerInput.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInput.cs @@ -1,7 +1,7 @@ using UnityEngine; using UnityEngine.InputSystem; -namespace DDD +namespace DDD.Restaurant { public class RestaurantPlayerInput : MonoBehaviour { diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerInput.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInput.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerInput.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInput.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs similarity index 51% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs index a86e19447..65fb7fdd7 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs @@ -2,12 +2,15 @@ using UnityEngine; using UnityEngine.InputSystem; -namespace DDD +namespace DDD.Restaurant { public class RestaurantPlayerInteraction : RestaurantCharacterInteraction { private RestaurantPlayerData _restaurantPlayerDataSo; + private float _interactHeldTime; + private bool _isInteracting; + protected override void Start() { base.Start(); @@ -44,6 +47,45 @@ protected override void OnDestroy() EventBus.Unregister(this); } + + protected virtual void Update() + { + _nearestInteractable = GetNearestInteractable(); + + if (_nearestInteractable != _previousInteractable) + { + _previousInteractable = _nearestInteractable; + OnNearestInteractableChanged(_nearestInteractable); + } + + if (_isInteracting) + { + if (_nearestInteractable != _interactingTarget || CanInteractTo(_interactingTarget) == false) + { + ResetInteractionState(); + return; + } + + _interactHeldTime += Time.deltaTime; + + float requiredHoldTime = _interactingTarget.GetExecutionParameters().HoldTime; + float ratio = Mathf.Clamp01(_interactHeldTime / requiredHoldTime); + + if (_interactHeldTime >= requiredHoldTime) + { + var evt = MakeInteractionEventTo(_nearestInteractable); + RequestInteraction(evt); + + ResetInteractionState(); + ratio = 0; + + OnInteractionCompleted(); + } + + OnInteractionHoldProgress(ratio); + } + } + private void OnInteractPerformed(InputAction.CallbackContext context) { @@ -53,7 +95,8 @@ private void OnInteractPerformed(InputAction.CallbackContext context) if (requiredHoldTime <= 0f) { - _nearestInteractable.OnInteracted(this); + var evt = MakeInteractionEventTo(_nearestInteractable); + RequestInteraction(evt); } else { @@ -69,7 +112,7 @@ private void OnInteractCanceled(InputAction.CallbackContext context) ResetInteractionState(); } - protected override void OnNearestInteractableChanged(IInteractable newTarget) + protected void OnNearestInteractableChanged(IInteractable newTarget) { if (newTarget != null) { @@ -81,7 +124,7 @@ protected override void OnNearestInteractableChanged(IInteractable newTarget) } } - protected override void OnInteractionHoldProgress(float ratio) + protected void OnInteractionHoldProgress(float ratio) { if (_interactingTarget != null) { @@ -102,5 +145,42 @@ private void BroadcastShowUi(IInteractable interactable, bool canInteract, float evt.HoldProgress = ratio; EventBus.Broadcast(evt); } + + protected void ResetInteractionState() + { + _interactingTarget = null; + + // Hold Progress + _isInteracting = false; + _interactingTarget = null; + _interactHeldTime = 0f; + OnInteractionHoldProgress(0f); + } + + protected IInteractable GetNearestInteractable() + { + int colliderCount = Physics.OverlapSphereNonAlloc(transform.position, _interactionRadius, _nearColliders, _interactionLayerMask, QueryTriggerInteraction.Collide); + float closestDistance = float.MaxValue; + IInteractable closest = null; + + for (int i = 0; i < colliderCount; i++) + { + var col = _nearColliders[i]; + if (col.TryGetComponent(out var interactable) == false) continue; + + var type = interactable.GetInteractionType(); + if (interactable.IsInteractionHidden()) continue; + if (CanSolveInteractionType(type) == false) continue; + + float distance = Vector3.Distance(transform.position, col.transform.position); + if (distance < closestDistance) + { + closestDistance = distance; + closest = interactable; + } + } + + return closest; + } } } \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerMovement.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerMovement.cs similarity index 99% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerMovement.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerMovement.cs index 8a313c1d8..5c5d52683 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerMovement.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerMovement.cs @@ -5,7 +5,7 @@ using Vector2 = UnityEngine.Vector2; using Vector3 = UnityEngine.Vector3; -namespace DDD +namespace DDD.Restaurant { [RequireComponent(typeof(Rigidbody))] [RequireComponent(typeof(BoxCollider))] diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerMovement.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerMovement.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantCharacter/Player/RestaurantPlayerMovement.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerMovement.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs similarity index 98% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs index b45a751c0..b13f038d8 100644 --- a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs @@ -1,7 +1,7 @@ using System.Threading.Tasks; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class RestaurantEnvironmentController : FlowController { diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantManagementController.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantManagementController.cs similarity index 96% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantManagementController.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantManagementController.cs index 0237687fd..bd7bf976d 100644 --- a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantManagementController.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantManagementController.cs @@ -1,7 +1,7 @@ using System.Threading.Tasks; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class RestaurantManagementController : FlowController { diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantManagementController.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantManagementController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantManagementController.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantManagementController.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantPlayerController.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantPlayerController.cs similarity index 97% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantPlayerController.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantPlayerController.cs index 364b53b91..676c27b27 100644 --- a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantPlayerController.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantPlayerController.cs @@ -2,7 +2,7 @@ using System.Threading.Tasks; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class RestaurantPlayerController : FlowController { diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantPlayerController.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantPlayerController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantPlayerController.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantPlayerController.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantRunController.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantRunController.cs similarity index 98% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantRunController.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantRunController.cs index 6bbc05bc3..c076719fc 100644 --- a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantRunController.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantRunController.cs @@ -5,7 +5,7 @@ using System.Threading.Tasks; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class RestaurantRunController : FlowController { @@ -130,8 +130,8 @@ await _iCustomerFactory.CreateAsync(new CustomerSpawnArgs Parent = null }); } - - await Task.Delay(TimeSpan.FromSeconds(wait), token); + + await Awaitable.WaitForSecondsAsync(wait, token); } } diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantRunController.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantRunController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/RestaurantRunController.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantRunController.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs similarity index 99% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs index 9131469c6..d867e0562 100644 --- a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs @@ -3,7 +3,7 @@ using UnityEngine.AddressableAssets; using UnityEngine.ResourceManagement.AsyncOperations; -namespace DDD +namespace DDD.Restaurant { public interface ICustomerFactory { diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/SpawnPointProvider.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnPointProvider.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/SpawnPointProvider.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnPointProvider.cs diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/SpawnPointProvider.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnPointProvider.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/SpawnPointProvider.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnPointProvider.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/SpawnSchedule.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnSchedule.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/SpawnSchedule.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnSchedule.cs diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/SpawnSchedule.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnSchedule.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/SpawnSchedule.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnSchedule.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/SpawnScheduleUtils.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnScheduleUtils.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/SpawnScheduleUtils.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnScheduleUtils.cs diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/SpawnScheduleUtils.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnScheduleUtils.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/SpawnScheduleUtils.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnScheduleUtils.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Tasks.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Tasks.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs similarity index 96% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs index e8372b8ad..d63885208 100644 --- a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs @@ -1,7 +1,7 @@ using System.Threading.Tasks; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class CreateRestaurantEnvironment : RestaurantFlowTask { diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs similarity index 97% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs index f5ac043ea..3f87d4edd 100644 --- a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs @@ -1,7 +1,7 @@ using System.Threading.Tasks; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class CreateRestaurantPlayer : RestaurantFlowTask { diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/FlowController.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/FlowController.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/FlowController.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/FlowController.cs diff --git a/Assets/_DDD/_Scripts/RestaurantController/FlowController.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/FlowController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/FlowController.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/FlowController.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/RestaurantController.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantController.cs similarity index 99% rename from Assets/_DDD/_Scripts/RestaurantController/RestaurantController.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantController.cs index 0069fff33..8f6a12cab 100644 --- a/Assets/_DDD/_Scripts/RestaurantController/RestaurantController.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantController.cs @@ -4,7 +4,7 @@ using UnityEngine; using UnityEngine.AddressableAssets; -namespace DDD +namespace DDD.Restaurant { public class RestaurantController : Singleton, IManager, IGameFlowHandler { diff --git a/Assets/_DDD/_Scripts/RestaurantController/RestaurantController.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/RestaurantController.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantController.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/RestaurantControllerDataSo.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantControllerDataSo.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/RestaurantControllerDataSo.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantControllerDataSo.cs diff --git a/Assets/_DDD/_Scripts/RestaurantController/RestaurantControllerDataSo.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantControllerDataSo.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/RestaurantControllerDataSo.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantControllerDataSo.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantController/RestaurantFlowTask.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantFlowTask.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/RestaurantFlowTask.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantFlowTask.cs diff --git a/Assets/_DDD/_Scripts/RestaurantController/RestaurantFlowTask.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantFlowTask.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantController/RestaurantFlowTask.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantFlowTask.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantData.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantData.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantData.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantData.meta diff --git a/Assets/_DDD/_Scripts/RestaurantData/DataObjects.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantData/DataObjects.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects.meta diff --git a/Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantCustomerData.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantCustomerData.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantCustomerData.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantCustomerData.cs diff --git a/Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantCustomerData.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantCustomerData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantCustomerData.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantCustomerData.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantManagementData.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantManagementData.cs similarity index 97% rename from Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantManagementData.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantManagementData.cs index 4d9cc6968..205cd272a 100644 --- a/Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantManagementData.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantManagementData.cs @@ -1,7 +1,7 @@ using Sirenix.OdinInspector; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { [CreateAssetMenu(fileName = "RestaurantManagementData", menuName = "RestaurantData/RestaurantManagementData")] public class RestaurantManagementData : ScriptableObject diff --git a/Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantManagementData.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantManagementData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantManagementData.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantManagementData.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantPlayerData.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantPlayerData.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantPlayerData.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantPlayerData.cs diff --git a/Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantPlayerData.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantPlayerData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantPlayerData.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantPlayerData.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantRunData.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantRunData.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantRunData.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantRunData.cs diff --git a/Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantRunData.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantRunData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantData/DataObjects/RestaurantRunData.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantRunData.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantData/RestaurantData.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantData/RestaurantData.cs similarity index 99% rename from Assets/_DDD/_Scripts/RestaurantData/RestaurantData.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantData/RestaurantData.cs index 2c484bdb8..7cfd9f8a9 100644 --- a/Assets/_DDD/_Scripts/RestaurantData/RestaurantData.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantData/RestaurantData.cs @@ -2,7 +2,7 @@ using UnityEngine; using UnityEngine.AddressableAssets; -namespace DDD +namespace DDD.Restaurant { [CreateAssetMenu(fileName = "RestaurantData", menuName = "RestaurantData/RestaurantData", order = 0)] public class RestaurantData : ScriptSingleton diff --git a/Assets/_DDD/_Scripts/RestaurantData/RestaurantData.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantData/RestaurantData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantData/RestaurantData.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantData/RestaurantData.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEnvironment.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment/IInteractionSubsystemOwner.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/IInteractionSubsystemOwner.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEnvironment/IInteractionSubsystemOwner.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/IInteractionSubsystemOwner.cs diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment/IInteractionSubsystemOwner.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/IInteractionSubsystemOwner.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEnvironment/IInteractionSubsystemOwner.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/IInteractionSubsystemOwner.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment/RestaurantEnvironment.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/RestaurantEnvironment.cs similarity index 99% rename from Assets/_DDD/_Scripts/RestaurantEnvironment/RestaurantEnvironment.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/RestaurantEnvironment.cs index 344fd6309..ca1d5ba66 100644 --- a/Assets/_DDD/_Scripts/RestaurantEnvironment/RestaurantEnvironment.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/RestaurantEnvironment.cs @@ -3,7 +3,7 @@ using Unity.VisualScripting; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class RestaurantEnvironment : MonoBehaviour { diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment/RestaurantEnvironment.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/RestaurantEnvironment.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEnvironment/RestaurantEnvironment.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/RestaurantEnvironment.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Cosmetic.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Cosmetic.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Cosmetic.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Cosmetic.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Cosmetic/InteractableHighlight.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Cosmetic/InteractableHighlight.cs similarity index 99% rename from Assets/_DDD/_Scripts/RestaurantEvent/Cosmetic/InteractableHighlight.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Cosmetic/InteractableHighlight.cs index 1ba96248e..8d6272b14 100644 --- a/Assets/_DDD/_Scripts/RestaurantEvent/Cosmetic/InteractableHighlight.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Cosmetic/InteractableHighlight.cs @@ -4,7 +4,7 @@ using QualityLevel = HighlightPlus.QualityLevel; using HighlightPlus; -namespace DDD +namespace DDD.Restaurant { public enum InteractionOutlineType { diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Cosmetic/InteractableHighlight.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Cosmetic/InteractableHighlight.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Cosmetic/InteractableHighlight.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Cosmetic/InteractableHighlight.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantEvents.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantEvents.cs new file mode 100644 index 000000000..19d3c4f8c --- /dev/null +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantEvents.cs @@ -0,0 +1,26 @@ +using UnityEngine; + +namespace DDD.Restaurant +{ + public static class RestaurantEvents + { + public static ItemSlotSelectedEvent ItemSlotSelectedEvent = new(); + public static TodayMenuAddedEvent TodayMenuAddedEvent = new(); + public static TodayMenuRemovedEvent TodayMenuRemovedEvent = new(); + + public static RestaurantInteractionEvent InteractionEvent = new(); + } + + #region RestaurantInteractionEvents + public class ItemSlotSelectedEvent : IEvent + { + public ItemModel Model; + } + public class TodayMenuAddedEvent : IEvent {} + + public class TodayMenuRemovedEvent : IEvent + { + public InventoryCategoryType InventoryCategoryType; + } + #endregion +} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantEvents.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantEvents.cs.meta new file mode 100644 index 000000000..9606be7c7 --- /dev/null +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantEvents.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 23743115320e4bf2a1001c64e92d4a53 +timeCreated: 1756277677 \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/RestaurantInteractionComponent.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionComponent.cs similarity index 97% rename from Assets/_DDD/_Scripts/RestaurantEvent/RestaurantInteractionComponent.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionComponent.cs index 48a3e4e86..1caea9a04 100644 --- a/Assets/_DDD/_Scripts/RestaurantEvent/RestaurantInteractionComponent.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionComponent.cs @@ -5,7 +5,7 @@ using UnityEngine; using Sirenix.OdinInspector; -namespace DDD +namespace DDD.Restaurant { public static class RestaurantInteractionSubsystems { @@ -82,7 +82,7 @@ public virtual bool OnInteracted(IInteractor interactor, ScriptableObject payloa return false; } - bool interactionResult = RestaurantInteractionEvents.RestaurantInteraction.RequestInteraction(interactor.GetInteractorGameObject(), + bool interactionResult = RestaurantEvents.InteractionEvent.RequestInteraction(interactor.GetInteractorGameObject(), GetInteractableGameObject(), GetInteractionType(), payload, true); if (HasSubsystem(_interactionType)) { diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/RestaurantInteractionComponent.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionComponent.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/RestaurantInteractionComponent.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionComponent.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/RestaurantInteractionEvents.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionEvents.cs similarity index 94% rename from Assets/_DDD/_Scripts/RestaurantEvent/RestaurantInteractionEvents.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionEvents.cs index 4c835ec2d..e97100ca6 100644 --- a/Assets/_DDD/_Scripts/RestaurantEvent/RestaurantInteractionEvents.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionEvents.cs @@ -2,13 +2,8 @@ using System.Collections.Generic; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { - public static class RestaurantInteractionEvents - { - public static RestaurantInteractionEvent RestaurantInteraction = new(); - } - public static class RestaurantInteractionEventSolvers { public static Dictionary TypeToSolver = new() diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/RestaurantInteractionEvents.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionEvents.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/RestaurantInteractionEvents.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionEvents.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantCooks.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantCooks.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs similarity index 95% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs index dad15780b..dd79eb368 100644 --- a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace DDD +namespace DDD.Restaurant { public static class RestaurantCookSolvers { diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs similarity index 97% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs index 4214524ab..3bcf4f904 100644 --- a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class RestaurantCookSolver_OpenCookUi : MonoBehaviour, IInteractionSubsystemSolver { diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs similarity index 96% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs index 92e3ce5c5..1d0137d14 100644 --- a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace DDD +namespace DDD.Restaurant { public class RestaurantManagementSolver : RestaurantSubsystemSolver { diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs similarity index 97% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs index 73005e436..a6f7dad87 100644 --- a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class RestaurantManagementSolver_Menu : MonoBehaviour, IInteractionSubsystemSolver { diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs similarity index 97% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs index a54d51579..f6f0e6fb5 100644 --- a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs @@ -1,7 +1,7 @@ using System.Threading.Tasks; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class RestaurantManagementSolver_Start : MonoBehaviour, IInteractionSubsystemSolver { diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantMeals.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantMeals.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver.cs diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs similarity index 95% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs index 71d8149fa..a0f2bab02 100644 --- a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs @@ -1,9 +1,8 @@ using System; using System.Collections.Generic; -using DDD.RestaurantOrders; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class RestaurantOrderSolver : RestaurantSubsystemSolver { diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs similarity index 95% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs index 653658f12..02e49b9bb 100644 --- a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD.RestaurantOrders +namespace DDD.Restaurant { public class RestaurantOrderSolver_Busy : MonoBehaviour, IInteractionSubsystemSolver { diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs similarity index 94% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs index c1d6751d3..465f24f90 100644 --- a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD.RestaurantOrders +namespace DDD.Restaurant { public class RestaurantOrderSolver_Dirty : MonoBehaviour, IInteractionSubsystemSolver { diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs similarity index 94% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs index 0d749254f..476b5f0bb 100644 --- a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD.RestaurantOrders +namespace DDD.Restaurant { public class RestaurantOrderSolver_Order : MonoBehaviour, IInteractionSubsystemSolver { diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs similarity index 95% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs index 04583c485..a6556a78f 100644 --- a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD.RestaurantOrders +namespace DDD.Restaurant { public class RestaurantOrderSolver_Reserved : MonoBehaviour, IInteractionSubsystemSolver { diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs similarity index 94% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs index 79407afc9..bbcf1d1d8 100644 --- a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD.RestaurantOrders +namespace DDD.Restaurant { public class RestaurantOrderSolver_Serve : MonoBehaviour, IInteractionSubsystemSolver { diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs similarity index 97% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs index 45dac052c..361b0c465 100644 --- a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs @@ -1,7 +1,7 @@ using Opsive.BehaviorDesigner.Runtime.Tasks; using UnityEngine; -namespace DDD.RestaurantOrders +namespace DDD.Restaurant { public class RestaurantOrderSolver_Wait : MonoBehaviour, IInteractionSubsystemSolver { diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantSubsystemSolver.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantSubsystemSolver.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantSubsystemSolver.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantSubsystemSolver.cs diff --git a/Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantSubsystemSolver.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantSubsystemSolver.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantEvent/Solvers/RestaurantSubsystemSolver.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantSubsystemSolver.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantState.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantState.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantState.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantState.meta diff --git a/Assets/_DDD/_Scripts/RestaurantState/FlowStates.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantState/FlowStates.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates.meta diff --git a/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantCustomerState.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantCustomerState.cs similarity index 99% rename from Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantCustomerState.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantCustomerState.cs index b18f09bbe..c040390fe 100644 --- a/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantCustomerState.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantCustomerState.cs @@ -6,7 +6,7 @@ using UnityEngine.AddressableAssets; using UnityEngine.ResourceManagement.AsyncOperations; -namespace DDD +namespace DDD.Restaurant { public class RestaurantCustomerState : ScriptableObject { diff --git a/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantCustomerState.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantCustomerState.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantCustomerState.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantCustomerState.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantEnvironmentState.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantEnvironmentState.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantEnvironmentState.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantEnvironmentState.cs diff --git a/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantEnvironmentState.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantEnvironmentState.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantEnvironmentState.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantEnvironmentState.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantManagementState.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantManagementState.cs similarity index 99% rename from Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantManagementState.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantManagementState.cs index 330546a47..1c5befdf7 100644 --- a/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantManagementState.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantManagementState.cs @@ -3,7 +3,7 @@ using Sirenix.OdinInspector; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class RestaurantManagementState : ScriptableObject { diff --git a/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantManagementState.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantManagementState.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantManagementState.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantManagementState.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantPlayerState.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantPlayerState.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantPlayerState.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantPlayerState.cs diff --git a/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantPlayerState.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantPlayerState.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantPlayerState.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantPlayerState.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantRunState.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantRunState.cs similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantRunState.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantRunState.cs diff --git a/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantRunState.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantRunState.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantRunState.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantRunState.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantState/RestaurantState.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/RestaurantState.cs similarity index 98% rename from Assets/_DDD/_Scripts/RestaurantState/RestaurantState.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantState/RestaurantState.cs index 1855bd5eb..560860472 100644 --- a/Assets/_DDD/_Scripts/RestaurantState/RestaurantState.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/RestaurantState.cs @@ -1,4 +1,4 @@ -namespace DDD +namespace DDD.Restaurant { public class RestaurantState : ScriptSingleton { diff --git a/Assets/_DDD/_Scripts/RestaurantState/RestaurantState.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantState/RestaurantState.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/RestaurantState/RestaurantState.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantState/RestaurantState.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi.meta new file mode 100644 index 000000000..1505e0786 --- /dev/null +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 5bf3db4e1b1c49e1be969c4b9d454e70 +timeCreated: 1756279352 \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/AddedCookSlotUiStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/AddedCookSlotUiStrategy.cs similarity index 98% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/AddedCookSlotUiStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/AddedCookSlotUiStrategy.cs index c53aa7554..917afd3ce 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/AddedCookSlotUiStrategy.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/AddedCookSlotUiStrategy.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class AddedCookSlotUiStrategy : IItemSlotUiStrategy { diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/AddedCookSlotUiStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/AddedCookSlotUiStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/AddedCookSlotUiStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/AddedCookSlotUiStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/CookUi.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookUi.cs similarity index 99% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/CookUi.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookUi.cs index 28aa2f1bd..8c0b35837 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/CookUi.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookUi.cs @@ -7,7 +7,7 @@ using UnityEngine.Localization.Components; using UnityEngine.UI; -namespace DDD +namespace DDD.Restaurant { [RequireComponent(typeof(CookViewModel))] public class CookUi : PopupUi diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/CookUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/CookUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookUi.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/CookViewModel.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookViewModel.cs similarity index 99% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/CookViewModel.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookViewModel.cs index 382343373..ae41c6dd6 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/CookViewModel.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookViewModel.cs @@ -4,7 +4,7 @@ using UnityEngine; using UnityEngine.Localization; -namespace DDD +namespace DDD.Restaurant { public class SelectedCookSnapshot { diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/CookViewModel.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookViewModel.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/CookViewModel.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookViewModel.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/SelectedIngredient.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/SelectedIngredient.cs similarity index 96% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/SelectedIngredient.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/SelectedIngredient.cs index b5c77f988..04ebaff98 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/SelectedIngredient.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/SelectedIngredient.cs @@ -1,7 +1,7 @@ using UnityEngine; using UnityEngine.UI; -namespace DDD +namespace DDD.Restaurant { public class SelectedIngredient : MonoBehaviour { diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/SelectedIngredient.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/SelectedIngredient.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/CookUi/SelectedIngredient.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/SelectedIngredient.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ChecklistData.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistData.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ChecklistData.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistData.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ChecklistData.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ChecklistData.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistData.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ChecklistView.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistView.cs similarity index 86% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ChecklistView.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistView.cs index c2a6d0038..e5e3c39e3 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ChecklistView.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistView.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public enum ChecklistLocalizationKey { @@ -42,7 +42,7 @@ public void UpdateView() _viewModel.UpdateChecklistView(); } - public void Invoke(TodayMenuRemovedEvent evt) => UpdateView(); - public void Invoke(TodayMenuAddedEvent evt) => UpdateView(); + public void HandleEvent(TodayMenuRemovedEvent evt) => UpdateView(); + public void HandleEvent(TodayMenuAddedEvent evt) => UpdateView(); } } \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ChecklistView.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistView.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ChecklistView.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistView.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ExtensionsUi.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ExtensionsUi.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/InventoryUi.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/InventoryUi.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs similarity index 98% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs index 07e5b052e..dacc9a703 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class InventorySlotUiStrategy : IItemSlotUiStrategy { diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/InventoryUi/InventoryView.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventoryView.cs similarity index 90% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/InventoryUi/InventoryView.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventoryView.cs index 31f3f85b3..3f14f03ad 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/InventoryUi/InventoryView.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventoryView.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class InventoryView : MonoBehaviour, IUiView, IEventHandler, IEventHandler, IEventHandler @@ -48,17 +48,17 @@ public void UpdateView() public void UpdateCategoryView(InventoryCategoryType category) => _viewModel.UpdateCategoryViewByCategory(category); - public void Invoke(TodayMenuAddedEvent evt) + public void HandleEvent(TodayMenuAddedEvent evt) { UpdateView(); } - public void Invoke(TodayMenuRemovedEvent evt) + public void HandleEvent(TodayMenuRemovedEvent evt) { UpdateView(); } - public void Invoke(InventoryChangedEvent evt) + public void HandleEvent(InventoryChangedEvent evt) { _viewModel.OnInventoryChanged(); } diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/InventoryUi/InventoryView.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventoryView.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/InventoryUi/InventoryView.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventoryView.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemDetailView.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemDetailView.cs similarity index 98% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemDetailView.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemDetailView.cs index c25d7869f..8c4cf708e 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemDetailView.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemDetailView.cs @@ -6,7 +6,7 @@ using UnityEngine.Localization.Components; using UnityEngine.UI; -namespace DDD +namespace DDD.Restaurant { public sealed class ItemDetailSnapshot { @@ -159,7 +159,7 @@ private void ClearHashTags() Utils.DestroyAllChildren(_tasteHashTagContent2); } - public void Invoke(ItemSlotSelectedEvent evt) + public void HandleEvent(ItemSlotSelectedEvent evt) { _viewModel.SetSelectedItem(evt.Model); UpdateView(); diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemDetailView.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemDetailView.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemDetailView.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemDetailView.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IInteractableUi.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IInteractableUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IInteractableUi.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IInteractableUi.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IInteractableUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IInteractableUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IInteractableUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IInteractableUi.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs similarity index 86% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs index b1167debe..62fad7e24 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs @@ -1,4 +1,4 @@ -namespace DDD +namespace DDD.Restaurant { public interface IItemSlotInteractorStrategy { diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs similarity index 88% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs index 8cb6a32b0..c22f38289 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public interface IItemSlotUiStrategy { diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IngredientEntry.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IngredientEntry.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IngredientEntry.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IngredientEntry.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IngredientEntry.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IngredientEntry.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/IngredientEntry.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IngredientEntry.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemModel.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemModel.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemModel.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemModel.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemModel.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemModel.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemModel.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemModel.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs similarity index 97% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs index 616e640ce..89bd9199b 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public enum TodayMenuEventType { diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemSlotUi.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotUi.cs similarity index 99% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemSlotUi.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotUi.cs index eafc0343e..98fcf3bf3 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemSlotUi.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotUi.cs @@ -4,7 +4,7 @@ using UnityEngine.EventSystems; using UnityEngine.UI; -namespace DDD +namespace DDD.Restaurant { [RequireComponent(typeof(CommonButton))] public class ItemSlotUi : MonoBehaviour, ISelectHandler, IAutoScrollItem diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemSlotUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemSlotUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotUi.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/RestaurantManagementUi.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementUi.cs similarity index 99% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/RestaurantManagementUi.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementUi.cs index 4fe2315b6..995054a89 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/RestaurantManagementUi.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementUi.cs @@ -4,7 +4,7 @@ using UnityEngine.EventSystems; using UnityEngine.InputSystem; -namespace DDD +namespace DDD.Restaurant { [RequireComponent(typeof(RestaurantManagementViewModel))] public class RestaurantManagementUi : PopupUi diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/RestaurantManagementUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/RestaurantManagementUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementUi.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/RestaurantManagementViewModel.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementViewModel.cs similarity index 99% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/RestaurantManagementViewModel.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementViewModel.cs index 2726902e9..4675bc003 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/RestaurantManagementViewModel.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementViewModel.cs @@ -4,7 +4,7 @@ using UnityEngine; using UnityEngine.Localization; -namespace DDD +namespace DDD.Restaurant { public class RestaurantManagementViewModel : SimpleViewModel, IEventHandler { @@ -55,7 +55,7 @@ public void CloseUi() OnCloseRequested?.Invoke(); } - public void Invoke(TodayMenuRemovedEvent evt) + public void HandleEvent(TodayMenuRemovedEvent evt) { SetCategory(evt.InventoryCategoryType); OnMenuCategorySelected?.Invoke(evt.InventoryCategoryType); diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/RestaurantManagementViewModel.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementViewModel.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/RestaurantManagementViewModel.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementViewModel.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TabUi.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TabUi.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TabUi/ITabButton.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/ITabButton.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TabUi/ITabButton.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/ITabButton.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TabUi/ITabButton.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/ITabButton.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TabUi/ITabButton.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/ITabButton.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TabUi/TabButtonUi.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabButtonUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TabUi/TabButtonUi.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabButtonUi.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TabUi/TabButtonUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabButtonUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TabUi/TabButtonUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabButtonUi.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TabUi/TabGroupUi.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabGroupUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TabUi/TabGroupUi.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabGroupUi.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TabUi/TabGroupUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabGroupUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TabUi/TabGroupUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabGroupUi.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TasteHashTagSlotUi.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TasteHashTagSlotUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TasteHashTagSlotUi.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TasteHashTagSlotUi.cs diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TasteHashTagSlotUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TasteHashTagSlotUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TasteHashTagSlotUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TasteHashTagSlotUi.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs similarity index 97% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs index a8357d228..8d505c36e 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs @@ -1,4 +1,4 @@ -namespace DDD +namespace DDD.Restaurant { public class TodayMenuInteractorStrategy : IItemSlotInteractorStrategy { diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs similarity index 98% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs index 12f02076d..8dbf7d252 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class TodayMenuSlotUiStrategy : IItemSlotUiStrategy { diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs similarity index 89% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs index cdf650c90..127612052 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class TodayMenuView : MonoBehaviour, IUiView, IEventHandler, IEventHandler { @@ -31,12 +31,12 @@ public void OnClosedEvents() EventBus.Unregister(this); } - public void Invoke(TodayMenuAddedEvent evt) + public void HandleEvent(TodayMenuAddedEvent evt) { UpdateView(); } - public void Invoke(TodayMenuRemovedEvent evt) + public void HandleEvent(TodayMenuRemovedEvent evt) { UpdateView(); } diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs similarity index 97% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs index 7e8fba35d..5b472b150 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs @@ -1,4 +1,4 @@ -namespace DDD +namespace DDD.Restaurant { public class TodayCookwareInteractorStrategy : IItemSlotInteractorStrategy { diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs similarity index 97% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs index 1872ecc68..d3d768572 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class TodayCookwareSlotUiStrategy : IItemSlotUiStrategy { diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs similarity index 90% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs index 73d37cbf6..26716fbb8 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class TodayRestaurantStateView : MonoBehaviour, IUiView, IEventHandler, IEventHandler { @@ -32,12 +32,12 @@ public void OnClosedEvents() EventBus.Unregister(this); } - public void Invoke(TodayMenuAddedEvent evt) + public void HandleEvent(TodayMenuAddedEvent evt) { UpdateView(); } - public void Invoke(TodayMenuRemovedEvent evt) + public void HandleEvent(TodayMenuRemovedEvent evt) { UpdateView(); } diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs.meta diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs similarity index 97% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs index 2252a36ac..5f3b4e116 100644 --- a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace DDD +namespace DDD.Restaurant { public class TodayWorkerSlotUiStrategy : IItemSlotUiStrategy { diff --git a/Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GameUi/BaseUi/PopupUis/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs b/Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs deleted file mode 100644 index 785b8bb03..000000000 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace DDD -{ - public interface IRestaurantCustomerAi - { - void InitializeAi(CustomerData inCustomerData); - } -} \ No newline at end of file -- 2.45.2 From be0a7f4cfe1b8a5971ff27d0fab90452d15f7217 Mon Sep 17 00:00:00 2001 From: Jeonghyeon Ha Date: Wed, 27 Aug 2025 17:05:54 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EC=9D=B8=ED=84=B0=EB=9E=99=EC=85=98=20?= =?UTF-8?q?=EA=B5=AC=EC=A1=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_Scripts/Game/GameEvent/IInteractable.cs | 2 +- .../Customer/Actions/StartRestaurantOrder.cs | 9 ++------- .../Core/RestaurantCharacterInteraction.cs | 19 ++++++------------- .../Player/RestaurantPlayerInteraction.cs | 19 +++++++++---------- .../RestaurantInteractionComponent.cs | 15 ++------------- .../RestaurantInteractionEvents.cs | 10 +++++++++- 6 files changed, 29 insertions(+), 45 deletions(-) diff --git a/Assets/_DDD/_Scripts/Game/GameEvent/IInteractable.cs b/Assets/_DDD/_Scripts/Game/GameEvent/IInteractable.cs index 7e3ab45d0..c386e8e2a 100644 --- a/Assets/_DDD/_Scripts/Game/GameEvent/IInteractable.cs +++ b/Assets/_DDD/_Scripts/Game/GameEvent/IInteractable.cs @@ -41,7 +41,7 @@ public interface IInteractable { bool CanInteract(); bool IsInteractionHidden(); - bool OnInteracted(IInteractor interactor, ScriptableObject causerPayload = null); + void OnInteracted(IInteractor interactor, ScriptableObject causerPayload = null); InteractionType GetInteractionType(); GameObject GetInteractableGameObject(); void InitializeInteraction(InteractionType interactionType); diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs index ea8bd8db7..cd92b99b1 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs @@ -25,7 +25,6 @@ public override void OnStart() public override TaskStatus OnUpdate() { - // TODO : 아래 타겟 찾기가 RestaurantOrderAvailable과 동일해야 함, 동일하면 중복될 필요 없으니 스태틱 유틸 함수정도로 만들어서 공유하기. // 레스토랑 주문 인터랙션 후보를 가져옴 TaskStatus targetSearchSuccess = RestaurantOrderAvailable.FindAvailableOrderInteractable(_requireCanInteract, _targetOrderType, out var outInteractable); @@ -34,19 +33,15 @@ public override TaskStatus OnUpdate() return TaskStatus.Failure; } - // TODO : 아래 상호작용 수행 로직이 우리 프로젝트의 권장하는 방식이 아님. 플레이어가 오브젝트에 인터랙션하는 것과 비슷한 흐름으로 NPC가 오브젝트에 인터랙션하게 만들 것. // 상호작용 수행: 액션이 붙은 에이전트를 Interactor로 사용 if (!_isGetInteractor || !_interactor.CanInteractTo(outInteractable)) { return TaskStatus.Failure; } + // TODO : 아래 상호작용 수행 로직이 우리 프로젝트의 권장하는 방식이 아님. 플레이어가 오브젝트에 인터랙션하는 것과 비슷한 흐름으로 NPC가 오브젝트에 인터랙션하게 만들 것. // TODO : 이벤트 통해서 인터랙션. 직접 호출하지 말 것! - var interacted = outInteractable.OnInteracted(_interactor); - if (!interacted) - { - return TaskStatus.Failure; - } + outInteractable.OnInteracted(_interactor); if (_registerOnBlackboard) { diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs index 5412d5272..7407eb6de 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs @@ -28,27 +28,20 @@ protected virtual void OnDestroy() } protected virtual void OnInteractionCompleted() { } - - public virtual void RequestInteraction(RestaurantInteractionEvent evt) - { - EventBus.Broadcast(evt); - } public virtual void HandleEvent(RestaurantInteractionEvent evt) { - Debug.Log($"Handle Event : {evt.ToString()}"); + Debug.Log($"Event handled : {evt.ToString()}"); } public GameObject GetInteractorGameObject() => gameObject; - protected RestaurantInteractionEvent MakeInteractionEventTo(IInteractable interactable, ScriptableObject payload = null) + protected void TryInteraction(IInteractable interactable, ScriptableObject payload = null) { - var evt = RestaurantEvents.InteractionEvent; - evt.Target = interactable.GetInteractableGameObject(); - evt.Causer = gameObject; - evt.InteractionType = _nearestInteractable.GetInteractionType(); - evt.Payload = payload; - return evt; + var causer = gameObject; + var target = interactable.GetInteractableGameObject(); + var interactionType = _nearestInteractable.GetInteractionType(); + RestaurantEvents.InteractionEvent.RequestInteraction(causer, target, interactionType, payload); } public IInteractionSolver GetInteractionSolver(InteractionType interactionType) diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs index 65fb7fdd7..10529301d 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs @@ -70,19 +70,19 @@ protected virtual void Update() float requiredHoldTime = _interactingTarget.GetExecutionParameters().HoldTime; float ratio = Mathf.Clamp01(_interactHeldTime / requiredHoldTime); - + if (_interactHeldTime >= requiredHoldTime) { - var evt = MakeInteractionEventTo(_nearestInteractable); - RequestInteraction(evt); + TryInteraction(_nearestInteractable); + OnInteractionCompleted(); ResetInteractionState(); - ratio = 0; - - OnInteractionCompleted(); + OnInteractionHoldProgress(0f); + } + else + { + OnInteractionHoldProgress(ratio); } - - OnInteractionHoldProgress(ratio); } } @@ -95,8 +95,7 @@ private void OnInteractPerformed(InputAction.CallbackContext context) if (requiredHoldTime <= 0f) { - var evt = MakeInteractionEventTo(_nearestInteractable); - RequestInteraction(evt); + TryInteraction(_nearestInteractable); } else { diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionComponent.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionComponent.cs index 1caea9a04..4fdfd83fe 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionComponent.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionComponent.cs @@ -75,20 +75,9 @@ public virtual bool IsInteractionHidden() return flowDisabled; } - public virtual bool OnInteracted(IInteractor interactor, ScriptableObject payload = null) + public virtual void OnInteracted(IInteractor interactor, ScriptableObject payload = null) { - if (CanInteract() == false) - { - return false; - } - - bool interactionResult = RestaurantEvents.InteractionEvent.RequestInteraction(interactor.GetInteractorGameObject(), - GetInteractableGameObject(), GetInteractionType(), payload, true); - if (HasSubsystem(_interactionType)) - { - interactionResult &= GetSubsystem(_interactionType).OnInteracted(interactor, payload); - } - return interactionResult; + // TODO : Do Something cosmetic? } public virtual InteractionType GetInteractionType() diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionEvents.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionEvents.cs index e97100ca6..9fe0c5cef 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionEvents.cs +++ b/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionEvents.cs @@ -54,7 +54,15 @@ public bool RequestInteraction(GameObject causer, GameObject target, Interaction // Cast solverComponent to IInteractable if (solver is not null && interactor is not null) { - evt.EventResult = solver.ExecuteInteraction(interactor, interactable, payload); + bool canExecute = solver.CanExecuteInteraction(interactor, interactable, payload); + if (canExecute) + { + evt.EventResult = solver.ExecuteInteraction(interactor, interactable, payload); + } + else + { + evt.EventResult = false; + } } else { -- 2.45.2