From bfcc99be3843531e373c4d6ce0635290f8434a94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=82=B0?= Date: Wed, 27 Aug 2025 11:45:27 +0900 Subject: [PATCH 01/17] =?UTF-8?q?=EB=A1=9C=EA=B7=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_Addressables/Prefabs/CustomerNpc.prefab | 23 ------ .../Common/Actions/MoveToInteractionTarget.cs | 3 +- .../AI/Common/Decorator/TimeLimiter.cs | 2 +- .../Customer/Actions/StartRestaurantOrder.cs | 1 + .../Actions/WaitForPlayerInteraction.cs | 70 ++++++------------- .../RestaurantCustomerBlackboardComponent.cs | 1 + .../RestaurantMealInteractionSubsystem.cs | 4 ++ 7 files changed, 30 insertions(+), 74 deletions(-) diff --git a/Assets/_DDD/_Addressables/Prefabs/CustomerNpc.prefab b/Assets/_DDD/_Addressables/Prefabs/CustomerNpc.prefab index 80cdc789c..d16acedec 100644 --- a/Assets/_DDD/_Addressables/Prefabs/CustomerNpc.prefab +++ b/Assets/_DDD/_Addressables/Prefabs/CustomerNpc.prefab @@ -1210,9 +1210,6 @@ PrefabInstance: - targetCorrespondingSourceObject: {fileID: 7462519206451630147, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3} insertIndex: -1 addedObject: {fileID: 3825874317044733320} - - targetCorrespondingSourceObject: {fileID: 7462519206451630147, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3} - insertIndex: -1 - addedObject: {fileID: 1122074513716966771} m_SourcePrefab: {fileID: 100100000, guid: ceeea618d8ee23642a0e56b3f963448c, type: 3} --- !u!1 &4266090516809920735 stripped GameObject: @@ -1255,23 +1252,3 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: af69e82818254bfa9cabb2dbf9430850, type: 3} m_Name: m_EditorClassIdentifier: ---- !u!114 &1122074513716966771 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4266090516809920735} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 201f9e6d7ca7404baa9945950292a392, type: 3} - m_Name: - m_EditorClassIdentifier: - _interactionType: 4 - _executionParameters: - _holdTime: 0 - _displayParameters: - _messageKey: - _interactionAvailableFlows: 2 - _aiInteractionPoints: [] - autoInitialize: 1 diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs b/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs index 828782504..4e284809c 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs +++ b/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs @@ -1,5 +1,6 @@ using Opsive.BehaviorDesigner.Runtime.Tasks; using Opsive.BehaviorDesigner.Runtime.Tasks.Actions; +using Opsive.BehaviorDesigner.Runtime.Tasks.Events; using UnityEngine; namespace DDD @@ -29,6 +30,7 @@ public class MoveToInteractionTarget : Action public override void OnStart() { + Debug.Log($"[{gameObject.GetHashCode()}, {GetType().Name}] OnStart"); if (cachedTarget != null) return; movement = gameObject.GetComponentInParent(); repathTimer = 0f; @@ -44,7 +46,6 @@ public override TaskStatus OnUpdate() var target = GetTarget(); if (target == null) return failIfNoTarget ? TaskStatus.Failure : TaskStatus.Success; - Debug.Log(target.name); if (ShouldUpdateDestination()) { diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs b/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs index ec725c587..15c13cd29 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs +++ b/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs @@ -188,7 +188,7 @@ public void Execute(ref DynamicBuffer branchComponents, branchComponents[taskComponent.BranchIndex] = branchComponent; continue; } - else if (taskComponent.Status != TaskStatus.Running) + if (taskComponent.Status != TaskStatus.Running) { continue; } diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs b/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs index 7fa600a90..f0997393f 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs +++ b/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs @@ -19,6 +19,7 @@ public class StartRestaurantOrder : Action public override void OnStart() { _isGetInteractor = gameObject.TryGetComponent(out _interactor); + if (!_isGetInteractor) Debug.LogError($"[{GetType().Name}] IInteractor를 찾을 수 없습니다: {gameObject.name}"); } diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs b/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs index 220788be6..ec90190a9 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs +++ b/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs @@ -17,55 +17,27 @@ public class WaitForPlayerInteraction : Action public override void OnStart() { // 의자가 복합 상태를 가지게 될 경우 - // GameObject interactionTarget = null; - // var shared = gameObject.GetComponentInChildren(); - // if (shared != null) - // { - // interactionTarget = shared.GetCurrentInteractionTarget(); - // } - // else - // { - // // 하위 호환: 고객 전용 블랙보드 지원 - // var customerBb = gameObject.GetComponentInParent(); - // interactionTarget = customerBb?.GetCurrentInteractionTarget(); - // } - // - // if (interactionTarget == null) - // { - // Debug.LogError($"[{GetType().Name}] interactionTarget을 찾을 수 없습니다: {gameObject.name}"); - // return; - // } - // - // if (!interactionTarget.TryGetComponent(out var interactionComponent)) - // Debug.LogError($"[{interactionTarget.name}] {nameof(interactionComponent)}를 찾을 수 없습니다: {gameObject.name}"); - // if (interactionComponent is IInteractionSubsystemOwner subsystemOwner) - // { - // if (!subsystemOwner.TryGetSubsystemObject(out var subsystem)) - // { - // Debug.LogError($"[{GetType().Name}] {nameof(_targetOrderType)}의 Subsystem을 찾을 수 없습니다: {gameObject.name}"); - // _isGetInteractionSubsystem = false; - // return; - // } - // - // _isGetInteractionSubsystem = true; - // subsystem.SetInteractionSubsystemType(_targetOrderType); - // - // if (!gameObject.TryGetComponent(out var interactor)) - // { - // Debug.LogError($"[{GetType().Name}] IInteractor를 찾을 수 없습니다: {gameObject.name}"); - // return; - // } - // - // interactor.CanInteractTo(interactionComponent); - // - // _interactionSubsystem = subsystem; - // } - - if (!gameObject.TryGetComponent(out var interactionComponent)) - { - Debug.LogError($"[{GetType().Name}]에서 interactionComponent를 찾을 수 없습니다: {gameObject.name}"); - return; - } + GameObject interactionTarget = null; + var shared = gameObject.GetComponentInChildren(); + if (shared != null) + { + interactionTarget = shared.GetCurrentInteractionTarget(); + } + else + { + // 하위 호환: 고객 전용 블랙보드 지원 + var customerBb = gameObject.GetComponentInParent(); + interactionTarget = customerBb?.GetCurrentInteractionTarget(); + } + + if (interactionTarget == null) + { + Debug.LogError($"[{GetType().Name}] interactionTarget을 찾을 수 없습니다: {gameObject.name}"); + return; + } + + if (!interactionTarget.TryGetComponent(out var interactionComponent)) + Debug.LogError($"[{interactionTarget.name}] {nameof(interactionComponent)}를 찾을 수 없습니다: {gameObject.name}"); if (interactionComponent is not IInteractionSubsystemOwner subsystemOwner) { diff --git a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs b/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs index 98112000e..efef15e5b 100644 --- a/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs +++ b/Assets/_DDD/_Scripts/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs @@ -28,6 +28,7 @@ public void SetCurrentInteractionTarget(GameObject targetGameObject) _currentInteractionTarget = targetGameObject; if (_subtree == null) return; _subtree.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.CurrentInteractionTarget), targetGameObject); + } public GameObject GetCurrentInteractionTarget() diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs b/Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs index d018dc86b..ffaceb0d6 100644 --- a/Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs +++ b/Assets/_DDD/_Scripts/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs @@ -1,4 +1,5 @@ using System; +using Unity.VisualScripting; using UnityEngine; namespace DDD @@ -23,11 +24,13 @@ public RestaurantMealType GetInteractionSubsystemType() public void SetInteractionSubsystemType(RestaurantMealType inValue) { + Debug.Log($"[{gameObject.GetHashCode()}, {GetType().Name}] SetInteractionSubsystemType {inValue.ToString()}"); _currentRestaurantMealType = inValue; } public void InitializeSubsystem() { + Debug.Log($"[{gameObject.GetHashCode()}, {GetType().Name}] InitializeSubsystem"); _currentRestaurantMealType = RestaurantMealType.None; } @@ -38,6 +41,7 @@ public bool CanInteract() public bool OnInteracted(IInteractor interactor, ScriptableObject payloadSo = null) { + Debug.Log($"[{gameObject.GetHashCode()}, {GetType().Name}] OnInteracted"); var prev = _currentRestaurantMealType; _currentRestaurantMealType = GetNextState(prev); return true; From a473f517ebef05c6117f183fd8512f999b9528eb Mon Sep 17 00:00:00 2001 From: Jeonghyeon Ha Date: Wed, 27 Aug 2025 16:52:34 +0900 Subject: [PATCH 02/17] =?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 From be0a7f4cfe1b8a5971ff27d0fab90452d15f7217 Mon Sep 17 00:00:00 2001 From: Jeonghyeon Ha Date: Wed, 27 Aug 2025 17:05:54 +0900 Subject: [PATCH 03/17] =?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 { From e70df5b580ed6e3293ed6b99d88db2c9a52cc7b5 Mon Sep 17 00:00:00 2001 From: Jeonghyeon Ha Date: Wed, 27 Aug 2025 17:25:11 +0900 Subject: [PATCH 04/17] =?UTF-8?q?=ED=81=B4=EB=9E=98=EC=8A=A4=20=EC=9D=B4?= =?UTF-8?q?=EB=A6=84=20=EC=88=98=EC=A0=95=20-=20=EC=A0=91=EB=91=90?= =?UTF-8?q?=EC=82=AC=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Game/GameCharacter/IMovementConstraint.cs | 2 +- ...estaurantCharacter.meta => Character.meta} | 0 .../AI.meta | 0 .../AI/Common.meta | 0 .../AI/Common/Actions.meta | 0 .../Common/Actions/LookAtInteractionTarget.cs | 0 .../Actions/LookAtInteractionTarget.cs.meta | 0 .../Common/Actions/MoveToInteractionTarget.cs | 0 .../Actions/MoveToInteractionTarget.cs.meta | 0 .../AI/Common/Decorator.meta | 0 .../AI/Common/Decorator/TimeLimiter.cs | 0 .../AI/Common/Decorator/TimeLimiter.cs.meta | 0 .../AI/Customer.meta | 0 .../AI/Customer/Actions.meta | 0 .../Actions/ContinueRestaurantOrder.cs | 0 .../Actions/ContinueRestaurantOrder.cs.meta | 0 .../Customer/Actions/StartRestaurantOrder.cs | 2 +- .../Actions/StartRestaurantOrder.cs.meta | 0 .../Actions/WaitForPlayerInteraction.cs | 0 .../Actions/WaitForPlayerInteraction.cs.meta | 0 .../AI/Customer/Conditionals.meta | 0 .../Conditionals/RestaurantOrderAvailable.cs | 0 .../RestaurantOrderAvailable.cs.meta | 0 .../AI/Customer/CustomerAiComponent.cs} | 8 ++++---- .../AI/Customer/CustomerAiComponent.cs.meta} | 0 .../Customer/CustomerBlackboardComponent.cs} | 2 +- .../CustomerBlackboardComponent.cs.meta} | 0 .../Core.meta | 0 .../Core/CharacterAnimation.cs} | 2 +- .../Core/CharacterAnimation.cs.meta} | 0 .../Core/CharacterInteraction.cs} | 2 +- .../Core/CharacterInteraction.cs.meta} | 0 .../Core/CharacterMovement.cs} | 10 +++++----- .../Core/CharacterMovement.cs.meta} | 0 .../Core/CharacterMovementConstraint.cs | 18 ++++++++++++++++++ .../Core/CharacterMovementConstraint.cs.meta} | 0 .../Core/CharacterVisual.cs} | 2 +- .../Core/CharacterVisual.cs.meta} | 0 .../Core/RestaurantCharacter.cs | 6 +++--- .../Core/RestaurantCharacter.cs.meta | 0 .../Interfaces.meta | 0 .../Interfaces/IAiMovement.cs | 0 .../Interfaces/IAiMovement.cs.meta | 0 .../Interfaces/ICurrentDirection.cs | 0 .../Interfaces/ICurrentDirection.cs.meta | 0 .../Interfaces/ICustomerAi.cs} | 2 +- .../Interfaces/ICustomerAi.cs.meta} | 0 .../Interfaces/ICustomerBlackboard.cs} | 2 +- .../Interfaces/ICustomerBlackboard.cs.meta} | 0 .../Interfaces/IMovementConstraint.cs} | 2 +- .../Interfaces/IMovementConstraint.cs.meta} | 0 .../Npc.meta | 0 .../Npc/Customer.meta | 0 .../Npc/Customer/CustomerCharacter.cs | 10 +++++----- .../Npc/Customer/CustomerCharacter.cs.meta | 0 .../Npc/NpcCharacter.cs} | 4 ++-- .../Npc/NpcCharacter.cs.meta} | 0 .../Npc/NpcMovement.cs} | 2 +- .../Npc/NpcMovement.cs.meta} | 0 .../Player.meta | 0 .../Player/PlayerAnimation.cs} | 18 +++++++++--------- .../Player/PlayerAnimation.cs.meta} | 0 .../Player/PlayerCharacter.cs} | 4 ++-- .../Player/PlayerCharacter.cs.meta} | 0 .../Player/PlayerInput.cs} | 2 +- .../Player/PlayerInput.cs.meta} | 0 .../Player/PlayerInteraction.cs} | 2 +- .../Player/PlayerInteraction.cs.meta} | 0 .../Player/PlayerMovement.cs} | 2 +- .../Player/PlayerMovement.cs.meta} | 0 ...taurantController.meta => Controller.meta} | 0 .../Conrtollers.meta | 0 .../Conrtollers/EnvironmentController.cs} | 2 +- .../EnvironmentController.cs.meta} | 0 .../Conrtollers/GlobalMessageController.cs} | 2 +- .../GlobalMessageController.cs.meta} | 0 .../Conrtollers/ManagementController.cs} | 2 +- .../Conrtollers/ManagementController.cs.meta} | 0 .../Conrtollers/PlayerController.cs} | 2 +- .../Conrtollers/PlayerController.cs.meta} | 0 .../Conrtollers/Run.meta | 0 .../Conrtollers/Run/Customer.meta | 0 .../Run/Customer/CustomerFactory.cs | 0 .../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/RunController.cs} | 2 +- .../Conrtollers/RunController.cs.meta} | 0 .../Conrtollers/Tasks.meta | 0 .../Tasks/CreateRestaurantEnvironment.cs | 0 .../Tasks/CreateRestaurantEnvironment.cs.meta | 0 .../Tasks/CreateRestaurantPlayer.cs | 0 .../Tasks/CreateRestaurantPlayer.cs.meta | 0 .../FlowController.cs | 0 .../FlowController.cs.meta | 0 .../RestaurantController.cs | 10 +++++----- .../RestaurantController.cs.meta | 0 .../RestaurantControllerDataSo.cs | 0 .../RestaurantControllerDataSo.cs.meta | 0 .../RestaurantFlowTask.cs | 0 .../RestaurantFlowTask.cs.meta | 0 .../{RestaurantData.meta => Data.meta} | 0 .../{RestaurantData => Data}/DataObjects.meta | 0 .../DataObjects/RestaurantCustomerData.cs | 0 .../RestaurantCustomerData.cs.meta | 0 .../DataObjects/RestaurantManagementData.cs | 0 .../RestaurantManagementData.cs.meta | 0 .../DataObjects/RestaurantPlayerData.cs | 0 .../DataObjects/RestaurantPlayerData.cs.meta | 0 .../DataObjects/RestaurantRunData.cs | 0 .../DataObjects/RestaurantRunData.cs.meta | 0 .../RestaurantData.cs | 0 .../RestaurantData.cs.meta | 0 ...urantEnvironment.meta => Environment.meta} | 0 .../IInteractionSubsystemOwner.cs | 0 .../IInteractionSubsystemOwner.cs.meta | 0 .../Interactions.meta | 0 .../InteractionSubsystem_Cook.cs} | 2 +- .../InteractionSubsystem_Cook.cs.meta} | 0 .../InteractionSubsystem_Management.cs} | 2 +- .../InteractionSubsystem_Management.cs.meta} | 0 .../InteractionSubsystem_Meal.cs} | 2 +- .../InteractionSubsystem_Meal.cs.meta} | 0 .../InteractionSubsystem_Order.cs} | 19 ++++++++++--------- .../InteractionSubsystem_Order.cs.meta} | 0 .../RestaurantEnvironment.cs | 0 .../RestaurantEnvironment.cs.meta | 0 .../{RestaurantEvent.meta => Event.meta} | 0 .../{RestaurantEvent => Event}/Cosmetic.meta | 0 .../Cosmetic/InteractableHighlight.cs | 0 .../Cosmetic/InteractableHighlight.cs.meta | 0 .../RestaurantEvents.cs | 0 .../RestaurantEvents.cs.meta | 0 .../RestaurantInteractionComponent.cs | 6 +++--- .../RestaurantInteractionComponent.cs.meta | 0 .../RestaurantInteractionEvents.cs | 0 .../RestaurantInteractionEvents.cs.meta | 0 .../{RestaurantEvent => Event}/Solvers.meta | 0 .../Solvers/RestaurantCooks.meta | 0 .../RestaurantCooks/RestaurantCookSolver.cs | 0 .../RestaurantCookSolver.cs.meta | 0 .../RestaurantCookSolver_OpenCookUi.cs | 0 .../RestaurantCookSolver_OpenCookUi.cs.meta | 0 .../Solvers/RestaurantManagements.meta | 0 .../RestaurantManagementSolver.cs | 0 .../RestaurantManagementSolver.cs.meta | 0 .../RestaurantManagementSolver_Menu.cs | 0 .../RestaurantManagementSolver_Menu.cs.meta | 0 .../RestaurantManagementSolver_Start.cs | 0 .../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 | 0 .../RestaurantOrderSolver.cs.meta | 0 .../RestaurantOrderSolver_Busy.cs | 0 .../RestaurantOrderSolver_Busy.cs.meta | 0 .../RestaurantOrderSolver_Dirty.cs | 0 .../RestaurantOrderSolver_Dirty.cs.meta | 0 .../RestaurantOrderSolver_Order.cs | 0 .../RestaurantOrderSolver_Order.cs.meta | 0 .../RestaurantOrderSolver_Reserved.cs | 0 .../RestaurantOrderSolver_Reserved.cs.meta | 0 .../RestaurantOrderSolver_Serve.cs | 0 .../RestaurantOrderSolver_Serve.cs.meta | 0 .../RestaurantOrderSolver_Wait.cs | 0 .../RestaurantOrderSolver_Wait.cs.meta | 0 .../Solvers/RestaurantSubsystemSolver.cs | 0 .../Solvers/RestaurantSubsystemSolver.cs.meta | 0 .../RestaurantCharacterMovementConstraint.cs | 18 ------------------ .../{RestaurantState.meta => State.meta} | 0 .../FlowStates.meta | 0 .../FlowStates/RestaurantCustomerState.cs | 0 .../RestaurantCustomerState.cs.meta | 0 .../FlowStates/RestaurantEnvironmentState.cs | 0 .../RestaurantEnvironmentState.cs.meta | 0 .../FlowStates/RestaurantManagementState.cs | 0 .../RestaurantManagementState.cs.meta | 0 .../FlowStates/RestaurantPlayerState.cs | 0 .../FlowStates/RestaurantPlayerState.cs.meta | 0 .../FlowStates/RestaurantRunState.cs | 0 .../FlowStates/RestaurantRunState.cs.meta | 0 .../RestaurantState.cs | 0 .../RestaurantState.cs.meta | 0 .../Restaurant/{RestaurantUi.meta => Ui.meta} | 0 .../{RestaurantUi => Ui}/CookUi.meta | 0 .../CookUi/AddedCookSlotUiStrategy.cs | 0 .../CookUi/AddedCookSlotUiStrategy.cs.meta | 0 .../{RestaurantUi => Ui}/CookUi/CookUi.cs | 0 .../CookUi/CookUi.cs.meta | 0 .../CookUi/CookViewModel.cs | 0 .../CookUi/CookViewModel.cs.meta | 0 .../CookUi/SelectedIngredient.cs | 0 .../CookUi/SelectedIngredient.cs.meta | 0 .../RestaurantManagementUi.meta | 0 .../RestaurantManagementUi/ChecklistData.cs | 0 .../ChecklistData.cs.meta | 0 .../RestaurantManagementUi/ChecklistView.cs | 0 .../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 | 0 .../InventorySlotUiStrategy.cs.meta | 0 .../InventoryUi/InventoryView.cs | 0 .../InventoryUi/InventoryView.cs.meta | 0 .../RestaurantManagementUi/ItemDetailView.cs | 0 .../ItemDetailView.cs.meta | 0 .../RestaurantManagementUi/ItemUi.meta | 0 .../ItemUi/IInteractableUi.cs | 0 .../ItemUi/IInteractableUi.cs.meta | 0 .../ItemUi/IItemSlotInteractorStrategy.cs | 0 .../IItemSlotInteractorStrategy.cs.meta | 0 .../ItemUi/IItemSlotUiStrategy.cs | 0 .../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 | 0 .../ItemUi/ItemSlotInteractor.cs.meta | 0 .../ItemUi/ItemSlotUi.cs | 0 .../ItemUi/ItemSlotUi.cs.meta | 0 .../ItemUi/ItemViewModelFactory.cs | 0 .../ItemUi/ItemViewModelFactory.cs.meta | 0 .../RestaurantManagementUi.cs | 0 .../RestaurantManagementUi.cs.meta | 0 .../RestaurantManagementViewModel.cs | 0 .../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 | 0 .../TodayMenuInteractorStrategy.cs.meta | 0 .../TodayMenuUi/TodayMenuSlotUiStrategy.cs | 0 .../TodayMenuSlotUiStrategy.cs.meta | 0 .../TodayMenuUi/TodayMenuView.cs | 0 .../TodayMenuUi/TodayMenuView.cs.meta | 0 .../TodayRestaurantStateUi.meta | 0 .../TodayCookwareInteractorStrategy.cs | 0 .../TodayCookwareInteractorStrategy.cs.meta | 0 .../TodayCookwareSlotUiStrategy.cs | 0 .../TodayCookwareSlotUiStrategy.cs.meta | 0 .../TodayRestaurantStateView.cs | 0 .../TodayRestaurantStateView.cs.meta | 0 .../TodayWorkerSlotUiStrategy.cs | 0 .../TodayWorkerSlotUiStrategy.cs.meta | 0 272 files changed, 87 insertions(+), 86 deletions(-) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter.meta => Character.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Common.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Common/Actions.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Common/Actions/LookAtInteractionTarget.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Common/Actions/LookAtInteractionTarget.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Common/Actions/MoveToInteractionTarget.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Common/Actions/MoveToInteractionTarget.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Common/Decorator.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Common/Decorator/TimeLimiter.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Common/Decorator/TimeLimiter.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Customer.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Customer/Actions.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Customer/Actions/ContinueRestaurantOrder.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Customer/Actions/ContinueRestaurantOrder.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Customer/Actions/StartRestaurantOrder.cs (98%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Customer/Actions/StartRestaurantOrder.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Customer/Actions/WaitForPlayerInteraction.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Customer/Actions/WaitForPlayerInteraction.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Customer/Conditionals.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Customer/Conditionals/RestaurantOrderAvailable.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/AI/Customer/Conditionals/RestaurantOrderAvailable.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs => Character/AI/Customer/CustomerAiComponent.cs} (83%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs.meta => Character/AI/Customer/CustomerAiComponent.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs => Character/AI/Customer/CustomerBlackboardComponent.cs} (91%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs.meta => Character/AI/Customer/CustomerBlackboardComponent.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/Core.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Core/RestaurantCharacterAnimation.cs => Character/Core/CharacterAnimation.cs} (89%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Core/RestaurantCharacterAnimation.cs.meta => Character/Core/CharacterAnimation.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Core/RestaurantCharacterInteraction.cs => Character/Core/CharacterInteraction.cs} (96%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Core/RestaurantCharacterInteraction.cs.meta => Character/Core/CharacterInteraction.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Core/RestaurantCharacterMovement.cs => Character/Core/CharacterMovement.cs} (55%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Core/RestaurantCharacterMovement.cs.meta => Character/Core/CharacterMovement.cs.meta} (100%) create mode 100644 Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterMovementConstraint.cs rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs.meta => Character/Core/CharacterMovementConstraint.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Core/RestaurantCharacterVisual.cs => Character/Core/CharacterVisual.cs} (93%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Core/RestaurantCharacterVisual.cs.meta => Character/Core/CharacterVisual.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/Core/RestaurantCharacter.cs (88%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/Core/RestaurantCharacter.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/Interfaces.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/Interfaces/IAiMovement.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/Interfaces/IAiMovement.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/Interfaces/ICurrentDirection.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/Interfaces/ICurrentDirection.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs => Character/Interfaces/ICustomerAi.cs} (72%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs.meta => Character/Interfaces/ICustomerAi.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs => Character/Interfaces/ICustomerBlackboard.cs} (88%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs.meta => Character/Interfaces/ICustomerBlackboard.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs => Character/Interfaces/IMovementConstraint.cs} (58%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs.meta => Character/Interfaces/IMovementConstraint.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/Npc.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/Npc/Customer.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/Npc/Customer/CustomerCharacter.cs (60%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/Npc/Customer/CustomerCharacter.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Npc/RestaurantNpcCharacter.cs => Character/Npc/NpcCharacter.cs} (61%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Npc/RestaurantNpcCharacter.cs.meta => Character/Npc/NpcCharacter.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Npc/RestaurantNpcMovement.cs => Character/Npc/NpcMovement.cs} (98%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Npc/RestaurantNpcMovement.cs.meta => Character/Npc/NpcMovement.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter => Character}/Player.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Player/RestaurantPlayerAnimation.cs => Character/Player/PlayerAnimation.cs} (58%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Player/RestaurantPlayerAnimation.cs.meta => Character/Player/PlayerAnimation.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Player/RestaurantPlayerCharacter.cs => Character/Player/PlayerCharacter.cs} (79%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Player/RestaurantPlayerCharacter.cs.meta => Character/Player/PlayerCharacter.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Player/RestaurantPlayerInput.cs => Character/Player/PlayerInput.cs} (94%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Player/RestaurantPlayerInput.cs.meta => Character/Player/PlayerInput.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Player/RestaurantPlayerInteraction.cs => Character/Player/PlayerInteraction.cs} (98%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Player/RestaurantPlayerInteraction.cs.meta => Character/Player/PlayerInteraction.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Player/RestaurantPlayerMovement.cs => Character/Player/PlayerMovement.cs} (99%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantCharacter/Player/RestaurantPlayerMovement.cs.meta => Character/Player/PlayerMovement.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController.meta => Controller.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController/Conrtollers/RestaurantEnvironmentController.cs => Controller/Conrtollers/EnvironmentController.cs} (95%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController/Conrtollers/RestaurantEnvironmentController.cs.meta => Controller/Conrtollers/EnvironmentController.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs => Controller/Conrtollers/GlobalMessageController.cs} (94%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs.meta => Controller/Conrtollers/GlobalMessageController.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController/Conrtollers/RestaurantManagementController.cs => Controller/Conrtollers/ManagementController.cs} (91%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController/Conrtollers/RestaurantManagementController.cs.meta => Controller/Conrtollers/ManagementController.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController/Conrtollers/RestaurantPlayerController.cs => Controller/Conrtollers/PlayerController.cs} (94%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController/Conrtollers/RestaurantPlayerController.cs.meta => Controller/Conrtollers/PlayerController.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Run.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Run/Customer.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Run/Customer/CustomerFactory.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Run/Customer/CustomerFactory.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Run/Customer/SpawnPointProvider.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Run/Customer/SpawnPointProvider.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Run/Customer/SpawnSchedule.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Run/Customer/SpawnSchedule.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Run/Customer/SpawnScheduleUtils.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Run/Customer/SpawnScheduleUtils.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController/Conrtollers/RestaurantRunController.cs => Controller/Conrtollers/RunController.cs} (99%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController/Conrtollers/RestaurantRunController.cs.meta => Controller/Conrtollers/RunController.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Tasks.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Tasks/CreateRestaurantEnvironment.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Tasks/CreateRestaurantEnvironment.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Tasks/CreateRestaurantPlayer.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/Conrtollers/Tasks/CreateRestaurantPlayer.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/FlowController.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/FlowController.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/RestaurantController.cs (92%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/RestaurantController.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/RestaurantControllerDataSo.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/RestaurantControllerDataSo.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/RestaurantFlowTask.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantController => Controller}/RestaurantFlowTask.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantData.meta => Data.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantData => Data}/DataObjects.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantData => Data}/DataObjects/RestaurantCustomerData.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantData => Data}/DataObjects/RestaurantCustomerData.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantData => Data}/DataObjects/RestaurantManagementData.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantData => Data}/DataObjects/RestaurantManagementData.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantData => Data}/DataObjects/RestaurantPlayerData.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantData => Data}/DataObjects/RestaurantPlayerData.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantData => Data}/DataObjects/RestaurantRunData.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantData => Data}/DataObjects/RestaurantRunData.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantData => Data}/RestaurantData.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantData => Data}/RestaurantData.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEnvironment.meta => Environment.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEnvironment => Environment}/IInteractionSubsystemOwner.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEnvironment => Environment}/IInteractionSubsystemOwner.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEnvironment => Environment}/Interactions.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs => Environment/Interactions/InteractionSubsystem_Cook.cs} (88%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs.meta => Environment/Interactions/InteractionSubsystem_Cook.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs => Environment/Interactions/InteractionSubsystem_Management.cs} (88%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs.meta => Environment/Interactions/InteractionSubsystem_Management.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs => Environment/Interactions/InteractionSubsystem_Meal.cs} (93%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs.meta => Environment/Interactions/InteractionSubsystem_Meal.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs => Environment/Interactions/InteractionSubsystem_Order.cs} (73%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs.meta => Environment/Interactions/InteractionSubsystem_Order.cs.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEnvironment => Environment}/RestaurantEnvironment.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEnvironment => Environment}/RestaurantEnvironment.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent.meta => Event.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Cosmetic.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Cosmetic/InteractableHighlight.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Cosmetic/InteractableHighlight.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/RestaurantEvents.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/RestaurantEvents.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/RestaurantInteractionComponent.cs (95%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/RestaurantInteractionComponent.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/RestaurantInteractionEvents.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/RestaurantInteractionEvents.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantCooks.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantCooks/RestaurantCookSolver.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantCooks/RestaurantCookSolver.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantManagements.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantManagements/RestaurantManagementSolver.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantManagements/RestaurantManagementSolver.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantMeals.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantMeals/RestaurantMealSolver.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantMeals/RestaurantMealSolver.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantOrders.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantOrders/RestaurantOrderSolver.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantOrders/RestaurantOrderSolver.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantSubsystemSolver.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantEvent => Event}/Solvers/RestaurantSubsystemSolver.cs.meta (100%) delete mode 100644 Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs rename Assets/_DDD/_Scripts/Restaurant/{RestaurantState.meta => State.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantState => State}/FlowStates.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantState => State}/FlowStates/RestaurantCustomerState.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantState => State}/FlowStates/RestaurantCustomerState.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantState => State}/FlowStates/RestaurantEnvironmentState.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantState => State}/FlowStates/RestaurantEnvironmentState.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantState => State}/FlowStates/RestaurantManagementState.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantState => State}/FlowStates/RestaurantManagementState.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantState => State}/FlowStates/RestaurantPlayerState.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantState => State}/FlowStates/RestaurantPlayerState.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantState => State}/FlowStates/RestaurantRunState.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantState => State}/FlowStates/RestaurantRunState.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantState => State}/RestaurantState.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantState => State}/RestaurantState.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi.meta => Ui.meta} (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/CookUi.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/CookUi/AddedCookSlotUiStrategy.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/CookUi/AddedCookSlotUiStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/CookUi/CookUi.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/CookUi/CookUi.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/CookUi/CookViewModel.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/CookUi/CookViewModel.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/CookUi/SelectedIngredient.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/CookUi/SelectedIngredient.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ChecklistData.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ChecklistData.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ChecklistView.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ChecklistView.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ExtensionsUi.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/InventoryUi.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/InventoryUi/InventoryView.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/InventoryUi/InventoryView.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemDetailView.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemDetailView.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/IInteractableUi.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/IInteractableUi.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/IngredientEntry.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/IngredientEntry.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/ItemModel.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/ItemModel.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/ItemSlotUi.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/ItemSlotUi.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/RestaurantManagementUi.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/RestaurantManagementUi.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/RestaurantManagementViewModel.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/RestaurantManagementViewModel.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TabUi.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TabUi/ITabButton.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TabUi/ITabButton.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TabUi/TabButtonUi.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TabUi/TabButtonUi.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TabUi/TabGroupUi.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TabUi/TabGroupUi.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TasteHashTagSlotUi.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TasteHashTagSlotUi.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayMenuUi.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayRestaurantStateUi.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs.meta (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs (100%) rename Assets/_DDD/_Scripts/Restaurant/{RestaurantUi => Ui}/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs.meta (100%) diff --git a/Assets/_DDD/_Scripts/Game/GameCharacter/IMovementConstraint.cs b/Assets/_DDD/_Scripts/Game/GameCharacter/IMovementConstraint.cs index 6e290b4e9..064721ade 100644 --- a/Assets/_DDD/_Scripts/Game/GameCharacter/IMovementConstraint.cs +++ b/Assets/_DDD/_Scripts/Game/GameCharacter/IMovementConstraint.cs @@ -1,4 +1,4 @@ -namespace DDD +namespace DDD.Restaurant { public interface IMovementConstraint { diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter.meta b/Assets/_DDD/_Scripts/Restaurant/Character.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter.meta rename to Assets/_DDD/_Scripts/Restaurant/Character.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Common.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/LookAtInteractionTarget.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/LookAtInteractionTarget.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/LookAtInteractionTarget.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/LookAtInteractionTarget.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/LookAtInteractionTarget.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/MoveToInteractionTarget.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/MoveToInteractionTarget.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/MoveToInteractionTarget.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Actions/MoveToInteractionTarget.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/MoveToInteractionTarget.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Decorator.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Decorator.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Decorator.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Decorator.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Decorator/TimeLimiter.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Decorator/TimeLimiter.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Decorator/TimeLimiter.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Common/Decorator/TimeLimiter.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Decorator/TimeLimiter.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/ContinueRestaurantOrder.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/ContinueRestaurantOrder.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/ContinueRestaurantOrder.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/ContinueRestaurantOrder.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/ContinueRestaurantOrder.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/ContinueRestaurantOrder.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/ContinueRestaurantOrder.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/ContinueRestaurantOrder.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/StartRestaurantOrder.cs similarity index 98% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/StartRestaurantOrder.cs index cd92b99b1..16216526e 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/StartRestaurantOrder.cs @@ -46,7 +46,7 @@ public override TaskStatus OnUpdate() if (_registerOnBlackboard) { // 하위 호환: 고객 전용 블랙보드 지원 - var customerBlackboard = gameObject.GetComponent(); + var customerBlackboard = gameObject.GetComponent(); customerBlackboard?.SetCurrentInteractionTarget(outInteractable.gameObject); } diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/StartRestaurantOrder.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/StartRestaurantOrder.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/StartRestaurantOrder.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Actions/WaitForPlayerInteraction.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Conditionals.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Conditionals.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Conditionals.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Conditionals.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Conditionals/RestaurantOrderAvailable.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Conditionals/RestaurantOrderAvailable.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Conditionals/RestaurantOrderAvailable.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/Conditionals/RestaurantOrderAvailable.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Conditionals/RestaurantOrderAvailable.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs similarity index 83% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs index 987edeb54..89593be6d 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs @@ -8,16 +8,16 @@ namespace DDD.Restaurant { [RequireComponent(typeof(BehaviorTree))] - [RequireComponent(typeof(RestaurantCustomerBlackboardComponent))] - public class RestaurantCustomerAiComponent : MonoBehaviour, IRestaurantCustomerAi + [RequireComponent(typeof(CustomerBlackboardComponent))] + public class CustomerAiComponent : MonoBehaviour, ICustomerAi { protected BehaviorTree _behaviorTree; - protected RestaurantCustomerBlackboardComponent _blackboardComponent; + protected CustomerBlackboardComponent _blackboardComponent; private void Awake() { _behaviorTree = GetComponent(); - _blackboardComponent = GetComponent(); + _blackboardComponent = GetComponent(); } public async Task InitializeAi(CustomerData inCustomerData) diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerAiComponent.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs similarity index 91% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs index 98112000e..d23f14605 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs @@ -3,7 +3,7 @@ namespace DDD { - public class RestaurantCustomerBlackboardComponent : MonoBehaviour, IRestaurantCustomerBlackboard, IAISharedBlackboard + public class CustomerBlackboardComponent : MonoBehaviour, ICustomerBlackboard, IAISharedBlackboard { private Subtree _subtree; private GameObject _currentInteractionTarget; diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/AI/Customer/RestaurantCustomerBlackboardComponent.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Core.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Core.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterAnimation.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterAnimation.cs similarity index 89% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterAnimation.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterAnimation.cs index 88058c404..03a4d5a4c 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterAnimation.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterAnimation.cs @@ -3,7 +3,7 @@ namespace DDD { [RequireComponent(typeof(SpineController))] - public class RestaurantCharacterAnimation : MonoBehaviour + public class CharacterAnimation : MonoBehaviour { protected SpineController _spineController; diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterAnimation.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterAnimation.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterAnimation.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterAnimation.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterInteraction.cs similarity index 96% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterInteraction.cs index 7407eb6de..d6b1530a5 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterInteraction.cs @@ -4,7 +4,7 @@ namespace DDD.Restaurant { - public class RestaurantCharacterInteraction : MonoBehaviour, IInteractor, IEventHandler + public class CharacterInteraction : MonoBehaviour, IInteractor, IEventHandler { [EnumToggleButtons, SerializeField] protected InteractionType _availableInteractions; [SerializeField, ReadOnly] protected Collider[] _nearColliders = new Collider[10]; diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterInteraction.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterInteraction.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterInteraction.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovement.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterMovement.cs similarity index 55% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovement.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterMovement.cs index 19920b0b2..a7f326db4 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovement.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterMovement.cs @@ -2,18 +2,18 @@ namespace DDD { - public class RestaurantCharacterMovement : MonoBehaviour + public class CharacterMovement : MonoBehaviour { - private RestaurantCharacterMovementConstraint _constraint; + private CharacterMovementConstraint _constraint; protected virtual void Awake() { - _constraint = gameObject.AddComponent(); + _constraint = gameObject.AddComponent(); } public virtual bool CanMove() { - // Get all components implements IRestaurantMovementConstraint - var constraints = GetComponents(); + // Get all components implements IMovementConstraint + var constraints = GetComponents(); // TODO : Maybe need optimize GetComponents? foreach (var movementConstraint in constraints) { diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovement.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterMovement.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovement.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterMovement.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterMovementConstraint.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterMovementConstraint.cs new file mode 100644 index 000000000..076264ed4 --- /dev/null +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterMovementConstraint.cs @@ -0,0 +1,18 @@ +using UnityEngine; + +namespace DDD +{ + [RequireComponent(typeof(CharacterAnimation))] + public class CharacterMovementConstraint : MonoBehaviour, IMovementConstraint + { + public bool IsBlockingMovement() + { + if (GetComponent().IsPlayingAnimation()) + { + return true; + } + + return false; + } + } +} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterMovementConstraint.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterMovementConstraint.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterVisual.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterVisual.cs similarity index 93% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterVisual.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterVisual.cs index 13b6bfa02..5b866df48 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterVisual.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterVisual.cs @@ -2,7 +2,7 @@ namespace DDD { - public class RestaurantCharacterVisual : MonoBehaviour + public class CharacterVisual : MonoBehaviour { private ICurrentDirection _iCurrentDirection; diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterVisual.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterVisual.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterVisual.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterVisual.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacter.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Core/RestaurantCharacter.cs similarity index 88% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacter.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Core/RestaurantCharacter.cs index 65c8a53fd..42105fd49 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacter.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Core/RestaurantCharacter.cs @@ -3,16 +3,16 @@ namespace DDD.Restaurant { - [RequireComponent(typeof(RestaurantCharacterInteraction))] + [RequireComponent(typeof(CharacterInteraction))] [RequireComponent(typeof(SpineController))] public class RestaurantCharacter : MonoBehaviour, IGameCharacter, IInteractor { - RestaurantCharacterInteraction _interactionComponent; + CharacterInteraction _interactionComponent; protected SpineController _spineController; protected virtual void Awake() { - _interactionComponent = GetComponent(); + _interactionComponent = GetComponent(); _spineController = GetComponent(); foreach (var typeToSolver in RestaurantInteractionEventSolvers.TypeToSolver) { diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacter.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Core/RestaurantCharacter.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacter.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Core/RestaurantCharacter.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Interfaces.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IAiMovement.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/IAiMovement.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IAiMovement.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/IAiMovement.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IAiMovement.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/IAiMovement.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IAiMovement.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/IAiMovement.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/ICurrentDirection.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICurrentDirection.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/ICurrentDirection.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICurrentDirection.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/ICurrentDirection.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICurrentDirection.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/ICurrentDirection.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICurrentDirection.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerAi.cs similarity index 72% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerAi.cs index 1d0f490a0..6fc7ad64f 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerAi.cs @@ -2,7 +2,7 @@ namespace DDD { - public interface IRestaurantCustomerAi + public interface ICustomerAi { Task InitializeAi(CustomerData inCustomerData); } diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerAi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerAi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerAi.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs similarity index 88% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs index 51859cddf..3f811c8a3 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs @@ -9,7 +9,7 @@ public enum RestaurantCustomerBlackboardKey CurrentInteractionTarget, } - public interface IRestaurantCustomerBlackboard + public interface ICustomerBlackboard { void SetCustomerData(CustomerData inCustomerData); void SetCurrentInteractionTarget(GameObject targetGameObject); diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantCustomerBlackboard.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/IMovementConstraint.cs similarity index 58% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/IMovementConstraint.cs index 462d87b94..5bb57d976 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/IMovementConstraint.cs @@ -1,6 +1,6 @@ namespace DDD { - public interface IRestaurantMovementConstraint + public interface IMovementConstraint { public bool IsBlockingMovement(); } diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/IMovementConstraint.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Interfaces/IRestaurantMovementConstraint.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/IMovementConstraint.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Npc.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Npc.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/Customer.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Npc/Customer.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/Customer.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Npc/Customer.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Npc/Customer/CustomerCharacter.cs similarity index 60% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Npc/Customer/CustomerCharacter.cs index e3f0ae046..6dc164fa9 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Npc/Customer/CustomerCharacter.cs @@ -5,22 +5,22 @@ namespace DDD.Restaurant { - [RequireComponent(typeof(RestaurantCustomerAiComponent))] - public class CustomerCharacter : RestaurantNpcCharacter, ICustomerInitializer + [RequireComponent(typeof(CustomerAiComponent))] + public class CustomerCharacter : NpcCharacter, ICustomerInitializer { private CustomerData _customerData; - protected IRestaurantCustomerAi restaurantCustomerAi; + protected ICustomerAi _customerAi; protected override void Awake() { base.Awake(); - restaurantCustomerAi = GetComponent(); + _customerAi = GetComponent(); } public void Initialize(CustomerData customerData) { _customerData = customerData; - restaurantCustomerAi.InitializeAi(_customerData); + _customerAi.InitializeAi(_customerData); // 스킨 설정 _spineController.SetSkin(_customerData.SpineSkinKey); diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Npc/Customer/CustomerCharacter.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/Customer/CustomerCharacter.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Npc/Customer/CustomerCharacter.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Npc/NpcCharacter.cs similarity index 61% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Npc/NpcCharacter.cs index 7756a14fa..10e29bd62 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Npc/NpcCharacter.cs @@ -3,8 +3,8 @@ namespace DDD.Restaurant { - [RequireComponent(typeof(RestaurantNpcMovement))] - public class RestaurantNpcCharacter : RestaurantCharacter + [RequireComponent(typeof(NpcMovement))] + public class NpcCharacter : RestaurantCharacter { protected override void Awake() { diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Npc/NpcCharacter.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcCharacter.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Npc/NpcCharacter.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcMovement.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Npc/NpcMovement.cs similarity index 98% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcMovement.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Npc/NpcMovement.cs index e73acf69f..4248d0aa1 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcMovement.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Npc/NpcMovement.cs @@ -4,7 +4,7 @@ namespace DDD { [RequireComponent(typeof(AIPath))] - public class RestaurantNpcMovement : RestaurantCharacterMovement, IAiMovement, ICurrentDirection + public class NpcMovement : CharacterMovement, IAiMovement, ICurrentDirection { private IAstarAI _iAstarAi; private Vector3 _lastDirection = Vector3.forward; diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcMovement.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Npc/NpcMovement.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Npc/RestaurantNpcMovement.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Npc/NpcMovement.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Player.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Player.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerAnimation.cs similarity index 58% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerAnimation.cs index 71c5aa3e8..8ae579f6d 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerAnimation.cs @@ -2,34 +2,34 @@ namespace DDD.Restaurant { - [RequireComponent(typeof(RestaurantPlayerMovement))] - public class RestaurantPlayerAnimation : RestaurantCharacterAnimation + [RequireComponent(typeof(PlayerMovement))] + public class PlayerAnimation : CharacterAnimation { - private RestaurantPlayerMovement _restaurantPlayerMovement; + private PlayerMovement _playerMovement; protected override void Awake() { base.Awake(); - _restaurantPlayerMovement = GetComponent(); + _playerMovement = GetComponent(); } protected override void Start() { base.Start(); - _restaurantPlayerMovement.OnMoving += OnMove; - _restaurantPlayerMovement.OnDashing += OnDash; + _playerMovement.OnMoving += OnMove; + _playerMovement.OnDashing += OnDash; } protected override void OnDestroy() { base.OnDestroy(); - if (_restaurantPlayerMovement) + if (_playerMovement) { - _restaurantPlayerMovement.OnMoving -= OnMove; - _restaurantPlayerMovement.OnDashing -= OnDash; + _playerMovement.OnMoving -= OnMove; + _playerMovement.OnDashing -= OnDash; } } diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerAnimation.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerAnimation.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerAnimation.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerCharacter.cs similarity index 79% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerCharacter.cs index 3fef16bef..1abe46f50 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerCharacter.cs @@ -2,8 +2,8 @@ namespace DDD.Restaurant { - [RequireComponent(typeof(RestaurantPlayerMovement))] - public class RestaurantPlayerCharacter : RestaurantCharacter + [RequireComponent(typeof(PlayerMovement))] + public class PlayerCharacter : RestaurantCharacter { protected override void Awake() { diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerCharacter.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerCharacter.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerCharacter.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInput.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerInput.cs similarity index 94% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInput.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerInput.cs index 611f8c920..3d158502a 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInput.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerInput.cs @@ -3,7 +3,7 @@ namespace DDD.Restaurant { - public class RestaurantPlayerInput : MonoBehaviour + public class PlayerInput : MonoBehaviour { private RestaurantPlayerData _playerDataSo; diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInput.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerInput.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInput.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerInput.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerInteraction.cs similarity index 98% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerInteraction.cs index 10529301d..4162945a1 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerInteraction.cs @@ -4,7 +4,7 @@ namespace DDD.Restaurant { - public class RestaurantPlayerInteraction : RestaurantCharacterInteraction + public class PlayerInteraction : CharacterInteraction { private RestaurantPlayerData _restaurantPlayerDataSo; diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerInteraction.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerInteraction.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerInteraction.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerMovement.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerMovement.cs similarity index 99% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerMovement.cs rename to Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerMovement.cs index 5c5d52683..98a911da5 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerMovement.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerMovement.cs @@ -9,7 +9,7 @@ namespace DDD.Restaurant { [RequireComponent(typeof(Rigidbody))] [RequireComponent(typeof(BoxCollider))] - public class RestaurantPlayerMovement : RestaurantCharacterMovement, ICurrentDirection + public class PlayerMovement : CharacterMovement, ICurrentDirection { #region Fields diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerMovement.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerMovement.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Player/RestaurantPlayerMovement.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerMovement.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController.meta b/Assets/_DDD/_Scripts/Restaurant/Controller.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/EnvironmentController.cs similarity index 95% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/EnvironmentController.cs index b13f038d8..32c5be4f2 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/EnvironmentController.cs @@ -3,7 +3,7 @@ namespace DDD.Restaurant { - public class RestaurantEnvironmentController : FlowController + public class EnvironmentController : FlowController { private RestaurantEnvironmentState _environmentState; public override Task InitializeController() diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/EnvironmentController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantEnvironmentController.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/EnvironmentController.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/GlobalMessageController.cs similarity index 94% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/GlobalMessageController.cs index e43fa0310..1eb99f053 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/GlobalMessageController.cs @@ -3,7 +3,7 @@ namespace DDD { - public class RestaurantGlobalMessageController : FlowController + public class GlobalMessageController : FlowController { private const string ReadyForRestaurantMessageKey = "ready_for_restaurant_message"; private const string RunRestaurantMessageKey = "run_restaurnat_message"; diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/GlobalMessageController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantGlobalMessageController.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/GlobalMessageController.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantManagementController.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/ManagementController.cs similarity index 91% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantManagementController.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/ManagementController.cs index bd7bf976d..c395c5858 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantManagementController.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/ManagementController.cs @@ -3,7 +3,7 @@ namespace DDD.Restaurant { - public class RestaurantManagementController : FlowController + public class ManagementController : FlowController { public override Task InitializeController() { diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantManagementController.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/ManagementController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantManagementController.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/ManagementController.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantPlayerController.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/PlayerController.cs similarity index 94% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantPlayerController.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/PlayerController.cs index 676c27b27..76ab29331 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantPlayerController.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/PlayerController.cs @@ -4,7 +4,7 @@ namespace DDD.Restaurant { - public class RestaurantPlayerController : FlowController + public class PlayerController : FlowController { public override Task InitializeController() { diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantPlayerController.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/PlayerController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantPlayerController.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/PlayerController.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/CustomerFactory.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/CustomerFactory.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/CustomerFactory.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/CustomerFactory.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/RandomSpawnScheduleBuilder.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/RegularSpawnScheduleBuilder.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnPointProvider.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/SpawnPointProvider.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnPointProvider.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/SpawnPointProvider.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnPointProvider.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/SpawnPointProvider.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnPointProvider.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/SpawnPointProvider.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnSchedule.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/SpawnSchedule.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnSchedule.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/SpawnSchedule.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnSchedule.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/SpawnSchedule.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnSchedule.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/SpawnSchedule.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnScheduleUtils.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/SpawnScheduleUtils.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnScheduleUtils.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/SpawnScheduleUtils.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnScheduleUtils.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/SpawnScheduleUtils.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Run/Customer/SpawnScheduleUtils.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/SpawnScheduleUtils.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantRunController.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/RunController.cs similarity index 99% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantRunController.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/RunController.cs index c076719fc..20074746e 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantRunController.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/RunController.cs @@ -7,7 +7,7 @@ namespace DDD.Restaurant { - public class RestaurantRunController : FlowController + public class RunController : FlowController { private RestaurantCustomerState _restaurantCustomerStateSo; private RestaurantRunState _restaurantRunStateSo; diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantRunController.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/RunController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/RestaurantRunController.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/RunController.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Tasks.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Tasks.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Tasks/CreateRestaurantEnvironment.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Tasks/CreateRestaurantEnvironment.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Tasks/CreateRestaurantEnvironment.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantEnvironment.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Tasks/CreateRestaurantEnvironment.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Tasks/CreateRestaurantPlayer.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Tasks/CreateRestaurantPlayer.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Tasks/CreateRestaurantPlayer.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/Conrtollers/Tasks/CreateRestaurantPlayer.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Tasks/CreateRestaurantPlayer.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/FlowController.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/FlowController.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/FlowController.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/FlowController.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/FlowController.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/FlowController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/FlowController.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/FlowController.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantController.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/RestaurantController.cs similarity index 92% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantController.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/RestaurantController.cs index 8f6a12cab..079143c8c 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantController.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Controller/RestaurantController.cs @@ -18,11 +18,11 @@ public class RestaurantController : Singleton, IManager, I // static definitions private static readonly List RestaurantFlowControllerTypes = new() { - typeof(RestaurantPlayerController), - typeof(RestaurantEnvironmentController), - typeof(RestaurantManagementController), - typeof(RestaurantRunController), - typeof(RestaurantGlobalMessageController) + typeof(PlayerController), + typeof(EnvironmentController), + typeof(ManagementController), + typeof(RunController), + typeof(GlobalMessageController) }; public void PreInit() diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantController.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/RestaurantController.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantController.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/RestaurantController.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantControllerDataSo.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/RestaurantControllerDataSo.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantControllerDataSo.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/RestaurantControllerDataSo.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantControllerDataSo.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/RestaurantControllerDataSo.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantControllerDataSo.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/RestaurantControllerDataSo.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantFlowTask.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/RestaurantFlowTask.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantFlowTask.cs rename to Assets/_DDD/_Scripts/Restaurant/Controller/RestaurantFlowTask.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantFlowTask.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Controller/RestaurantFlowTask.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantController/RestaurantFlowTask.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Controller/RestaurantFlowTask.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantData.meta b/Assets/_DDD/_Scripts/Restaurant/Data.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantData.meta rename to Assets/_DDD/_Scripts/Restaurant/Data.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects.meta b/Assets/_DDD/_Scripts/Restaurant/Data/DataObjects.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects.meta rename to Assets/_DDD/_Scripts/Restaurant/Data/DataObjects.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantCustomerData.cs b/Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantCustomerData.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantCustomerData.cs rename to Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantCustomerData.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantCustomerData.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantCustomerData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantCustomerData.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantCustomerData.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantManagementData.cs b/Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantManagementData.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantManagementData.cs rename to Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantManagementData.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantManagementData.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantManagementData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantManagementData.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantManagementData.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantPlayerData.cs b/Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantPlayerData.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantPlayerData.cs rename to Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantPlayerData.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantPlayerData.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantPlayerData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantPlayerData.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantPlayerData.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantRunData.cs b/Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantRunData.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantRunData.cs rename to Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantRunData.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantRunData.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantRunData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantData/DataObjects/RestaurantRunData.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Data/DataObjects/RestaurantRunData.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantData/RestaurantData.cs b/Assets/_DDD/_Scripts/Restaurant/Data/RestaurantData.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantData/RestaurantData.cs rename to Assets/_DDD/_Scripts/Restaurant/Data/RestaurantData.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantData/RestaurantData.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Data/RestaurantData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantData/RestaurantData.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Data/RestaurantData.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment.meta b/Assets/_DDD/_Scripts/Restaurant/Environment.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment.meta rename to Assets/_DDD/_Scripts/Restaurant/Environment.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/IInteractionSubsystemOwner.cs b/Assets/_DDD/_Scripts/Restaurant/Environment/IInteractionSubsystemOwner.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/IInteractionSubsystemOwner.cs rename to Assets/_DDD/_Scripts/Restaurant/Environment/IInteractionSubsystemOwner.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/IInteractionSubsystemOwner.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Environment/IInteractionSubsystemOwner.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/IInteractionSubsystemOwner.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Environment/IInteractionSubsystemOwner.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions.meta b/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions.meta rename to Assets/_DDD/_Scripts/Restaurant/Environment/Interactions.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs b/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Cook.cs similarity index 88% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs rename to Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Cook.cs index 8853c91ae..c599b2af8 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Cook.cs @@ -9,7 +9,7 @@ public enum RestaurantCookType : uint OpenCookUi = 0, } - public class RestaurantCookInteractionSubsystem : MonoBehaviour, IInteractionSubsystemObject + public class InteractionSubsystem_Cook : MonoBehaviour, IInteractionSubsystemObject { [SerializeField] protected RestaurantCookType _cookType = RestaurantCookType.OpenCookUi; diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Cook.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantCookInteractionSubsystem.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Cook.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs b/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Management.cs similarity index 88% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs rename to Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Management.cs index 0c7dd033c..0bab205bb 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Management.cs @@ -10,7 +10,7 @@ public enum RestaurantManagementType : uint StartRestaurant = 1, } - public class RestaurantManagementInteractionSubsystem : MonoBehaviour, IInteractionSubsystemObject + public class InteractionSubsystem_Management : MonoBehaviour, IInteractionSubsystemObject { [SerializeField] protected RestaurantManagementType _managementType = RestaurantManagementType.OpenRestaurantMenu; diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Management.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantManagementInteractionSubsystem.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Management.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs b/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Meal.cs similarity index 93% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs rename to Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Meal.cs index d018dc86b..25433d327 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Meal.cs @@ -9,7 +9,7 @@ public enum RestaurantMealType : uint WaitForOrder = 1u, WaitForServe = 1u << 1 } - public class RestaurantMealInteractionSubsystem : MonoBehaviour, IInteractionSubsystemObject + public class InteractionSubsystem_Meal : MonoBehaviour, IInteractionSubsystemObject { private RestaurantMealType _currentRestaurantMealType; private void Awake() diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Meal.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantMealInteractionSubsystem.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Meal.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs b/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Order.cs similarity index 73% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs rename to Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Order.cs index fd6260925..eebb1f995 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Order.cs @@ -1,5 +1,6 @@ using System; using UnityEngine; +using UnityEngine.Serialization; namespace DDD { @@ -13,14 +14,14 @@ public enum RestaurantOrderType : uint Dirty = 1u << 4, } - public class RestaurantOrderInteractionSubsystem : MonoBehaviour, IInteractionSubsystemObject + public class InteractionSubsystem_Order : MonoBehaviour, IInteractionSubsystemObject { - [SerializeField] protected RestaurantOrderType orderType = RestaurantOrderType.Wait; - private RestaurantOrderType currentRestaurantOrderType; + [FormerlySerializedAs("orderType")] [SerializeField] protected RestaurantOrderType _orderType = RestaurantOrderType.Wait; + private RestaurantOrderType _currentRestaurantOrderType; private void Start() { - currentRestaurantOrderType = orderType; + _currentRestaurantOrderType = _orderType; } public bool CanInteract() @@ -35,8 +36,8 @@ public bool CanInteract() public bool OnInteracted(IInteractor interactor, ScriptableObject payloadSo = null) { // 간단한 상태 전이: 현재 상태에서 다음 상태로 이동 - var prev = currentRestaurantOrderType; - currentRestaurantOrderType = GetNextState(prev); + var prev = _currentRestaurantOrderType; + _currentRestaurantOrderType = GetNextState(prev); return true; } @@ -47,17 +48,17 @@ public ScriptableObject GetPayload() public void InitializeSubsystem() { - currentRestaurantOrderType = orderType; + _currentRestaurantOrderType = _orderType; } public RestaurantOrderType GetInteractionSubsystemType() { - return currentRestaurantOrderType; + return _currentRestaurantOrderType; } public void SetInteractionSubsystemType(RestaurantOrderType inValue) { - currentRestaurantOrderType = inValue; + _currentRestaurantOrderType = inValue; } private RestaurantOrderType GetNextState(RestaurantOrderType state) diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Order.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/Interactions/RestaurantOrderInteractionSubsystem.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Order.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/RestaurantEnvironment.cs b/Assets/_DDD/_Scripts/Restaurant/Environment/RestaurantEnvironment.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/RestaurantEnvironment.cs rename to Assets/_DDD/_Scripts/Restaurant/Environment/RestaurantEnvironment.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/RestaurantEnvironment.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Environment/RestaurantEnvironment.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEnvironment/RestaurantEnvironment.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Environment/RestaurantEnvironment.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent.meta b/Assets/_DDD/_Scripts/Restaurant/Event.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent.meta rename to Assets/_DDD/_Scripts/Restaurant/Event.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Cosmetic.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Cosmetic.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Cosmetic.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Cosmetic.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Cosmetic/InteractableHighlight.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Cosmetic/InteractableHighlight.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Cosmetic/InteractableHighlight.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Cosmetic/InteractableHighlight.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Cosmetic/InteractableHighlight.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Cosmetic/InteractableHighlight.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Cosmetic/InteractableHighlight.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Cosmetic/InteractableHighlight.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantEvents.cs b/Assets/_DDD/_Scripts/Restaurant/Event/RestaurantEvents.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantEvents.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/RestaurantEvents.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantEvents.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/RestaurantEvents.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantEvents.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/RestaurantEvents.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionComponent.cs b/Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionComponent.cs similarity index 95% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionComponent.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionComponent.cs index 4fdfd83fe..34bb0a1c3 100644 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionComponent.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionComponent.cs @@ -11,9 +11,9 @@ public static class RestaurantInteractionSubsystems { public static Dictionary TypeToSubsystem = new() { - {InteractionType.RestaurantOrder, typeof(RestaurantOrderInteractionSubsystem)}, - {InteractionType.RestaurantManagement, typeof(RestaurantManagementInteractionSubsystem)}, - {InteractionType.RestaurantMeal, typeof(RestaurantMealInteractionSubsystem)} + {InteractionType.RestaurantOrder, typeof(InteractionSubsystem_Order)}, + {InteractionType.RestaurantManagement, typeof(InteractionSubsystem_Management)}, + {InteractionType.RestaurantMeal, typeof(InteractionSubsystem_Meal)} }; } diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionComponent.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionComponent.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionComponent.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionComponent.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionEvents.cs b/Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionEvents.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionEvents.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionEvents.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionEvents.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionEvents.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/RestaurantInteractionEvents.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionEvents.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantCooks.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantCooks.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantCooks/RestaurantCookSolver.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantCooks/RestaurantCookSolver.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantCooks/RestaurantCookSolver.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantCooks/RestaurantCookSolver.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantCooks/RestaurantCookSolver_OpenCookUi.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantManagements.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantManagements.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantManagements/RestaurantManagementSolver.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantManagements/RestaurantManagementSolver.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantManagements/RestaurantManagementSolver.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantManagements/RestaurantManagementSolver.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantManagements/RestaurantManagementSolver_Menu.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantManagements/RestaurantManagementSolver_Start.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantMeals.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantMeals.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantMeals/RestaurantMealSolver.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantMeals/RestaurantMealSolver.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantMeals/RestaurantMealSolver.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantMeals/RestaurantMealSolver.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForOrder.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantMeals/RestaurantMealSolver_WaitForServe.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Busy.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Dirty.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Order.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Reserved.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Serve.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantSubsystemSolver.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantSubsystemSolver.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantSubsystemSolver.cs rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantSubsystemSolver.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantSubsystemSolver.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantSubsystemSolver.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantEvent/Solvers/RestaurantSubsystemSolver.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantSubsystemSolver.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs b/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs deleted file mode 100644 index ad63b91a3..000000000 --- a/Assets/_DDD/_Scripts/Restaurant/RestaurantCharacter/Core/RestaurantCharacterMovementConstraint.cs +++ /dev/null @@ -1,18 +0,0 @@ -using UnityEngine; - -namespace DDD -{ - [RequireComponent(typeof(RestaurantCharacterAnimation))] - public class RestaurantCharacterMovementConstraint : MonoBehaviour, IRestaurantMovementConstraint - { - public bool IsBlockingMovement() - { - if (GetComponent().IsPlayingAnimation()) - { - return true; - } - - return false; - } - } -} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantState.meta b/Assets/_DDD/_Scripts/Restaurant/State.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantState.meta rename to Assets/_DDD/_Scripts/Restaurant/State.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates.meta b/Assets/_DDD/_Scripts/Restaurant/State/FlowStates.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates.meta rename to Assets/_DDD/_Scripts/Restaurant/State/FlowStates.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantCustomerState.cs b/Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantCustomerState.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantCustomerState.cs rename to Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantCustomerState.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantCustomerState.cs.meta b/Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantCustomerState.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantCustomerState.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantCustomerState.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantEnvironmentState.cs b/Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantEnvironmentState.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantEnvironmentState.cs rename to Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantEnvironmentState.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantEnvironmentState.cs.meta b/Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantEnvironmentState.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantEnvironmentState.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantEnvironmentState.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantManagementState.cs b/Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantManagementState.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantManagementState.cs rename to Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantManagementState.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantManagementState.cs.meta b/Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantManagementState.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantManagementState.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantManagementState.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantPlayerState.cs b/Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantPlayerState.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantPlayerState.cs rename to Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantPlayerState.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantPlayerState.cs.meta b/Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantPlayerState.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantPlayerState.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantPlayerState.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantRunState.cs b/Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantRunState.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantRunState.cs rename to Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantRunState.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantRunState.cs.meta b/Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantRunState.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantState/FlowStates/RestaurantRunState.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantRunState.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantState/RestaurantState.cs b/Assets/_DDD/_Scripts/Restaurant/State/RestaurantState.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantState/RestaurantState.cs rename to Assets/_DDD/_Scripts/Restaurant/State/RestaurantState.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantState/RestaurantState.cs.meta b/Assets/_DDD/_Scripts/Restaurant/State/RestaurantState.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantState/RestaurantState.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/State/RestaurantState.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi.meta b/Assets/_DDD/_Scripts/Restaurant/Ui.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/CookUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/CookUi.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/AddedCookSlotUiStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/AddedCookSlotUiStrategy.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/AddedCookSlotUiStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/AddedCookSlotUiStrategy.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/AddedCookSlotUiStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/AddedCookSlotUiStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/AddedCookSlotUiStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/AddedCookSlotUiStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookUi.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/CookUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookUi.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/CookUi.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/CookUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/CookUi.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookViewModel.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/CookViewModel.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookViewModel.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/CookViewModel.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookViewModel.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/CookViewModel.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/CookViewModel.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/CookViewModel.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/SelectedIngredient.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/SelectedIngredient.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/SelectedIngredient.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/SelectedIngredient.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/SelectedIngredient.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/SelectedIngredient.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/CookUi/SelectedIngredient.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/SelectedIngredient.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistData.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ChecklistData.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistData.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ChecklistData.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistData.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ChecklistData.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistData.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ChecklistData.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistView.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ChecklistView.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistView.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ChecklistView.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistView.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ChecklistView.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ChecklistView.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ChecklistView.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/InventoryUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/InventoryUi.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/InventoryUi/InventorySlotUiStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventoryView.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/InventoryUi/InventoryView.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventoryView.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/InventoryUi/InventoryView.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventoryView.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/InventoryUi/InventoryView.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/InventoryUi/InventoryView.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/InventoryUi/InventoryView.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemDetailView.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemDetailView.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemDetailView.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemDetailView.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemDetailView.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemDetailView.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemDetailView.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemDetailView.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IInteractableUi.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IInteractableUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IInteractableUi.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IInteractableUi.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IInteractableUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IInteractableUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IInteractableUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IInteractableUi.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IItemSlotInteractorStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IItemSlotUiStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IngredientEntry.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IngredientEntry.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IngredientEntry.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IngredientEntry.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IngredientEntry.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IngredientEntry.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/IngredientEntry.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/IngredientEntry.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemModel.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemModel.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemModel.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemModel.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemModel.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemModel.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemModel.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemModel.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemSlotInteractor.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotUi.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemSlotUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotUi.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemSlotUi.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemSlotUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemSlotUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemSlotUi.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementUi.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/RestaurantManagementUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementUi.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/RestaurantManagementUi.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/RestaurantManagementUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/RestaurantManagementUi.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementViewModel.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/RestaurantManagementViewModel.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementViewModel.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/RestaurantManagementViewModel.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementViewModel.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/RestaurantManagementViewModel.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/RestaurantManagementViewModel.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/RestaurantManagementViewModel.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TabUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TabUi.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/ITabButton.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TabUi/ITabButton.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/ITabButton.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TabUi/ITabButton.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/ITabButton.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TabUi/ITabButton.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/ITabButton.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TabUi/ITabButton.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabButtonUi.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TabUi/TabButtonUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabButtonUi.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TabUi/TabButtonUi.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabButtonUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TabUi/TabButtonUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabButtonUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TabUi/TabButtonUi.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabGroupUi.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TabUi/TabGroupUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabGroupUi.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TabUi/TabGroupUi.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabGroupUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TabUi/TabGroupUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TabUi/TabGroupUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TabUi/TabGroupUi.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TasteHashTagSlotUi.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TasteHashTagSlotUi.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TasteHashTagSlotUi.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TasteHashTagSlotUi.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TasteHashTagSlotUi.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TasteHashTagSlotUi.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TasteHashTagSlotUi.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TasteHashTagSlotUi.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayMenuUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayMenuUi.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayMenuUi/TodayMenuInteractorStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayMenuUi/TodayMenuSlotUiStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayMenuUi/TodayMenuView.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareInteractorStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayCookwareSlotUiStrategy.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayRestaurantStateView.cs.meta diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs diff --git a/Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Restaurant/RestaurantUi/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs.meta rename to Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TodayRestaurantStateUi/TodayWorkerSlotUiStrategy.cs.meta From fbe0f2656292a3924037803ffcc5ce51abcb6432 Mon Sep 17 00:00:00 2001 From: Jeonghyeon Ha Date: Wed, 27 Aug 2025 17:51:16 +0900 Subject: [PATCH 05/17] =?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=EC=97=90=20=EB=94=B0?= =?UTF-8?q?=EB=A5=B8=20=EC=84=9C=EB=B8=8C=ED=8A=B8=EB=A6=AC=20=EB=AC=B4?= =?UTF-8?q?=ED=95=9C=EB=A3=A8=ED=94=84=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_Addressables/AI/Customer/Subtree/CustomerDefault.asset | 4 ++-- .../_DDD/_Addressables/AI/Customer/Subtree/OrderSubtree.asset | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset b/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset index 0ea95f8d3..db1314a20 100644 --- a/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset +++ b/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a7ca4b40dc25f4a6ff14a7cbdb2a8be04431ba958038b899fd700df86c4f9618 -size 87312 +oid sha256:af9dba1f3a650104808ecdbc956ad4af8327efcf0fe782348b231eb103f7469b +size 66226 diff --git a/Assets/_DDD/_Addressables/AI/Customer/Subtree/OrderSubtree.asset b/Assets/_DDD/_Addressables/AI/Customer/Subtree/OrderSubtree.asset index 8434d7b80..8e6a2bf26 100644 --- a/Assets/_DDD/_Addressables/AI/Customer/Subtree/OrderSubtree.asset +++ b/Assets/_DDD/_Addressables/AI/Customer/Subtree/OrderSubtree.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:817cecbbecbe8a6519225bc1d0fce376c0dfb14a240c248e3fbdc8a93f585f72 -size 20385 +oid sha256:1e863335f3752df069447ebc0fee597d6f366d88edd12d70db68b45923a4f87c +size 20475 From db5de56b3b7db973c4b7f31fda51dffcc83f70e1 Mon Sep 17 00:00:00 2001 From: NTG Date: Wed, 27 Aug 2025 17:52:33 +0900 Subject: [PATCH 06/17] =?UTF-8?q?Addressable=EA=B8=B0=EB=8A=A5=20AssetMana?= =?UTF-8?q?ger=EB=A1=9C=20=ED=86=B5=ED=95=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_ScriptAssets/Prefabs/AssetManager.prefab | 1 + .../Prefabs/InventoryManager.prefab | 1 + .../So/ManagerDefinitionSo.asset | 2 +- .../_Scripts/AssetManagement/AssetManager.cs | 311 ++++++++++++++---- Assets/_DDD/_Scripts/GameData/DataManager.cs | 4 +- Assets/_DDD/_Scripts/GameData/GameData.cs | 24 +- .../GameFramework/Scene/SceneManager.cs | 6 +- .../_Scripts/GameState/InventoryManager.cs | 7 +- .../Run/Customer/CustomerFactory.cs | 20 +- .../_Scripts/RestaurantData/RestaurantData.cs | 43 +-- .../RestaurantEnvironment.cs | 8 +- .../FlowStates/RestaurantCustomerState.cs | 27 +- .../_Scripts/Utilities/ScriptSingleton.cs | 15 +- 13 files changed, 314 insertions(+), 155 deletions(-) diff --git a/Assets/_DDD/_ScriptAssets/Prefabs/AssetManager.prefab b/Assets/_DDD/_ScriptAssets/Prefabs/AssetManager.prefab index 80b46c13c..f9da50762 100644 --- a/Assets/_DDD/_ScriptAssets/Prefabs/AssetManager.prefab +++ b/Assets/_DDD/_ScriptAssets/Prefabs/AssetManager.prefab @@ -45,3 +45,4 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: _persistent: 1 + _enableDebugLog: 1 diff --git a/Assets/_DDD/_ScriptAssets/Prefabs/InventoryManager.prefab b/Assets/_DDD/_ScriptAssets/Prefabs/InventoryManager.prefab index d129e1fbd..e290e9188 100644 --- a/Assets/_DDD/_ScriptAssets/Prefabs/InventoryManager.prefab +++ b/Assets/_DDD/_ScriptAssets/Prefabs/InventoryManager.prefab @@ -45,3 +45,4 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: _persistent: 1 + _inventoryTestDataSo: {fileID: 11400000, guid: 29d0dee3b70fbc44d992ea47012bc366, type: 2} diff --git a/Assets/_DDD/_ScriptAssets/So/ManagerDefinitionSo.asset b/Assets/_DDD/_ScriptAssets/So/ManagerDefinitionSo.asset index a76bc5919..198eb2519 100644 --- a/Assets/_DDD/_ScriptAssets/So/ManagerDefinitionSo.asset +++ b/Assets/_DDD/_ScriptAssets/So/ManagerDefinitionSo.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e22d6af69a361da6b510144cfed3df81e14ae58cc18093c2fed9f06553f42259 +oid sha256:b4d8b8e6ec2ca99570deababa75093849d4cfcd6af6c78fbcc857880b03c0226 size 1504 diff --git a/Assets/_DDD/_Scripts/AssetManagement/AssetManager.cs b/Assets/_DDD/_Scripts/AssetManagement/AssetManager.cs index d1ab863b7..3af080ccc 100644 --- a/Assets/_DDD/_Scripts/AssetManagement/AssetManager.cs +++ b/Assets/_DDD/_Scripts/AssetManagement/AssetManager.cs @@ -1,10 +1,6 @@ -using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -#if UNITY_EDITOR -using UnityEditor.AddressableAssets; -#endif using UnityEngine; using UnityEngine.AddressableAssets; using UnityEngine.ResourceManagement.AsyncOperations; @@ -15,7 +11,34 @@ namespace DDD { public class AssetManager : Singleton, IManager { - private static readonly Dictionary _cachedHandles = new(); + private struct CachedAsset + { + public AsyncOperationHandle Handle; + public int ReferenceCount; + + public CachedAsset(AsyncOperationHandle handle, int count = 1) + { + Handle = handle; + ReferenceCount = count; + } + } + + private struct CachedScene + { + public AsyncOperationHandle Handle; + public int ReferenceCount; + + public CachedScene(AsyncOperationHandle handle, int count = 1) + { + Handle = handle; + ReferenceCount = count; + } + } + + [SerializeField] private bool _enableDebugLog = false; + + private readonly Dictionary _cachedAssets = new(); + private readonly Dictionary _cachedScenes = new(); protected override void OnApplicationQuit() { @@ -24,110 +47,284 @@ protected override void OnApplicationQuit() ReleaseAllCached(); } - public void PreInit() - { - - } + public void PreInit() { } public async Task Init() { await Addressables.InitializeAsync().Task; } - public void PostInit() + public void PostInit() { } + + private string GetSafeAssetName(AssetReference assetReference) { + var editorAssetName = assetReference.editorAsset.name; + if (string.IsNullOrWhiteSpace(editorAssetName) == false) return editorAssetName; + return assetReference.ToString(); } - - public static async Task LoadAsset(string key) where T : UnityEngine.Object + + public async Task LoadAssetAsync(AssetReference assetReference) where T : Object { - if (_cachedHandles.TryGetValue(key, out var handle)) + var guidKey = assetReference.AssetGUID; + + if (_cachedAssets.TryGetValue(guidKey, out var cachedAsset)) { - if (handle.IsValid() && handle.Result is T result) + if (cachedAsset.Handle.IsValid() && cachedAsset.Handle.Result is T result) + { + cachedAsset.ReferenceCount++; + _cachedAssets[guidKey] = cachedAsset; + + if (_enableDebugLog) Debug.Log($"[AssetManager] 에셋 참조 카운트 증가: {GetSafeAssetName(assetReference)} -> {cachedAsset.ReferenceCount}\n실제 키 값: {guidKey}"); return result; - - Debug.LogWarning($"[AssetManager] Type mismatch or invalid handle for key: {key}"); - return handle.Result as T; + } + + _cachedAssets.Remove(guidKey); + Debug.LogWarning($"[AssetManager] 무효한 핸들 제거됨: {GetSafeAssetName(assetReference)}\n실제 키 값: {guidKey}"); } - - // ✅ 새로 로드 - var newHandle = Addressables.LoadAssetAsync(key); + + var newHandle = Addressables.LoadAssetAsync(guidKey); await newHandle.Task; if (newHandle.Status == AsyncOperationStatus.Succeeded) { - _cachedHandles[key] = newHandle; + _cachedAssets[guidKey] = new CachedAsset(newHandle, 1); + if (_enableDebugLog) Debug.Log($"[AssetManager] 에셋 로드 및 캐싱 완료: {GetSafeAssetName(assetReference)} (참조수: {_cachedAssets[guidKey].ReferenceCount})\n실제 키 값: {guidKey}"); return newHandle.Result; } - Debug.LogError($"[AssetManager] Failed to load asset: {key}"); + if (newHandle.IsValid()) + { + Addressables.Release(newHandle); + } + + Debug.LogError($"[AssetManager] 에셋 로드 실패: {GetSafeAssetName(assetReference)}\n실제 키 값: {guidKey}"); + return null; + } + + /// + /// ScriptSingleton을 위한 동기 로딩 + /// + public T LoadAsset(string key) where T : Object + { + if (_cachedAssets.TryGetValue(key, out var cachedAsset)) + { + if (cachedAsset.Handle.IsValid() && cachedAsset.Handle.Result is T result) + { + cachedAsset.ReferenceCount++; + _cachedAssets[key] = cachedAsset; + + if (_enableDebugLog) Debug.Log($"[AssetManager] 동기 로딩 - 에셋 참조 카운트 증가: {key} -> {cachedAsset.ReferenceCount}"); + return result; + } + + _cachedAssets.Remove(key); + Debug.LogWarning($"[AssetManager] 무효한 핸들 제거됨: {key}"); + } + + var handle = Addressables.LoadAssetAsync(key); + var loaded = handle.WaitForCompletion(); + + if (handle.Status == AsyncOperationStatus.Succeeded) + { + _cachedAssets[key] = new CachedAsset(handle, 1); + if (_enableDebugLog) Debug.Log($"[AssetManager] 동기 로딩 - 에셋 로드 및 캐싱 완료: {key} (참조수: {key})"); + return loaded; + } + + if (handle.IsValid()) + { + Addressables.Release(handle); + } + + Debug.LogError($"[AssetManager] 동기 로딩 - 에셋 로드 실패: {key}"); return null; } - public static async Task> LoadAssetsByLabel(string label) where T : UnityEngine.Object + public async Task> LoadAssetsByLabel(string label) where T : Object { - var handle = Addressables.LoadAssetsAsync(label, null); + if (_cachedAssets.TryGetValue(label, out var cachedAsset)) + { + if (cachedAsset.Handle.IsValid() && cachedAsset.Handle.Result is IList cachedResult) + { + cachedAsset.ReferenceCount++; + _cachedAssets[label] = cachedAsset; + + if (_enableDebugLog) Debug.Log($"[AssetManager] 라벨 에셋 참조 카운트 증가: {label} -> {cachedAsset.ReferenceCount}"); + return cachedResult.ToList(); + } + + _cachedAssets.Remove(label); + if (_enableDebugLog) Debug.LogWarning($"[AssetManager] 무효한 라벨 핸들 제거됨: {label}"); + } + + var handle = Addressables.LoadAssetsAsync(label); await handle.Task; if (handle.Status == AsyncOperationStatus.Succeeded) + { + _cachedAssets[label] = new CachedAsset(handle, 1); + if (_enableDebugLog) Debug.Log($"[AssetManager] 라벨 에셋 로드 및 캐싱 완료: {label} (참조수: {_cachedAssets[label].ReferenceCount})"); return handle.Result.ToList(); + } - Debug.LogError($"[AssetManager] Failed to load assets with label: {label}"); + if (handle.IsValid()) + { + Addressables.Release(handle); + } + + Debug.LogError($"[AssetManager] 라벨 에셋 로드 실패: {label}"); return new List(); } - public static async Task LoadScene(AssetReference assetReference, LoadSceneMode mode = LoadSceneMode.Additive, bool activateOnLoad = true) + public void ReleaseAsset(AssetReference assetReference) { + var guidKey = assetReference.AssetGUID; + + if (_cachedAssets.TryGetValue(guidKey, out var cachedAsset)) + { + cachedAsset.ReferenceCount--; + + if (cachedAsset.ReferenceCount <= 0) + { + if (cachedAsset.Handle.IsValid()) + { + Addressables.Release(cachedAsset.Handle); + if (_enableDebugLog) Debug.Log($"[AssetManager] 에셋 실제 해제됨: {GetSafeAssetName(assetReference)}\n실제 키 값: {guidKey}"); + } + _cachedAssets.Remove(guidKey); + } + else + { + _cachedAssets[guidKey] = cachedAsset; + if (_enableDebugLog) Debug.Log($"[AssetManager] 에셋 참조 카운트 감소: {GetSafeAssetName(assetReference)} -> {cachedAsset.ReferenceCount}\n실제 키 값: {guidKey}"); + } + } + else + { + if (_enableDebugLog) Debug.LogWarning($"[AssetManager] 캐시에서 에셋을 찾을 수 없음: {GetSafeAssetName(assetReference)}\n실제 키 값: {guidKey}"); + } + } + + public void ReleaseAsset(string key) + { + if (_cachedAssets.TryGetValue(key, out var cachedAsset)) + { + cachedAsset.ReferenceCount--; + + if (cachedAsset.ReferenceCount <= 0) + { + if (cachedAsset.Handle.IsValid()) + { + Addressables.Release(cachedAsset.Handle); + if (_enableDebugLog) Debug.Log($"[AssetManager] 에셋 실제 해제됨: {key}"); + } + _cachedAssets.Remove(key); + } + else + { + _cachedAssets[key] = cachedAsset; + if (_enableDebugLog) Debug.Log($"[AssetManager] 에셋 참조 카운트 감소: {key} -> {cachedAsset.ReferenceCount}"); + } + } + else + { + if (_enableDebugLog) Debug.LogWarning($"[AssetManager] 캐시에서 에셋을 찾을 수 없음: {key}"); + } + } + + public async Task LoadScene(AssetReference assetReference, LoadSceneMode mode = LoadSceneMode.Additive, bool activateOnLoad = true) + { + var guidKey = assetReference.AssetGUID; + + if (_cachedScenes.TryGetValue(guidKey, out var cachedScene)) + { + if (cachedScene.Handle.IsValid()) + { + cachedScene.ReferenceCount++; + _cachedScenes[guidKey] = cachedScene; + + if (_enableDebugLog) Debug.Log($"[AssetManager] 씬 참조 카운트 증가: {GetSafeAssetName(assetReference)} -> {cachedScene.ReferenceCount}\n실제 키 값: {guidKey}"); + return cachedScene.Handle.Result; + } + + _cachedScenes.Remove(guidKey); + if (_enableDebugLog) Debug.LogWarning($"[AssetManager] 무효한 씬 핸들 제거됨: {GetSafeAssetName(assetReference)}\n실제 키 값: {guidKey}"); + } + var handle = Addressables.LoadSceneAsync(assetReference, mode, activateOnLoad); await handle.Task; if (handle.Status == AsyncOperationStatus.Succeeded) + { + _cachedScenes[guidKey] = new CachedScene(handle, 1); + var sceneName = handle.Result.Scene.name; + if (_enableDebugLog) Debug.Log($"[AssetManager] 씬 로드 및 캐싱 완료: {sceneName} (참조수: {_cachedScenes[guidKey].ReferenceCount})\n실제 키 값: {guidKey}"); return handle.Result; + } + + if (handle.IsValid()) + { + Addressables.UnloadSceneAsync(handle); + } - Debug.LogError($"Scene load failed: {assetReference}"); + Debug.LogError($"[AssetManager] 씬 로드 실패: {GetSafeAssetName(assetReference)}\n실제 키 값: {guidKey}"); return default; } - - public static async Task UnloadScene(SceneInstance sceneInstance) - { - var handle = Addressables.UnloadSceneAsync(sceneInstance); - await handle.Task; - } - public static void ReleaseAllCached() + public async Task UnloadScene(AssetReference assetReference) { - if (_cachedHandles.Count == 0) return; + var guidKey = assetReference.AssetGUID; - foreach (var kvp in _cachedHandles) + if (_cachedScenes.TryGetValue(guidKey, out var cachedScene)) { - var handle = kvp.Value; - if (handle.IsValid()) + cachedScene.ReferenceCount--; + + if (cachedScene.ReferenceCount <= 0) { - Addressables.Release(handle); - //Debug.Log($"[AssetManager] Released handle for key: {kvp.Key}"); + if (cachedScene.Handle.IsValid()) + { + var sceneName = cachedScene.Handle.Result.Scene.name; + await Addressables.UnloadSceneAsync(cachedScene.Handle).Task; + if (_enableDebugLog) Debug.Log($"[AssetManager] 씬 실제 언로드됨: {sceneName}\n실제 키 값: {guidKey}"); + } + _cachedScenes.Remove(guidKey); + } + else + { + _cachedScenes[guidKey] = cachedScene; + if (_enableDebugLog) Debug.Log($"[AssetManager] 씬 참조 카운트 감소: {GetSafeAssetName(assetReference)} -> {cachedScene.ReferenceCount}\n실제 키 값: {guidKey}"); } } - _cachedHandles.Clear(); - - Debug.Log("[AssetManager] 모든 캐시된 Addressable 리소스를 해제했습니다."); + else + { + if (_enableDebugLog) Debug.LogWarning($"[AssetManager] 캐시에서 씬을 찾을 수 없음: {GetSafeAssetName(assetReference)}\n실제 키 값: {guidKey}"); + } } - public static bool HasLabel(string addressKey, string label) + public void ReleaseAllCached() { -#if UNITY_EDITOR - var settings = AddressableAssetSettingsDefaultObject.Settings; - if (settings == null) return false; + foreach (var kvp in _cachedAssets) + { + var cachedAsset = kvp.Value; + if (cachedAsset.Handle.IsValid()) + { + Addressables.Release(cachedAsset.Handle); + } + } + _cachedAssets.Clear(); + + foreach (var kvp in _cachedScenes) + { + var cachedScene = kvp.Value; + if (cachedScene.Handle.IsValid()) + { + Addressables.UnloadSceneAsync(cachedScene.Handle); + } + } + _cachedScenes.Clear(); - var entry = settings.groups - .SelectMany(g => g.entries) - .FirstOrDefault(e => e.address == addressKey); - - if (entry == null) return false; - - return entry.labels.Contains(label); -#else - return true; -#endif + if (_enableDebugLog) Debug.Log("[AssetManager] 모든 캐시된 Addressable 리소스를 강제 해제했습니다."); } } } \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GameData/DataManager.cs b/Assets/_DDD/_Scripts/GameData/DataManager.cs index 51277cba2..124a3f8e5 100644 --- a/Assets/_DDD/_Scripts/GameData/DataManager.cs +++ b/Assets/_DDD/_Scripts/GameData/DataManager.cs @@ -32,7 +32,7 @@ public void PostInit() private async Task LoadAllGameDataSo() { - var soList = await AssetManager.LoadAssetsByLabel(SoLabel); + var soList = await AssetManager.Instance.LoadAssetsByLabel(SoLabel); foreach (var so in soList) { @@ -45,7 +45,7 @@ private async Task LoadAllGameDataSo() private async Task LoadSpriteAtlas() { - List spriteAtlases = await AssetManager.LoadAssetsByLabel(DataConstants.AtlasLabel); + List spriteAtlases = await AssetManager.Instance.LoadAssetsByLabel(DataConstants.AtlasLabel); _spriteAtlas = new Dictionary(spriteAtlases.Count); foreach (var atlas in spriteAtlases) diff --git a/Assets/_DDD/_Scripts/GameData/GameData.cs b/Assets/_DDD/_Scripts/GameData/GameData.cs index 5bdd6653f..43933000f 100644 --- a/Assets/_DDD/_Scripts/GameData/GameData.cs +++ b/Assets/_DDD/_Scripts/GameData/GameData.cs @@ -21,19 +21,9 @@ public async Task LoadData() { return; } - - var gameLocalizationDataHandle = _gameLocalizationData.LoadAssetAsync(); - var test = AssetManager.LoadAsset(_gameLocalizationData.AssetGUID); - var popupUiDataHandle = _uiData.LoadAssetAsync(); - await gameLocalizationDataHandle.Task; - await popupUiDataHandle.Task; - - LocalizationData = gameLocalizationDataHandle.Result; - UiData = popupUiDataHandle.Result; - - Debug.Assert(LocalizationData != null, "GameLocalizationData is null"); - Debug.Assert(UiData != null, "UiData is null"); + LocalizationData = await AssetManager.Instance.LoadAssetAsync(_gameLocalizationData); + UiData = await AssetManager.Instance.LoadAssetAsync(_uiData); _isLoaded = true; } @@ -41,8 +31,16 @@ public async Task LoadData() private void OnDisable() { if (_isLoaded == false) return; + + var assetManager = AssetManager.Instance; + if (!assetManager) return; - _gameLocalizationData.ReleaseAsset(); + AssetManager.Instance.ReleaseAsset(_gameLocalizationData); + AssetManager.Instance.ReleaseAsset(_uiData); + + LocalizationData = null; + UiData = null; + _isLoaded = false; } } diff --git a/Assets/_DDD/_Scripts/GameFramework/Scene/SceneManager.cs b/Assets/_DDD/_Scripts/GameFramework/Scene/SceneManager.cs index 87a4f38ef..b58aa5bdf 100644 --- a/Assets/_DDD/_Scripts/GameFramework/Scene/SceneManager.cs +++ b/Assets/_DDD/_Scripts/GameFramework/Scene/SceneManager.cs @@ -84,7 +84,7 @@ public async Task PreloadAll() continue; } - var instance = await AssetManager.LoadScene(flowAssetPair.Value, activateOnLoad:false); + var instance = await AssetManager.Instance.LoadScene(flowAssetPair.Value, activateOnLoad:false); if (!instance.Scene.IsValid()) { Debug.LogError($"[SceneManager] {flowAssetPair.Key}의 씬 로딩 실패"); @@ -114,7 +114,7 @@ public async Task PreloadScene(GameFlowState gameFlowState) return; } - var loadedInstance = await AssetManager.LoadScene(assetRef); + var loadedInstance = await AssetManager.Instance.LoadScene(assetRef); if (!loadedInstance.Scene.IsValid()) { Debug.LogError($"[SceneManager] {gameFlowState}의 씬 로딩 실패"); @@ -170,7 +170,7 @@ public async Task UnloadScene(GameFlowState gameFlowState) } _loadedSceneDatas.Remove(gameFlowState); - await AssetManager.UnloadScene(sceneData.SceneInstance.Value); + await AssetManager.Instance.UnloadScene(assetRef); } } diff --git a/Assets/_DDD/_Scripts/GameState/InventoryManager.cs b/Assets/_DDD/_Scripts/GameState/InventoryManager.cs index 006d58597..3a8662186 100644 --- a/Assets/_DDD/_Scripts/GameState/InventoryManager.cs +++ b/Assets/_DDD/_Scripts/GameState/InventoryManager.cs @@ -27,6 +27,7 @@ public class InventoryManager : Singleton, IManager #if UNITY_EDITOR [Title("테스트용")] + [SerializeField] private InventoryTestDataSo _inventoryTestDataSo; #endif @@ -62,12 +63,8 @@ private void InitializeItemData() } #if UNITY_EDITOR - private async void ApplyEditorTestData() + private void ApplyEditorTestData() { - _inventoryTestDataSo = await AssetManager.LoadAsset(DataConstants.InventoryTestDataSo); - - if (_inventoryTestDataSo == null || !_inventoryTestDataSo.UseTestData) return; - foreach (var entry in _inventoryTestDataSo.TestItems) { if (string.IsNullOrWhiteSpace(entry.ItemId)) continue; diff --git a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs b/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs index 9131469c6..c2fe54ce6 100644 --- a/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs +++ b/Assets/_DDD/_Scripts/RestaurantController/Conrtollers/Run/Customer/CustomerFactory.cs @@ -28,7 +28,6 @@ public struct CustomerSpawnArgs public class CustomerFactory : ICustomerFactory { private GameObject _customerPrefab; - private AsyncOperationHandle _customerPrefabHandle; public async Task CreateAsync(CustomerSpawnArgs args) { @@ -65,26 +64,13 @@ private async Task LoadCustomerAsset() Debug.LogError("[CustomerFactory] RestaurantCustomerData or its CustomerPrefab reference is not set."); return; } - - _customerPrefabHandle = customerDataAsset.CustomerPrefab.LoadAssetAsync(); - await _customerPrefabHandle.Task; - - if (_customerPrefabHandle.Result == null) - { - Debug.LogError("[CustomerFactory] Failed to load customer prefab from AssetReference."); - return; - } - - _customerPrefab = _customerPrefabHandle.Result; - Debug.Log("[CustomerFactory] Customer prefab loaded successfully."); + + _customerPrefab = await AssetManager.Instance.LoadAssetAsync(customerDataAsset.CustomerPrefab); } public void UnloadAssets() { - if (_customerPrefabHandle.IsValid()) - { - Addressables.Release(_customerPrefabHandle); - } + AssetManager.Instance.ReleaseAsset(RestaurantData.Instance.CustomerData.CustomerPrefab); _customerPrefab = null; Debug.Log("[CustomerFactory] Customer prefab unloaded."); } diff --git a/Assets/_DDD/_Scripts/RestaurantData/RestaurantData.cs b/Assets/_DDD/_Scripts/RestaurantData/RestaurantData.cs index 2c484bdb8..e17b1dd3d 100644 --- a/Assets/_DDD/_Scripts/RestaurantData/RestaurantData.cs +++ b/Assets/_DDD/_Scripts/RestaurantData/RestaurantData.cs @@ -25,28 +25,11 @@ public async Task LoadData() { return; } - - var restaurantPlayerDataHandle = _restaurantPlayerData.LoadAssetAsync(); - var restaurantManagementDataHandle = _restaurantManagementData.LoadAssetAsync(); - var restaurantRunDataHandle = _restaurantRunData.LoadAssetAsync(); - var restaurantCustomerDataHandle = _restaurantCustomerData.LoadAssetAsync(); - - await Task.WhenAll( - restaurantPlayerDataHandle.Task, - restaurantManagementDataHandle.Task, - restaurantRunDataHandle.Task, - restaurantCustomerDataHandle.Task - ); - - PlayerData = restaurantPlayerDataHandle.Result; - ManagementData = restaurantManagementDataHandle.Result; - RunData = restaurantRunDataHandle.Result; - CustomerData = restaurantCustomerDataHandle.Result; - - Debug.Assert(PlayerData != null, "RestaurantPlayerData is null"); - Debug.Assert(ManagementData != null, "RestaurantManagementData is null"); - Debug.Assert(RunData != null, "RestaurantRunData is null"); - Debug.Assert(CustomerData != null, "RestaurantCustomerData is null"); + + PlayerData = await AssetManager.Instance.LoadAssetAsync(_restaurantPlayerData); + ManagementData = await AssetManager.Instance.LoadAssetAsync(_restaurantManagementData); + RunData = await AssetManager.Instance.LoadAssetAsync(_restaurantRunData); + CustomerData = await AssetManager.Instance.LoadAssetAsync(_restaurantCustomerData); _isLoaded = true; } @@ -54,11 +37,19 @@ await Task.WhenAll( private void OnDisable() { if (_isLoaded == false) return; + + var assetManager = AssetManager.Instance; + if (!assetManager) return; - _restaurantPlayerData.ReleaseAsset(); - _restaurantManagementData.ReleaseAsset(); - _restaurantRunData.ReleaseAsset(); - _restaurantCustomerData.ReleaseAsset(); + AssetManager.Instance.ReleaseAsset(_restaurantPlayerData); + AssetManager.Instance.ReleaseAsset(_restaurantManagementData); + AssetManager.Instance.ReleaseAsset(_restaurantRunData); + AssetManager.Instance.ReleaseAsset(_restaurantCustomerData); + + PlayerData = null; + ManagementData = null; + RunData = null; + CustomerData = null; _isLoaded = false; } diff --git a/Assets/_DDD/_Scripts/RestaurantEnvironment/RestaurantEnvironment.cs b/Assets/_DDD/_Scripts/RestaurantEnvironment/RestaurantEnvironment.cs index 344fd6309..312e8f163 100644 --- a/Assets/_DDD/_Scripts/RestaurantEnvironment/RestaurantEnvironment.cs +++ b/Assets/_DDD/_Scripts/RestaurantEnvironment/RestaurantEnvironment.cs @@ -33,14 +33,14 @@ public async void Initialize(RestaurantPropLocation location) _renderer = spriteRenderer; spriteRenderer.sprite = DataManager.Instance.GetSprite(environmentData.SpriteKey); spriteRenderer.sortingOrder = 5; - Material material = await AssetManager.LoadAsset(DataConstants.BasePropSpriteMaterial); - spriteRenderer.material = new Material(material); + //Material material = await AssetManager.LoadAssetAsync(DataConstants.BasePropSpriteMaterial); + //spriteRenderer.material = new Material(material); } else if (environmentData.RendererType == RendererType.Spine) { var skeletonAnimation = _visualLook.AddComponent(); - var skeletonDataAsset = await AssetManager.LoadAsset(environmentData.SkeletonDataName); - skeletonAnimation.skeletonDataAsset = skeletonDataAsset; + //var skeletonDataAsset = await AssetManager.LoadAssetAsync(environmentData.SkeletonDataName); + //skeletonAnimation.skeletonDataAsset = skeletonDataAsset; var spineController = transform.AddComponent(); spineController.SetSkin(environmentData.SkinName); spineController.PlayAnimation(environmentData.DefaultAnimationName, true); diff --git a/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantCustomerState.cs b/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantCustomerState.cs index b18f09bbe..87e46dd3d 100644 --- a/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantCustomerState.cs +++ b/Assets/_DDD/_Scripts/RestaurantState/FlowStates/RestaurantCustomerState.cs @@ -1,17 +1,15 @@ using System.Collections.Generic; using System.Threading.Tasks; using Opsive.BehaviorDesigner.Runtime; -using Sirenix.OdinInspector; using UnityEngine; using UnityEngine.AddressableAssets; -using UnityEngine.ResourceManagement.AsyncOperations; namespace DDD { public class RestaurantCustomerState : ScriptableObject { - private Dictionary _loadedSubtrees = new Dictionary(); - private Dictionary> _subtreeHandles = new Dictionary>(); + private Dictionary _loadedSubtrees = new(); + private Dictionary _subtreeAssetReference = new(); public async Task LoadCustomerBehaviorData() { @@ -40,14 +38,12 @@ public async Task LoadCustomerBehaviorData() private async Task LoadSubtreeAsync(CustomerType customerType, AssetReference subtreeReference) { - var handle = Addressables.LoadAssetAsync(subtreeReference); - _subtreeHandles[customerType] = handle; - - await handle.Task; - - if (handle.Result != null) + var subtree = await AssetManager.Instance.LoadAssetAsync(subtreeReference); + + if (subtree != null) { - _loadedSubtrees[customerType] = handle.Result; + _loadedSubtrees[customerType] = subtree; + _subtreeAssetReference[customerType] = subtreeReference; Debug.Log($"[RestaurantCustomerState] Loaded subtree for {customerType}"); } else @@ -58,16 +54,13 @@ private async Task LoadSubtreeAsync(CustomerType customerType, AssetReference su public void UnloadCustomerBehaviorData() { - foreach (var handle in _subtreeHandles.Values) + foreach (var assetReference in _subtreeAssetReference.Values) { - if (handle.IsValid()) - { - Addressables.Release(handle); - } + AssetManager.Instance.ReleaseAsset(assetReference); } _loadedSubtrees.Clear(); - _subtreeHandles.Clear(); + _subtreeAssetReference.Clear(); Debug.Log("[RestaurantCustomerState] Unloaded all customer behavior subtrees"); } diff --git a/Assets/_DDD/_Scripts/Utilities/ScriptSingleton.cs b/Assets/_DDD/_Scripts/Utilities/ScriptSingleton.cs index 9cffb682e..4aff59fcd 100644 --- a/Assets/_DDD/_Scripts/Utilities/ScriptSingleton.cs +++ b/Assets/_DDD/_Scripts/Utilities/ScriptSingleton.cs @@ -39,21 +39,16 @@ public static T Instance lock (_lock) { - // 이중 체크 락킹 패턴 if (_instance != null) return _instance; try { var key = ResolveAddressKey(); - var handle = Addressables.LoadAssetAsync(key); - - // 동기 로드: 메인 스레드에서 호출할 것을 권장합니다. - var loaded = handle.WaitForCompletion(); - - if (handle.Status != AsyncOperationStatus.Succeeded || loaded == null) + var loaded = AssetManager.Instance.LoadAsset(key); + if (loaded == null) { - throw new InvalidOperationException($"Addressables 로드 실패: 타입='{typeof(T).Name}', key='{key}'"); + throw new InvalidOperationException($"AssetManager를 통한 로드 실패: 타입='{typeof(T).Name}', key='{key}'"); } _instance = loaded; @@ -62,9 +57,9 @@ public static T Instance return _instance; } - catch (Exception) + catch (Exception e) { - throw; + throw new Exception(e.Message, e); } } } From 05ab2c0b89ebc779d9261f36ad335e1eb56f56ac Mon Sep 17 00:00:00 2001 From: NTG Date: Wed, 27 Aug 2025 18:53:46 +0900 Subject: [PATCH 07/17] =?UTF-8?q?async=20=EA=B2=BD=EA=B3=A0=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_Scripts/Restaurant/Environment/RestaurantEnvironment.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/_DDD/_Scripts/Restaurant/Environment/RestaurantEnvironment.cs b/Assets/_DDD/_Scripts/Restaurant/Environment/RestaurantEnvironment.cs index 7c12b1805..a15895274 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Environment/RestaurantEnvironment.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Environment/RestaurantEnvironment.cs @@ -14,7 +14,7 @@ public class RestaurantEnvironment : MonoBehaviour private Transform _visualLook; private Renderer _renderer; - public async void Initialize(RestaurantPropLocation location) + public void Initialize(RestaurantPropLocation location) { EnvironmentData environmentData = DataManager.Instance.GetDataSo().GetDataById(location.Id); From 18a9d9fef000f0da3cabe1a71e84ab41abb4dfb9 Mon Sep 17 00:00:00 2001 From: Jeonghyeon Ha Date: Wed, 27 Aug 2025 19:15:21 +0900 Subject: [PATCH 08/17] fixed customer interaction flow --- .../Customer/Actions/StartRestaurantOrder.cs | 4 +-- .../Conditionals/RestaurantOrderAvailable.cs | 3 +- .../InteractionSubsystem_Order.cs | 31 ++++++++++++++----- .../RestaurantOrderSolver_Wait.cs | 15 ++++++--- 4 files changed, 35 insertions(+), 18 deletions(-) diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/StartRestaurantOrder.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/StartRestaurantOrder.cs index 16216526e..f7b8a1acf 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/StartRestaurantOrder.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/StartRestaurantOrder.cs @@ -39,9 +39,7 @@ public override TaskStatus OnUpdate() return TaskStatus.Failure; } - // TODO : 아래 상호작용 수행 로직이 우리 프로젝트의 권장하는 방식이 아님. 플레이어가 오브젝트에 인터랙션하는 것과 비슷한 흐름으로 NPC가 오브젝트에 인터랙션하게 만들 것. - // TODO : 이벤트 통해서 인터랙션. 직접 호출하지 말 것! - outInteractable.OnInteracted(_interactor); + RestaurantEvents.InteractionEvent.RequestInteraction(_interactor.GetInteractorGameObject(), outInteractable.gameObject, outInteractable.GetInteractionType()); if (_registerOnBlackboard) { diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Conditionals/RestaurantOrderAvailable.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Conditionals/RestaurantOrderAvailable.cs index 1e99b0ba5..da16bc590 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Conditionals/RestaurantOrderAvailable.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Conditionals/RestaurantOrderAvailable.cs @@ -53,8 +53,7 @@ public static TaskStatus FindAvailableOrderInteractable(bool checkCanInteract if (outInteractable == null) continue; if (!outInteractable.TryGetSubsystemObject(out var subsystem)) continue; - if (EqualityComparer.Default.Equals(subsystem.GetInteractionSubsystemType(), targetOrderType) - ) + if (EqualityComparer.Default.Equals(subsystem.GetInteractionSubsystemType(), targetOrderType)) { // CheckCanInteract이 false면 타입만 맞으면 성공 if (!checkCanInteract) diff --git a/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Order.cs b/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Order.cs index eebb1f995..fde3d3f3c 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Order.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Environment/Interactions/InteractionSubsystem_Order.cs @@ -14,7 +14,12 @@ public enum RestaurantOrderType : uint Dirty = 1u << 4, } - public class InteractionSubsystem_Order : MonoBehaviour, IInteractionSubsystemObject + public interface IRestaurantOrderObject + { + void TransitionToNextPhase(); + } + + public class InteractionSubsystem_Order : MonoBehaviour, IInteractionSubsystemObject, IRestaurantOrderObject { [FormerlySerializedAs("orderType")] [SerializeField] protected RestaurantOrderType _orderType = RestaurantOrderType.Wait; private RestaurantOrderType _currentRestaurantOrderType; @@ -26,18 +31,23 @@ private void Start() public bool CanInteract() { - //if (GetInteractionSubsystemType() == RestaurantOrderType.Wait) - //{ - // return true; - //} + if (GetInteractionSubsystemType() == RestaurantOrderType.Wait) + { + return CanTransitionToNextPhase(); + } return true; } + + public void TransitionToNextPhase() + { + // 간단한 상태 전이: 현재 상태에서 다음 상태로 이동 + var currentState = GetInteractionSubsystemType(); + var nextState = GetNextState(currentState); + SetInteractionSubsystemType(nextState); + } public bool OnInteracted(IInteractor interactor, ScriptableObject payloadSo = null) { - // 간단한 상태 전이: 현재 상태에서 다음 상태로 이동 - var prev = _currentRestaurantOrderType; - _currentRestaurantOrderType = GetNextState(prev); return true; } @@ -74,5 +84,10 @@ private RestaurantOrderType GetNextState(RestaurantOrderType state) default: return RestaurantOrderType.Wait; } } + + public bool CanTransitionToNextPhase() + { + return true; + } } } \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs index 361b0c465..62dc989e4 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver_Wait.cs @@ -8,11 +8,16 @@ public class RestaurantOrderSolver_Wait : MonoBehaviour, IInteractionSubsystemSo public bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payload = null) { if (CanExecuteInteractionSubsystem(interactor, interactable, payload) == false) return false; - // TODO : DO SOMETHING!!! - /* TODO - * OnInteracted에서 상태를 바꾸는 대신, 여기서 직접 바꿔주고, 현재 나에게 점유되어 있다는 사실을 알려주기? 그리고 CanInteractTo에서 이게 일치해야만 참 반환하게? - * 필요하다면 IInteractable 인터페이스에 CurrentInteractor를 등록하는 메소드를 추가해야 할수도? - */ + + if (interactable is not IInteractionSubsystemOwner subsystemOwner) + return false; + if (!subsystemOwner.TryGetSubsystemObject(out var subsystem)) + return false; + if (subsystem is IRestaurantOrderObject orderObject) + { + orderObject.TransitionToNextPhase(); + } + return true; } From dfc4fa26d6ab52205226ceca0f320f579a6cf622 Mon Sep 17 00:00:00 2001 From: Jeonghyeon Ha Date: Wed, 27 Aug 2025 19:43:08 +0900 Subject: [PATCH 09/17] =?UTF-8?q?MoveTo,=20LookAt=20=ED=83=80=EA=B2=9F=20?= =?UTF-8?q?=EC=A7=80=EC=A0=95=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_Scripts/AI/Common/IAISharedBlackboard.cs | 4 +- .../Common/Actions/LookAtInteractionTarget.cs | 66 +++++++------------ .../Common/Actions/MoveToInteractionTarget.cs | 27 +++----- .../Customer/Actions/StartRestaurantOrder.cs | 13 +++- .../Customer/CustomerBlackboardComponent.cs | 16 ++--- .../Interfaces/ICustomerBlackboard.cs | 2 - 6 files changed, 50 insertions(+), 78 deletions(-) diff --git a/Assets/_DDD/_Scripts/AI/Common/IAISharedBlackboard.cs b/Assets/_DDD/_Scripts/AI/Common/IAISharedBlackboard.cs index 154eebd47..8136be741 100644 --- a/Assets/_DDD/_Scripts/AI/Common/IAISharedBlackboard.cs +++ b/Assets/_DDD/_Scripts/AI/Common/IAISharedBlackboard.cs @@ -9,7 +9,7 @@ namespace DDD /// public interface IAISharedBlackboard { - void SetCurrentInteractionTarget(GameObject targetGameObject); - GameObject GetCurrentInteractionTarget(); + void SetBlackboardGameObject(string key, GameObject inGameObject); + GameObject GetBlackboardGameObject(string key); } } diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/LookAtInteractionTarget.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/LookAtInteractionTarget.cs index e00335603..1c0938cbe 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/LookAtInteractionTarget.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/LookAtInteractionTarget.cs @@ -30,42 +30,43 @@ public interface ILookAtVisual void EndLookAt(); } - private ILookAtVisual visual; - private GameObject cachedTarget; - private bool isLooking; - private Vector3 currentLookPosition; + private ILookAtVisual _visual; + private GameObject _cachedTarget; + private bool _isLooking; + private Vector3 _currentLookPosition; public override void OnStart() { - visual = gameObject.GetComponentInParent(); - cachedTarget = null; - isLooking = false; + _visual = gameObject.GetComponentInParent(); + _isLooking = false; + + var blackboard = gameObject.GetComponent(); + _cachedTarget = blackboard.GetBlackboardGameObject(nameof(RestaurantCustomerBlackboardKey.CurrentInteractionTarget)); } public override TaskStatus OnUpdate() - { - var target = GetTarget(); - if (target == null) + { + if (_cachedTarget == null) { - if (isLooking) + if (_isLooking) { // 타겟이 사라졌다면 정리 - visual?.EndLookAt(); - isLooking = false; + _visual?.EndLookAt(); + _isLooking = false; } return TaskStatus.Success; } - currentLookPosition = CalculateLookPosition(target); + _currentLookPosition = CalculateLookPosition(_cachedTarget); - if (!isLooking) + if (!_isLooking) { - visual?.TryBeginLookAt(currentLookPosition); - isLooking = true; + _visual?.TryBeginLookAt(_currentLookPosition); + _isLooking = true; } else { - visual?.UpdateLookAt(currentLookPosition); + _visual?.UpdateLookAt(_currentLookPosition); } // 연속 업데이트면 Running, 아니면 1회만 시도 후 Success 반환 @@ -74,33 +75,12 @@ public override TaskStatus OnUpdate() public override void OnEnd() { - if (isLooking) + if (_isLooking) { - visual?.EndLookAt(); - isLooking = false; + _visual?.EndLookAt(); + _isLooking = false; } - cachedTarget = null; - } - - private GameObject GetTarget() - { - // 캐시된 타겟이 유효하면 재사용 - if (IsValidTarget(cachedTarget)) - return cachedTarget; - - // 블랙보드에서 타겟 검색 - cachedTarget = gameObject.GetComponent() - ?.GetCurrentInteractionTarget(); - - if (IsValidTarget(cachedTarget)) - return cachedTarget; - - // Interactor의 포커스된 타겟 검색 - var interactor = gameObject.GetComponent(); - var focusedInteractable = interactor?.GetFocusedInteractable(); - cachedTarget = focusedInteractable?.GetInteractableGameObject(); - - return cachedTarget; + _cachedTarget = null; } private static bool IsValidTarget(GameObject target) => target != null && target; diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/MoveToInteractionTarget.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/MoveToInteractionTarget.cs index 58a3ce5a7..9bf125e0f 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/MoveToInteractionTarget.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/MoveToInteractionTarget.cs @@ -23,32 +23,30 @@ public class MoveToInteractionTarget : Action private float _repathTimer; private Vector3 _currentDestination; private bool _isMoving; + private GameObject _target; public override void OnStart() { _movement = gameObject.GetComponent(); _repathTimer = 0f; _isMoving = false; - - Debug.Log($"MoveToInteractionTarget - GameObject: {gameObject.name}"); + + var blackboard = gameObject.GetComponent(); + _target = blackboard.GetBlackboardGameObject(nameof(RestaurantCustomerBlackboardKey.CurrentInteractionTarget)); } public override TaskStatus OnUpdate() { if (_movement == null) return TaskStatus.Failure; - - var target = GetTarget(); - if (target == null) + if (_target == null) { - return TaskStatus.Running; // If has no target, stuck in this state + return TaskStatus.Failure; } - - Debug.Log(target.name); - + if (ShouldUpdateDestination()) { - _currentDestination = CalculateDestination(target); + _currentDestination = CalculateDestination(_target); StartOrUpdateMovement(); } @@ -60,15 +58,6 @@ public override void OnEnd() StopMovement(); } - private GameObject GetTarget() - { - // Interactor의 포커스된 타겟 검색 - var interactor = gameObject.GetComponent(); - var focusedInteractable = interactor?.GetFocusedInteractable(); - if (focusedInteractable != null) return focusedInteractable.GetInteractableGameObject(); - return null; - } - private bool ShouldUpdateDestination() { _repathTimer -= Time.deltaTime; diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/StartRestaurantOrder.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/StartRestaurantOrder.cs index f7b8a1acf..98d9b39c6 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/StartRestaurantOrder.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/StartRestaurantOrder.cs @@ -12,6 +12,8 @@ public class StartRestaurantOrder : Action [SerializeField] private bool _requireCanInteract = true; [Tooltip("성공 시 블랙보드에 현재 인터랙션 대상을 등록합니다")] [SerializeField] private bool _registerOnBlackboard = true; + [Tooltip("성공 시 블랙보드에 현재 인터랙션 대상을 등록합니다")] + [SerializeField] private bool _UnregisterOnBlackboard = false; private IInteractor _interactor; private bool _isGetInteractor; @@ -43,9 +45,14 @@ public override TaskStatus OnUpdate() if (_registerOnBlackboard) { - // 하위 호환: 고객 전용 블랙보드 지원 - var customerBlackboard = gameObject.GetComponent(); - customerBlackboard?.SetCurrentInteractionTarget(outInteractable.gameObject); + var customerBlackboard = gameObject.GetComponent(); + customerBlackboard?.SetBlackboardGameObject(nameof(RestaurantCustomerBlackboardKey.CurrentInteractionTarget), outInteractable.gameObject); + } + + if (_UnregisterOnBlackboard) + { + var customerBlackboard = gameObject.GetComponent(); + customerBlackboard?.SetBlackboardGameObject(nameof(RestaurantCustomerBlackboardKey.CurrentInteractionTarget), null); } return TaskStatus.Success; diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs index d23f14605..8e594e7be 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs @@ -6,8 +6,7 @@ namespace DDD public class CustomerBlackboardComponent : MonoBehaviour, ICustomerBlackboard, IAISharedBlackboard { private Subtree _subtree; - private GameObject _currentInteractionTarget; - + public void InitializeWithBehaviorTree(Subtree subtree) { _subtree = subtree; @@ -22,18 +21,17 @@ public void SetCustomerData(CustomerData inCustomerData) if (_subtree == null) return; _subtree.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.CustomerData), inCustomerData); } - - public void SetCurrentInteractionTarget(GameObject targetGameObject) + + public void SetBlackboardGameObject(string key, GameObject inGameObject) { - _currentInteractionTarget = targetGameObject; if (_subtree == null) return; - _subtree.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.CurrentInteractionTarget), targetGameObject); + _subtree.SetVariableValue(key, inGameObject); } - public GameObject GetCurrentInteractionTarget() + public GameObject GetBlackboardGameObject(string key) { - // 캐시 우선 반환. 필요 시 Subtree에서 직접 조회하도록 확장 가능. - return _currentInteractionTarget; + if (_subtree == null) return null; + return _subtree.GetVariable(key)?.Value; } } } \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs index 3f811c8a3..31c03ad24 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs @@ -12,7 +12,5 @@ public enum RestaurantCustomerBlackboardKey public interface ICustomerBlackboard { void SetCustomerData(CustomerData inCustomerData); - void SetCurrentInteractionTarget(GameObject targetGameObject); - GameObject GetCurrentInteractionTarget(); } } \ No newline at end of file From d2f33de6abebf94f0bab4a4ddcddf1e4a4dbf8a3 Mon Sep 17 00:00:00 2001 From: Jeonghyeon Ha Date: Thu, 28 Aug 2025 10:49:29 +0900 Subject: [PATCH 10/17] =?UTF-8?q?=EC=BB=A4=EC=8A=A4=ED=84=B0=EB=A8=B8=20AI?= =?UTF-8?q?=20=EB=B8=94=EB=9E=99=EB=B3=B4=EB=93=9C=20=EC=84=B8=ED=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AI/Customer/Subtree/CustomerDefault.asset | 4 ++-- .../AI/Customer/CustomerAiComponent.cs | 2 +- .../Customer/CustomerBlackboardComponent.cs | 23 ++++++++++--------- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset b/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset index db1314a20..193d9ef96 100644 --- a/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset +++ b/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:af9dba1f3a650104808ecdbc956ad4af8327efcf0fe782348b231eb103f7469b -size 66226 +oid sha256:27a3a40bb3be1c167778bdc35a0ec6db10f288f1dde2c666105b98ffad079bdc +size 67663 diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs index 89593be6d..fa61ee462 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs @@ -47,7 +47,7 @@ private async Task InitializeAiInternal(CustomerData inCustomerData) } _behaviorTree.Subgraph = subtree; - _blackboardComponent.InitializeWithBehaviorTree(subtree); + _blackboardComponent.InitializeWithBehaviorTree(_behaviorTree); _blackboardComponent.SetCustomerData(inCustomerData); // TODO : 1. Subtree - Action, Condition // TODO : 2. Blackboard diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs index 8e594e7be..f56cd6b2b 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs @@ -5,33 +5,34 @@ namespace DDD { public class CustomerBlackboardComponent : MonoBehaviour, ICustomerBlackboard, IAISharedBlackboard { - private Subtree _subtree; + // private Subtree _behaviorTree; + private BehaviorTree _behaviorTree; - public void InitializeWithBehaviorTree(Subtree subtree) + public void InitializeWithBehaviorTree(BehaviorTree inBehaviorTree) { - _subtree = subtree; - if (_subtree != null) + _behaviorTree = inBehaviorTree; + if (_behaviorTree) { - _subtree.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.SelfGameObject), gameObject); + _behaviorTree.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.SelfGameObject), gameObject); } } public void SetCustomerData(CustomerData inCustomerData) { - if (_subtree == null) return; - _subtree.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.CustomerData), inCustomerData); + if (!_behaviorTree) return; + _behaviorTree.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.CustomerData), inCustomerData); } public void SetBlackboardGameObject(string key, GameObject inGameObject) { - if (_subtree == null) return; - _subtree.SetVariableValue(key, inGameObject); + if (_behaviorTree == null) return; + _behaviorTree.SetVariableValue(key, inGameObject); } public GameObject GetBlackboardGameObject(string key) { - if (_subtree == null) return null; - return _subtree.GetVariable(key)?.Value; + if (_behaviorTree == null) return null; + return _behaviorTree.GetVariable(key)?.Value; } } } \ No newline at end of file From b4e001f03f34baab7d5bacca1a58bd5462b68c6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=82=B0?= Date: Thu, 28 Aug 2025 10:49:44 +0900 Subject: [PATCH 11/17] Refactor: Simplify interaction target retrieval in `WaitForPlayerInteraction` using `TryGetComponent` and shared blackboard. --- .../AI/Customer/Actions/WaitForPlayerInteraction.cs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs index 8f2f3f801..6c5dd2230 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs @@ -18,17 +18,8 @@ public override void OnStart() { // 의자가 복합 상태를 가지게 될 경우 GameObject interactionTarget = null; - var shared = gameObject.GetComponentInChildren(); - if (shared != null) - { - interactionTarget = shared.GetCurrentInteractionTarget(); - } - else - { - // 하위 호환: 고객 전용 블랙보드 지원 - var customerBb = gameObject.GetComponentInParent(); - interactionTarget = customerBb?.GetCurrentInteractionTarget(); - } + if(!gameObject.TryGetComponent(out var sharedBlackboard)) return; + interactionTarget = sharedBlackboard.GetBlackboardGameObject(nameof(RestaurantCustomerBlackboardKey.CurrentInteractionTarget)); if (interactionTarget == null) { From 8050d0d19efa153fc93e3f831e97d73c11cd7c22 Mon Sep 17 00:00:00 2001 From: Jeonghyeon Ha Date: Thu, 28 Aug 2025 11:24:44 +0900 Subject: [PATCH 12/17] =?UTF-8?q?AIMoveTo=20=EB=94=94=EB=B2=84=EA=B7=B8=20?= =?UTF-8?q?=EB=93=9C=EB=A1=9C=EC=9A=B0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Common/Actions/MoveToInteractionTarget.cs | 78 ++++++++++++++++++- 1 file changed, 77 insertions(+), 1 deletion(-) diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/MoveToInteractionTarget.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/MoveToInteractionTarget.cs index 9bf125e0f..602f24ab2 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/MoveToInteractionTarget.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/MoveToInteractionTarget.cs @@ -1,5 +1,6 @@ using Opsive.BehaviorDesigner.Runtime.Tasks; using Opsive.BehaviorDesigner.Runtime.Tasks.Actions; +using Unity.VisualScripting; using UnityEngine; namespace DDD.Restaurant @@ -19,6 +20,14 @@ public class MoveToInteractionTarget : Action [Tooltip("목적지 재계산 주기(초), 0 이하면 비활성화")] [SerializeField] private float repathInterval = 0.5f; + [Header("Debug Settings")] + [Tooltip("디버그 드로우 활성화")] + [SerializeField] private bool enableDebugDraw = true; + [Tooltip("디버그 선 색상")] + [SerializeField] private Color debugLineColor = Color.red; + [Tooltip("타겟 위치 기즈모 색상")] + [SerializeField] private Color targetGizmoColor = Color.yellow; + private IAiMovement _movement; private float _repathTimer; private Vector3 _currentDestination; @@ -49,7 +58,7 @@ public override TaskStatus OnUpdate() _currentDestination = CalculateDestination(_target); StartOrUpdateMovement(); } - + return CheckMovementCompletion(); } @@ -57,6 +66,73 @@ public override void OnEnd() { StopMovement(); } + + protected override void OnDrawGizmos() + { + if (!enableDebugDraw || _target == null) return; + + // 타겟 이름을 자신의 게임오브젝트 위에 표시 +#if UNITY_EDITOR + UnityEditor.Handles.Label(transform.position + Vector3.up * 2f, + $"Target: {_target.name}"); +#endif + + // 타겟 위치에 기즈모 그리기 + Gizmos.color = targetGizmoColor; + if (_isMoving && _currentDestination != Vector3.zero) + { + Gizmos.DrawWireSphere(_currentDestination, 0.5f); + } + else if (_target != null) + { + Gizmos.DrawWireSphere(_target.transform.position, 0.5f); + } + + // 현재 위치에서 타겟까지 직선 그리기 + Gizmos.color = debugLineColor; + Vector3 targetPos = _isMoving && _currentDestination != Vector3.zero + ? _currentDestination + : (_target != null ? _target.transform.position : Vector3.zero); + + if (targetPos != Vector3.zero) + { + Gizmos.DrawLine(transform.position, targetPos); + } + + // 현재 오브젝트 위치에 작은 기즈모 그리기 + Gizmos.color = Color.blue; + Gizmos.DrawWireCube(transform.position, Vector3.one * 0.3f); + } + + protected override void OnDrawGizmosSelected() + { + if (!enableDebugDraw || _target == null) return; + + // 선택되었을 때 추가 정보 표시 +#if UNITY_EDITOR + Vector3 targetPos = _isMoving && _currentDestination != Vector3.zero + ? _currentDestination + : _target.transform.position; + + float distance = Vector3.Distance(transform.position, targetPos); + UnityEditor.Handles.Label(targetPos + Vector3.up * 1f, + $"Distance: {distance:F2}m\nStopping: {stoppingDistance:F2}m"); + + // InteractionPoints가 있다면 모두 표시 + if (useInteractionPoints && _target.TryGetComponent(out var ric)) + { + var points = ric.GetInteractionPoints(); + if (points != null && points.Length > 0) + { + Gizmos.color = Color.cyan; + foreach (var point in points) + { + Gizmos.DrawWireSphere(point, 0.2f); + } + } + } +#endif + } private bool ShouldUpdateDestination() { From 61fd509c96cec3452287bba4e454399383cf15ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=82=B0?= Date: Thu, 28 Aug 2025 12:43:32 +0900 Subject: [PATCH 13/17] =?UTF-8?q?=EC=A4=91=EC=B2=A9=EC=83=81=ED=83=9C=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0=20=EB=B0=8F=20=ED=94=8C=EB=A0=88=EC=9D=B4?= =?UTF-8?q?=EC=96=B4-=EC=86=90=EB=8B=98=20OrderSolver=20=EB=B6=84=EB=B0=B0?= =?UTF-8?q?,=20=EC=B4=88=EA=B8=B0=ED=99=94=20=EB=B6=80=EB=B6=84=20?= =?UTF-8?q?=EB=A6=AC=ED=8C=A9=ED=86=A0=EB=A7=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AI/Customer/Subtree/CustomerDefault.asset | 4 ++-- .../AI/Customer/Subtree/OrderSubtree.asset | 4 ++-- .../Prefabs/RestaurantPlayer.prefab | 2 +- .../_Scripts/Game/GameEvent/IInteractable.cs | 1 - .../Common/Actions/LookAtInteractionTarget.cs | 13 ++++------- .../Actions/WaitForPlayerInteraction.cs | 7 ++---- .../Character/Core/CharacterInteraction.cs | 23 +++++++++++++++++++ .../Character/Core/RestaurantCharacter.cs | 13 +---------- .../Character/Player/PlayerInteraction.cs | 14 +++++++++++ .../Event/RestaurantInteractionComponent.cs | 1 - .../Event/RestaurantInteractionEvents.cs | 5 +++- .../RestaurantOrders/RestaurantOrderSolver.cs | 12 +++++++++- 12 files changed, 64 insertions(+), 35 deletions(-) diff --git a/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset b/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset index 193d9ef96..b4c023f9c 100644 --- a/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset +++ b/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:27a3a40bb3be1c167778bdc35a0ec6db10f288f1dde2c666105b98ffad079bdc -size 67663 +oid sha256:03d01d4c1d7746e711e9ef21cafbfa8e0ffd13f6f6ad4fbacea3f7464426ba16 +size 67915 diff --git a/Assets/_DDD/_Addressables/AI/Customer/Subtree/OrderSubtree.asset b/Assets/_DDD/_Addressables/AI/Customer/Subtree/OrderSubtree.asset index 8e6a2bf26..7e7bb95e0 100644 --- a/Assets/_DDD/_Addressables/AI/Customer/Subtree/OrderSubtree.asset +++ b/Assets/_DDD/_Addressables/AI/Customer/Subtree/OrderSubtree.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1e863335f3752df069447ebc0fee597d6f366d88edd12d70db68b45923a4f87c -size 20475 +oid sha256:6da8678bc90f664244b89aa26dc5c6b01c51567387ea3414b916fb27082f752b +size 16520 diff --git a/Assets/_DDD/_Addressables/Prefabs/RestaurantPlayer.prefab b/Assets/_DDD/_Addressables/Prefabs/RestaurantPlayer.prefab index f842662b8..bb8720305 100644 --- a/Assets/_DDD/_Addressables/Prefabs/RestaurantPlayer.prefab +++ b/Assets/_DDD/_Addressables/Prefabs/RestaurantPlayer.prefab @@ -426,7 +426,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 81e01dd8c1cc3404d805400eba1bb4ae, type: 3} m_Name: m_EditorClassIdentifier: - _availableInteractions: 5 + _availableInteractions: 7 _nearColliders: - {fileID: 0} - {fileID: 0} diff --git a/Assets/_DDD/_Scripts/Game/GameEvent/IInteractable.cs b/Assets/_DDD/_Scripts/Game/GameEvent/IInteractable.cs index c386e8e2a..72831c1fd 100644 --- a/Assets/_DDD/_Scripts/Game/GameEvent/IInteractable.cs +++ b/Assets/_DDD/_Scripts/Game/GameEvent/IInteractable.cs @@ -10,7 +10,6 @@ public enum InteractionType : uint None = 0u, RestaurantManagement = 1u << 0, RestaurantOrder = 1u << 1, - RestaurantMeal = 1u << 2, RestaurantCook = 1u << 3, All = 0xFFFFFFFFu } diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/LookAtInteractionTarget.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/LookAtInteractionTarget.cs index 1c0938cbe..68058dfd2 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/LookAtInteractionTarget.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Common/Actions/LookAtInteractionTarget.cs @@ -12,11 +12,7 @@ public class LookAtInteractionTarget : Action { [Header("Target Settings")] [Tooltip("InteractionPoints를 사용해 가장 적절한 지점을 바라봄")] - [SerializeField] private bool useInteractionPoints = true; - - [Header("Update Settings")] - [Tooltip("프레임마다 갱신하여 지속적으로 바라볼지 (Running 반환) 여부. 비활성화 시 1회만 시도하고 성공 처리")] - [SerializeField] private bool continuousUpdate = true; + [SerializeField] private bool _useInteractionPoints = true; // Visual 전용 컴포넌트(나중 구현)를 위한 최소 인터페이스 // 실제 구현은 Spine/애니메이션 제어 컴포넌트에서 이 인터페이스를 구현하세요. @@ -68,9 +64,8 @@ public override TaskStatus OnUpdate() { _visual?.UpdateLookAt(_currentLookPosition); } - - // 연속 업데이트면 Running, 아니면 1회만 시도 후 Success 반환 - return continuousUpdate ? TaskStatus.Running : TaskStatus.Success; + + return TaskStatus.Success; } public override void OnEnd() @@ -87,7 +82,7 @@ public override void OnEnd() private Vector3 CalculateLookPosition(GameObject target) { - if (!useInteractionPoints) + if (!_useInteractionPoints) return target.transform.position; if (target.TryGetComponent(out var ric)) diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs index 6c5dd2230..46579e1ce 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs @@ -8,15 +8,12 @@ namespace DDD.Restaurant //차후 제네릭으로 변경 가능성 있음 public class WaitForPlayerInteraction : Action { - [Tooltip("기다릴 상호작용 타입")] - [SerializeField] private RestaurantMealType _targetOrderType = RestaurantMealType.WaitForOrder; - - private IInteractionSubsystemObject _interactionSubsystem; + [SerializeField] private RestaurantOrderType _targetOrderType; + private IInteractionSubsystemObject _interactionSubsystem; private bool _isGetInteractionSubsystem; public override void OnStart() { - // 의자가 복합 상태를 가지게 될 경우 GameObject interactionTarget = null; if(!gameObject.TryGetComponent(out var sharedBlackboard)) return; interactionTarget = sharedBlackboard.GetBlackboardGameObject(nameof(RestaurantCustomerBlackboardKey.CurrentInteractionTarget)); diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterInteraction.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterInteraction.cs index d6b1530a5..5ec7c67ac 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterInteraction.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Core/CharacterInteraction.cs @@ -1,3 +1,4 @@ +using System; using System.Collections.Generic; using Sirenix.OdinInspector; using UnityEngine; @@ -99,5 +100,27 @@ public bool CanInteractTo(IInteractable interactable, ScriptableObject payloadSo if (TryGetSolverFor(interactable, out var solver) == false) return false; return solver.CanExecuteInteraction(this, interactable, payloadSo); } + + public virtual void InitializeSolvers() + { + var typesToSolver = RestaurantInteractionEventSolvers.TypeToSolver; + InitializeInteractionSolvers(typesToSolver); + } + + protected void InitializeInteractionSolvers(Dictionary typesToSolver) + { + foreach (var typeToSolver in typesToSolver) + { + var flag = typeToSolver.Key; + if (flag == InteractionType.None) continue; + + if ((AvailableInteractions & flag) == 0) continue; + + if (!TryGetComponent(typeToSolver.Value, out _)) + { + gameObject.AddComponent(typeToSolver.Value); + } + } + } } } diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/Core/RestaurantCharacter.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Core/RestaurantCharacter.cs index 42105fd49..f3a32003e 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/Core/RestaurantCharacter.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Core/RestaurantCharacter.cs @@ -13,19 +13,8 @@ public class RestaurantCharacter : MonoBehaviour, IGameCharacter, IInteractor protected virtual void Awake() { _interactionComponent = GetComponent(); + _interactionComponent.InitializeSolvers(); _spineController = GetComponent(); - foreach (var typeToSolver in RestaurantInteractionEventSolvers.TypeToSolver) - { - var flag = typeToSolver.Key; - if (flag == InteractionType.None) continue; - - if ((_interactionComponent.AvailableInteractions & flag) == 0) continue; - - if (!TryGetComponent(typeToSolver.Value, out _)) - { - gameObject.AddComponent(typeToSolver.Value); - } - } } protected virtual void Start() diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerInteraction.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerInteraction.cs index 4162945a1..21832e1ea 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerInteraction.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Player/PlayerInteraction.cs @@ -1,3 +1,5 @@ +using System; +using System.Collections.Generic; using System.Threading.Tasks; using UnityEngine; using UnityEngine.InputSystem; @@ -35,6 +37,18 @@ private Task Initialize() return Task.CompletedTask; } + public override void InitializeSolvers() + { + var typesToSolver = RestaurantInteractionEventSolvers.TypeToSolver; + var playerSolver = RestaurantInteractionEventSolvers.TypeToPlayerSolver; + foreach(var pair in playerSolver) + { + typesToSolver.Remove(pair.Key); + } + InitializeInteractionSolvers(typesToSolver); + InitializeInteractionSolvers(playerSolver); + } + protected override void OnDestroy() { base.OnDestroy(); diff --git a/Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionComponent.cs b/Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionComponent.cs index 34bb0a1c3..422daa866 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionComponent.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionComponent.cs @@ -13,7 +13,6 @@ public static class RestaurantInteractionSubsystems { {InteractionType.RestaurantOrder, typeof(InteractionSubsystem_Order)}, {InteractionType.RestaurantManagement, typeof(InteractionSubsystem_Management)}, - {InteractionType.RestaurantMeal, typeof(InteractionSubsystem_Meal)} }; } diff --git a/Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionEvents.cs b/Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionEvents.cs index 9fe0c5cef..f006c3e85 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionEvents.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Event/RestaurantInteractionEvents.cs @@ -10,9 +10,12 @@ public static class RestaurantInteractionEventSolvers { {InteractionType.RestaurantManagement, typeof(RestaurantManagementSolver)}, {InteractionType.RestaurantOrder, typeof(RestaurantOrderSolver)}, - {InteractionType.RestaurantMeal, typeof(RestaurantMealSolver)}, {InteractionType.RestaurantCook, typeof(RestaurantCookSolver)} }; + public static Dictionary TypeToPlayerSolver = new() + { + {InteractionType.RestaurantOrder, typeof(RestaurantOrderPlayerSolver)}, + }; } public class RestaurantInteractionEvent : IEvent diff --git a/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver.cs b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver.cs index a0f2bab02..b752ebdda 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Event/Solvers/RestaurantOrders/RestaurantOrderSolver.cs @@ -10,9 +10,19 @@ public class RestaurantOrderSolver : RestaurantSubsystemSolver GetSubsystemSolverTypeMappings() + { + return _typeToOrderSolver; + } + } + public class RestaurantOrderPlayerSolver : RestaurantSubsystemSolver + { + private Dictionary _typeToOrderSolver = new() + { { RestaurantOrderType.Order, typeof(RestaurantOrderSolver_Order) }, { RestaurantOrderType.Serve, typeof(RestaurantOrderSolver_Serve) }, - { RestaurantOrderType.Busy, typeof(RestaurantOrderSolver_Busy) }, { RestaurantOrderType.Dirty, typeof(RestaurantOrderSolver_Dirty) } }; protected override Dictionary GetSubsystemSolverTypeMappings() From ba5d3ffb59bc0b1e000c41ebdfe8405c92751566 Mon Sep 17 00:00:00 2001 From: NTG Date: Thu, 28 Aug 2025 12:49:47 +0900 Subject: [PATCH 14/17] =?UTF-8?q?=EA=B5=AC=EA=B8=80=20=EC=8B=9C=ED=8A=B8?= =?UTF-8?q?=20=EB=A1=9C=EC=A7=81=20=EC=88=98=EC=A0=95=20(=ED=81=B4?= =?UTF-8?q?=EB=9E=98=EC=8A=A4=EB=AA=85=20=EB=B3=80=EA=B2=BD)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Game/GameData/{DataSo.cs => DataAsset.cs} | 2 +- .../{DataSo.cs.meta => DataAsset.cs.meta} | 0 .../Game/GameState/InventoryItemData.cs | 2 +- .../Game/GameState/InventoryManager.cs | 8 ++--- .../Game/GameState/InventoryTestDataSo.cs | 6 ++-- .../Game/GameState/TestInventoryEditorTool.cs | 4 +-- .../GameUi/Utils/Binding/BindingContext.cs | 2 +- .../AutoCreated/{So.meta => Assets.meta} | 0 .../Assets/CookwareDataAsset.asset | 3 ++ .../CookwareDataAsset.asset.meta} | 0 .../Assets/CustomerDataAsset.asset | 3 ++ .../CustomerDataAsset.asset.meta} | 0 .../Assets/CustomerPoolDataAsset.asset | 3 ++ .../CustomerPoolDataAsset.asset.meta} | 0 .../AutoCreated/Assets/DrinkDataAsset.asset | 3 ++ .../DrinkDataAsset.asset.meta} | 0 .../Assets/EnvironmentDataAsset.asset | 3 ++ .../EnvironmentDataAsset.asset.meta} | 0 .../AutoCreated/Assets/FoodDataAsset.asset | 3 ++ .../FoodDataAsset.asset.meta} | 0 .../Assets/IngredientDataAsset.asset | 3 ++ .../IngredientDataAsset.asset.meta} | 0 .../AutoCreated/Assets/ItemDataAsset.asset | 3 ++ .../ItemDataAsset.asset.meta} | 0 .../AutoCreated/Assets/LevelDataAsset.asset | 3 ++ .../LevelDataAsset.asset.meta} | 0 .../AutoCreated/Assets/RecipeDataAsset.asset | 3 ++ .../RecipeDataAsset.asset.meta} | 0 .../AutoCreated/Assets/TasteDataAsset.asset | 3 ++ .../TasteDataAsset.asset.meta} | 0 .../AutoCreated/Classes/CookwareDataAsset.cs | 23 +++++++++++++ ...taSo.cs.meta => CookwareDataAsset.cs.meta} | 0 .../{CookwareData.cs => CookwareDataEntry.cs} | 2 +- ...Data.cs.meta => CookwareDataEntry.cs.meta} | 0 .../AutoCreated/Classes/CookwareDataSo.cs | 23 ------------- ...CustomerDataSo.cs => CustomerDataAsset.cs} | 4 +-- ...taSo.cs.meta => CustomerDataAsset.cs.meta} | 0 .../{CustomerData.cs => CustomerDataEntry.cs} | 2 +- ...Data.cs.meta => CustomerDataEntry.cs.meta} | 0 ...PoolDataSo.cs => CustomerPoolDataAsset.cs} | 4 +-- ....cs.meta => CustomerPoolDataAsset.cs.meta} | 0 ...erPoolData.cs => CustomerPoolDataEntry.cs} | 2 +- ....cs.meta => CustomerPoolDataEntry.cs.meta} | 0 .../AutoCreated/Classes/DrinkDataAsset.cs | 9 +++++ ...kDataSo.cs.meta => DrinkDataAsset.cs.meta} | 0 .../{FoodData.cs => DrinkDataEntry.cs} | 2 +- ...inkData.cs.meta => DrinkDataEntry.cs.meta} | 0 .../AutoCreated/Classes/DrinkDataSo.cs | 9 ----- .../Classes/EnvironmentDataAsset.cs | 9 +++++ ...o.cs.meta => EnvironmentDataAsset.cs.meta} | 0 ...ronmentData.cs => EnvironmentDataEntry.cs} | 2 +- ...a.cs.meta => EnvironmentDataEntry.cs.meta} | 0 .../AutoCreated/Classes/EnvironmentDataSo.cs | 9 ----- .../AutoCreated/Classes/FoodDataAsset.cs | 9 +++++ ...odDataSo.cs.meta => FoodDataAsset.cs.meta} | 0 .../{DrinkData.cs => FoodDataEntry.cs} | 2 +- ...FoodData.cs.meta => FoodDataEntry.cs.meta} | 0 .../AutoCreated/Classes/FoodDataSo.cs | 9 ----- .../Classes/IngredientDataAsset.cs | 8 +++++ ...So.cs.meta => IngredientDataAsset.cs.meta} | 0 ...gredientData.cs => IngredientDataEntry.cs} | 2 +- ...ta.cs.meta => IngredientDataEntry.cs.meta} | 0 .../AutoCreated/Classes/IngredientDataSo.cs | 8 ----- .../AutoCreated/Classes/ItemDataAsset.cs | 9 +++++ ...emDataSo.cs.meta => ItemDataAsset.cs.meta} | 0 .../Classes/{ItemData.cs => ItemDataEntry.cs} | 2 +- ...ItemData.cs.meta => ItemDataEntry.cs.meta} | 0 .../AutoCreated/Classes/ItemDataSo.cs | 9 ----- .../AutoCreated/Classes/LevelDataAsset.cs | 8 +++++ ...lDataSo.cs.meta => LevelDataAsset.cs.meta} | 0 .../{LevelData.cs => LevelDataEntry.cs} | 2 +- ...velData.cs.meta => LevelDataEntry.cs.meta} | 0 .../AutoCreated/Classes/LevelDataSo.cs | 8 ----- .../AutoCreated/Classes/RecipeDataAsset.cs | 9 +++++ ...DataSo.cs.meta => RecipeDataAsset.cs.meta} | 0 .../{RecipeData.cs => RecipeDataEntry.cs} | 2 +- ...peData.cs.meta => RecipeDataEntry.cs.meta} | 0 .../AutoCreated/Classes/RecipeDataSo.cs | 9 ----- .../AutoCreated/Classes/TasteDataAsset.cs | 9 +++++ ...eDataSo.cs.meta => TasteDataAsset.cs.meta} | 0 .../{TasteData.cs => TasteDataEntry.cs} | 2 +- ...steData.cs.meta => TasteDataEntry.cs.meta} | 0 .../AutoCreated/Classes/TasteDataSo.cs | 9 ----- .../AutoCreated/So/CookwareDataSo.asset | 3 -- .../AutoCreated/So/CustomerDataSo.asset | 3 -- .../AutoCreated/So/CustomerPoolDataSo.asset | 3 -- .../AutoCreated/So/DrinkDataSo.asset | 3 -- .../AutoCreated/So/EnvironmentDataSo.asset | 3 -- .../AutoCreated/So/FoodDataSo.asset | 3 -- .../AutoCreated/So/IngredientDataSo.asset | 3 -- .../AutoCreated/So/ItemDataSo.asset | 3 -- .../AutoCreated/So/LevelDataSo.asset | 3 -- .../AutoCreated/So/RecipeDataSo.asset | 3 -- .../AutoCreated/So/TasteDataSo.asset | 3 -- .../CodeGeneration/CSharpCodeGenerator.cs | 10 +++--- .../Core/Settings/GoogleSheetSettingsSo.cs | 6 ++-- .../AI/Customer/CustomerAiComponent.cs | 14 ++++---- .../Customer/CustomerBlackboardComponent.cs | 4 +-- .../Character/Interfaces/ICustomerAi.cs | 2 +- .../Interfaces/ICustomerBlackboard.cs | 2 +- .../Npc/Customer/CustomerCharacter.cs | 10 +++--- .../Conrtollers/EnvironmentController.cs | 2 +- .../Run/Customer/CustomerFactory.cs | 6 ++-- .../Controller/Conrtollers/RunController.cs | 28 +++++++-------- .../Tasks/CreateRestaurantEnvironment.cs | 2 +- .../Environment/RestaurantEnvironment.cs | 26 +++++++------- .../FlowStates/RestaurantManagementState.cs | 22 ++++++------ .../Restaurant/Ui/CookUi/CookViewModel.cs | 12 +++---- .../ExtensionsUi/CraftingHelper.cs | 6 ++-- .../ExtensionsUi/DrinkDataExtensions.cs | 32 ++++++++--------- .../ExtensionsUi/FoodDataExtensions.cs | 32 ++++++++--------- .../RestaurantManagementUi/ItemDetailView.cs | 6 ++-- .../ItemUi/ItemModel.cs | 34 +++++++++---------- .../ItemUi/ItemViewModelFactory.cs | 8 ++--- .../RestaurantManagementViewModel.cs | 10 +++--- .../TasteHashTagSlotUi.cs | 4 +-- Assets/_DDD/_Scripts/Utilities/Constants.cs | 20 +++++------ 117 files changed, 302 insertions(+), 302 deletions(-) rename Assets/_DDD/_Scripts/Game/GameData/{DataSo.cs => DataAsset.cs} (97%) rename Assets/_DDD/_Scripts/Game/GameData/{DataSo.cs.meta => DataAsset.cs.meta} (100%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/{So.meta => Assets.meta} (100%) create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CookwareDataAsset.asset rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/{So/CookwareDataSo.asset.meta => Assets/CookwareDataAsset.asset.meta} (100%) create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CustomerDataAsset.asset rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/{So/CustomerDataSo.asset.meta => Assets/CustomerDataAsset.asset.meta} (100%) create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CustomerPoolDataAsset.asset rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/{So/CustomerPoolDataSo.asset.meta => Assets/CustomerPoolDataAsset.asset.meta} (100%) create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/DrinkDataAsset.asset rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/{So/DrinkDataSo.asset.meta => Assets/DrinkDataAsset.asset.meta} (100%) create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/EnvironmentDataAsset.asset rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/{So/EnvironmentDataSo.asset.meta => Assets/EnvironmentDataAsset.asset.meta} (100%) create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/FoodDataAsset.asset rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/{So/FoodDataSo.asset.meta => Assets/FoodDataAsset.asset.meta} (100%) create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/IngredientDataAsset.asset rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/{So/IngredientDataSo.asset.meta => Assets/IngredientDataAsset.asset.meta} (100%) create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/ItemDataAsset.asset rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/{So/ItemDataSo.asset.meta => Assets/ItemDataAsset.asset.meta} (100%) create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/LevelDataAsset.asset rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/{So/LevelDataSo.asset.meta => Assets/LevelDataAsset.asset.meta} (100%) create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/RecipeDataAsset.asset rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/{So/RecipeDataSo.asset.meta => Assets/RecipeDataAsset.asset.meta} (100%) create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/TasteDataAsset.asset rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/{So/TasteDataSo.asset.meta => Assets/TasteDataAsset.asset.meta} (100%) create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataAsset.cs rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{CookwareDataSo.cs.meta => CookwareDataAsset.cs.meta} (100%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{CookwareData.cs => CookwareDataEntry.cs} (93%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{CookwareData.cs.meta => CookwareDataEntry.cs.meta} (100%) delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataSo.cs rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{CustomerDataSo.cs => CustomerDataAsset.cs} (68%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{CustomerDataSo.cs.meta => CustomerDataAsset.cs.meta} (100%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{CustomerData.cs => CustomerDataEntry.cs} (95%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{CustomerData.cs.meta => CustomerDataEntry.cs.meta} (100%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{CustomerPoolDataSo.cs => CustomerPoolDataAsset.cs} (66%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{CustomerPoolDataSo.cs.meta => CustomerPoolDataAsset.cs.meta} (100%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{CustomerPoolData.cs => CustomerPoolDataEntry.cs} (93%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{CustomerPoolData.cs.meta => CustomerPoolDataEntry.cs.meta} (100%) create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataAsset.cs rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{DrinkDataSo.cs.meta => DrinkDataAsset.cs.meta} (100%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{FoodData.cs => DrinkDataEntry.cs} (98%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{DrinkData.cs.meta => DrinkDataEntry.cs.meta} (100%) delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataSo.cs create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataAsset.cs rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{EnvironmentDataSo.cs.meta => EnvironmentDataAsset.cs.meta} (100%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{EnvironmentData.cs => EnvironmentDataEntry.cs} (96%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{EnvironmentData.cs.meta => EnvironmentDataEntry.cs.meta} (100%) delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataSo.cs create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataAsset.cs rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{FoodDataSo.cs.meta => FoodDataAsset.cs.meta} (100%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{DrinkData.cs => FoodDataEntry.cs} (98%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{FoodData.cs.meta => FoodDataEntry.cs.meta} (100%) delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataSo.cs create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataAsset.cs rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{IngredientDataSo.cs.meta => IngredientDataAsset.cs.meta} (100%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{IngredientData.cs => IngredientDataEntry.cs} (85%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{IngredientData.cs.meta => IngredientDataEntry.cs.meta} (100%) delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataSo.cs create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataAsset.cs rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{ItemDataSo.cs.meta => ItemDataAsset.cs.meta} (100%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{ItemData.cs => ItemDataEntry.cs} (93%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{ItemData.cs.meta => ItemDataEntry.cs.meta} (100%) delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataSo.cs create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataAsset.cs rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{LevelDataSo.cs.meta => LevelDataAsset.cs.meta} (100%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{LevelData.cs => LevelDataEntry.cs} (97%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{LevelData.cs.meta => LevelDataEntry.cs.meta} (100%) delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataSo.cs create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataAsset.cs rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{RecipeDataSo.cs.meta => RecipeDataAsset.cs.meta} (100%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{RecipeData.cs => RecipeDataEntry.cs} (93%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{RecipeData.cs.meta => RecipeDataEntry.cs.meta} (100%) delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataSo.cs create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataAsset.cs rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{TasteDataSo.cs.meta => TasteDataAsset.cs.meta} (100%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{TasteData.cs => TasteDataEntry.cs} (95%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/{TasteData.cs.meta => TasteDataEntry.cs.meta} (100%) delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataSo.cs delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CookwareDataSo.asset delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CustomerDataSo.asset delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CustomerPoolDataSo.asset delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/DrinkDataSo.asset delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/EnvironmentDataSo.asset delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/FoodDataSo.asset delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/IngredientDataSo.asset delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/ItemDataSo.asset delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/LevelDataSo.asset delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/RecipeDataSo.asset delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/TasteDataSo.asset diff --git a/Assets/_DDD/_Scripts/Game/GameData/DataSo.cs b/Assets/_DDD/_Scripts/Game/GameData/DataAsset.cs similarity index 97% rename from Assets/_DDD/_Scripts/Game/GameData/DataSo.cs rename to Assets/_DDD/_Scripts/Game/GameData/DataAsset.cs index bff309916..e49c3135f 100644 --- a/Assets/_DDD/_Scripts/Game/GameData/DataSo.cs +++ b/Assets/_DDD/_Scripts/Game/GameData/DataAsset.cs @@ -6,7 +6,7 @@ namespace DDD { - public class DataSo : ScriptableObject where T : IId + public class DataAsset : ScriptableObject where T : IId { [FormerlySerializedAs("Datas")] [SerializeField] protected List _datas = new(); diff --git a/Assets/_DDD/_Scripts/Game/GameData/DataSo.cs.meta b/Assets/_DDD/_Scripts/Game/GameData/DataAsset.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/Game/GameData/DataSo.cs.meta rename to Assets/_DDD/_Scripts/Game/GameData/DataAsset.cs.meta diff --git a/Assets/_DDD/_Scripts/Game/GameState/InventoryItemData.cs b/Assets/_DDD/_Scripts/Game/GameState/InventoryItemData.cs index 584f5c162..812fe42a7 100644 --- a/Assets/_DDD/_Scripts/Game/GameState/InventoryItemData.cs +++ b/Assets/_DDD/_Scripts/Game/GameState/InventoryItemData.cs @@ -18,6 +18,6 @@ public InventoryItemData(string id, int quantity) Quantity = quantity; } - public ItemData ItemData => InventoryManager.Instance.GetItemDataByIdOrNull(Id); + public ItemDataEntry ItemDataEntry => InventoryManager.Instance.GetItemDataByIdOrNull(Id); } } \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/Game/GameState/InventoryManager.cs b/Assets/_DDD/_Scripts/Game/GameState/InventoryManager.cs index 3a8662186..e1c3916ac 100644 --- a/Assets/_DDD/_Scripts/Game/GameState/InventoryManager.cs +++ b/Assets/_DDD/_Scripts/Game/GameState/InventoryManager.cs @@ -19,7 +19,7 @@ public class InventoryManager : Singleton, IManager { [Title("아이템 전체 목록")] [ShowInInspector, ReadOnly] - private Dictionary _allItemDataLookup; + private Dictionary _allItemDataLookup; [Title("아이템 보유 목록")] [ShowInInspector, ReadOnly] @@ -48,7 +48,7 @@ public void PostInit() private void InitializeItemData() { - var itemDataSo = DataManager.Instance.GetDataSo(); + var itemDataSo = DataManager.Instance.GetDataSo(); Debug.Assert(itemDataSo != null, "itemDataSo != null"); _allItemDataLookup = itemDataSo.GetDataList() @@ -129,12 +129,12 @@ public bool RemoveItem(string id, int quantity = 1) return true; } - public IReadOnlyDictionary AllItemDataLookup => _allItemDataLookup; + public IReadOnlyDictionary AllItemDataLookup => _allItemDataLookup; public IReadOnlyDictionary InventoryItems => _inventoryItemDatas; public bool ContainInventoryItem(string id) => _inventoryItemDatas.ContainsKey(id); public bool TryGetInventoryItemData(string id, out InventoryItemData inventoryItemData) => _inventoryItemDatas.TryGetValue(id, out inventoryItemData); public int GetItemCount(string id) => _inventoryItemDatas.TryGetValue(id, out var itemData) ? itemData.Quantity : 0; - public ItemData GetItemDataByIdOrNull(string id) + public ItemDataEntry GetItemDataByIdOrNull(string id) { _allItemDataLookup.TryGetValue(id, out var itemData); return itemData; diff --git a/Assets/_DDD/_Scripts/Game/GameState/InventoryTestDataSo.cs b/Assets/_DDD/_Scripts/Game/GameState/InventoryTestDataSo.cs index 2b6f69b17..32f98620c 100644 --- a/Assets/_DDD/_Scripts/Game/GameState/InventoryTestDataSo.cs +++ b/Assets/_DDD/_Scripts/Game/GameState/InventoryTestDataSo.cs @@ -28,14 +28,14 @@ private IEnumerable GetAllItemIds() .Select(d => d.Id); } - private ItemDataSo LoadItemDataSo() + private ItemDataAsset LoadItemDataSo() { // 경로는 프로젝트에 맞게 조정 필요 - string[] guids = AssetDatabase.FindAssets("t:ItemDataSo"); + string[] guids = AssetDatabase.FindAssets("t:ItemDataAsset"); if (guids.Length == 0) return null; string path = AssetDatabase.GUIDToAssetPath(guids[0]); - return AssetDatabase.LoadAssetAtPath(path); + return AssetDatabase.LoadAssetAtPath(path); } } diff --git a/Assets/_DDD/_Scripts/Game/GameState/TestInventoryEditorTool.cs b/Assets/_DDD/_Scripts/Game/GameState/TestInventoryEditorTool.cs index c251a1b48..f66837dbf 100644 --- a/Assets/_DDD/_Scripts/Game/GameState/TestInventoryEditorTool.cs +++ b/Assets/_DDD/_Scripts/Game/GameState/TestInventoryEditorTool.cs @@ -47,10 +47,10 @@ private void RemoveItem() private IEnumerable GetItemIds() { - if (!Application.isPlaying || DataManager.Instance?.GetDataSo() == null) + if (!Application.isPlaying || DataManager.Instance?.GetDataSo() == null) return Enumerable.Empty(); - return DataManager.Instance.GetDataSo().GetDataList() + return DataManager.Instance.GetDataSo().GetDataList() .Select(data => data.Id) .Where(id => !string.IsNullOrEmpty(id)); } diff --git a/Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingContext.cs b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingContext.cs index fb4faf61f..18533567b 100644 --- a/Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingContext.cs +++ b/Assets/_DDD/_Scripts/Game/GameUi/Utils/Binding/BindingContext.cs @@ -104,7 +104,7 @@ private object GetPropertyValue(string propertyPath) { if (_dataContext == null) return null; - // 중첩 속성 지원 (예: "ItemData.Name") + // 중첩 속성 지원 (예: "ItemDataEntry.Name") var properties = propertyPath.Split('.'); object current = _dataContext; diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CookwareDataAsset.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CookwareDataAsset.asset new file mode 100644 index 000000000..aa9b3e191 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CookwareDataAsset.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f7460f0acbac80d6e106b5a3b7ca458e14578783b5c277b7914a1417e3abc38 +size 1016 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CookwareDataSo.asset.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CookwareDataAsset.asset.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CookwareDataSo.asset.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CookwareDataAsset.asset.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CustomerDataAsset.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CustomerDataAsset.asset new file mode 100644 index 000000000..0b68d0f68 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CustomerDataAsset.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fde6cef5464a2fd6832c0e2fad7c585618bb8bdf64fcc4b45f225aee7dd0ef35 +size 955 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CustomerDataSo.asset.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CustomerDataAsset.asset.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CustomerDataSo.asset.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CustomerDataAsset.asset.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CustomerPoolDataAsset.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CustomerPoolDataAsset.asset new file mode 100644 index 000000000..1062e5434 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CustomerPoolDataAsset.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38e7e9974ded3d328cb0d7b8983b2f5427c053e3cde91963458c9e7bef9c657f +size 1319 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CustomerPoolDataSo.asset.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CustomerPoolDataAsset.asset.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CustomerPoolDataSo.asset.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/CustomerPoolDataAsset.asset.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/DrinkDataAsset.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/DrinkDataAsset.asset new file mode 100644 index 000000000..b42f24ce9 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/DrinkDataAsset.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a52213a4b087efeafaecf64a08506ec7a7dc47261de27f851cb35f620d91991 +size 2215 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/DrinkDataSo.asset.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/DrinkDataAsset.asset.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/DrinkDataSo.asset.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/DrinkDataAsset.asset.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/EnvironmentDataAsset.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/EnvironmentDataAsset.asset new file mode 100644 index 000000000..fb6ab7893 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/EnvironmentDataAsset.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9966134fed81dd3e3f7175f430cc1bc3051f33c8e3f624ea6250b13382080d3 +size 1537 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/EnvironmentDataSo.asset.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/EnvironmentDataAsset.asset.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/EnvironmentDataSo.asset.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/EnvironmentDataAsset.asset.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/FoodDataAsset.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/FoodDataAsset.asset new file mode 100644 index 000000000..a9119cd48 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/FoodDataAsset.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c3e15e5cd97d76c812871adb467ca146e526d1705477e293b77683bdddf2cb6 +size 9435 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/FoodDataSo.asset.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/FoodDataAsset.asset.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/FoodDataSo.asset.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/FoodDataAsset.asset.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/IngredientDataAsset.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/IngredientDataAsset.asset new file mode 100644 index 000000000..c4cb34349 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/IngredientDataAsset.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42a66890241adfb9d9f0a90caee3db1557bf8c579641a24bbe90ac8b3282d35d +size 1453 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/IngredientDataSo.asset.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/IngredientDataAsset.asset.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/IngredientDataSo.asset.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/IngredientDataAsset.asset.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/ItemDataAsset.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/ItemDataAsset.asset new file mode 100644 index 000000000..e5079a144 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/ItemDataAsset.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad48880bc0769b0eed9efa2f55b970751e472b20408e69914ad2e596fc67b1d9 +size 5509 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/ItemDataSo.asset.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/ItemDataAsset.asset.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/ItemDataSo.asset.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/ItemDataAsset.asset.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/LevelDataAsset.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/LevelDataAsset.asset new file mode 100644 index 000000000..7f0bcf560 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/LevelDataAsset.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5bd03372474b6d1e65c81112442a0e711ab17cfdaead841de59ec1690a8ec60a +size 2128 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/LevelDataSo.asset.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/LevelDataAsset.asset.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/LevelDataSo.asset.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/LevelDataAsset.asset.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/RecipeDataAsset.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/RecipeDataAsset.asset new file mode 100644 index 000000000..f03e22201 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/RecipeDataAsset.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21a37b6a7ab2bf63c99ee6dc0f623bb93ff8d14d48530fe35e9c1cdb3b2a2c28 +size 2726 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/RecipeDataSo.asset.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/RecipeDataAsset.asset.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/RecipeDataSo.asset.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/RecipeDataAsset.asset.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/TasteDataAsset.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/TasteDataAsset.asset new file mode 100644 index 000000000..259151841 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/TasteDataAsset.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad937bc3f4ebd929d825e7cea0815065459e05457a790e3fea23743ad33111a3 +size 1320 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/TasteDataSo.asset.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/TasteDataAsset.asset.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/TasteDataSo.asset.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Assets/TasteDataAsset.asset.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataAsset.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataAsset.cs new file mode 100644 index 000000000..aeae02f52 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataAsset.cs @@ -0,0 +1,23 @@ +// File: CookwareDataAsset.cs +using System.Collections.Generic; +using System.Linq; +using UnityEngine; + +namespace DDD +{ + [CreateAssetMenu(fileName = "CookwareDataAsset", menuName = "GoogleSheet/CookwareDataAsset")] + public class CookwareDataAsset : DataAsset + { + public bool TryGetValueByCookwareType(CookwareType cookwareType, out CookwareDataEntry cookwareDataEntry) + { + if (_datas == null) + { + cookwareDataEntry = null; + return false; + } + + cookwareDataEntry = _datas.FirstOrDefault(data => data != null && data.CookwareType == cookwareType); + return cookwareDataEntry != null; + } + } +} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataSo.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataAsset.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataSo.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataAsset.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareData.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataEntry.cs similarity index 93% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareData.cs rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataEntry.cs index d3e784c00..52afff5e3 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareData.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataEntry.cs @@ -18,7 +18,7 @@ public enum CookwareType } [Serializable] - public class CookwareData : IId + public class CookwareDataEntry : IId { /// 식별ID [Tooltip("식별ID")] diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareData.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataEntry.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareData.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataEntry.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataSo.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataSo.cs deleted file mode 100644 index 44f684862..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CookwareDataSo.cs +++ /dev/null @@ -1,23 +0,0 @@ -// File: CookwareDataSo.cs -using System.Collections.Generic; -using System.Linq; -using UnityEngine; - -namespace DDD -{ - [CreateAssetMenu(fileName = "CookwareDataSo", menuName = "GoogleSheet/CookwareDataSo")] - public class CookwareDataSo : DataSo - { - public bool TryGetValueByCookwareType(CookwareType cookwareType, out CookwareData cookwareData) - { - if (_datas == null) - { - cookwareData = null; - return false; - } - - cookwareData = _datas.FirstOrDefault(data => data != null && data.CookwareType == cookwareType); - return cookwareData != null; - } - } -} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerDataSo.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerDataAsset.cs similarity index 68% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerDataSo.cs rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerDataAsset.cs index ae0f0fb50..5fdf7b797 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerDataSo.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerDataAsset.cs @@ -3,8 +3,8 @@ namespace DDD { - [CreateAssetMenu(fileName = "CustomerDataSo", menuName = "GoogleSheet/CustomerDataSo")] - public class CustomerDataSo : DataSo + [CreateAssetMenu(fileName = "CustomerDataAsset", menuName = "GoogleSheet/CustomerDataAsset")] + public class CustomerDataAsset : DataAsset { protected override void Initialize() { diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerDataSo.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerDataAsset.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerDataSo.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerDataAsset.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerData.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerDataEntry.cs similarity index 95% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerData.cs rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerDataEntry.cs index a79054176..0a4d39d8e 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerData.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerDataEntry.cs @@ -15,7 +15,7 @@ public enum CustomerType } [Serializable] - public class CustomerData : IId + public class CustomerDataEntry : IId { /// 식별번호 [Tooltip("식별번호")] diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerData.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerDataEntry.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerData.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerDataEntry.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolDataSo.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolDataAsset.cs similarity index 66% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolDataSo.cs rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolDataAsset.cs index 076134084..c5bf87263 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolDataSo.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolDataAsset.cs @@ -3,8 +3,8 @@ namespace DDD { - [CreateAssetMenu(fileName = "CustomerPoolDataSo", menuName = "GoogleSheet/CustomerPoolDataSo")] - public class CustomerPoolDataSo : DataSo + [CreateAssetMenu(fileName = "CustomerPoolDataAsset", menuName = "GoogleSheet/CustomerPoolDataAsset")] + public class CustomerPoolDataAsset : DataAsset { protected override void Initialize() { diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolDataSo.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolDataAsset.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolDataSo.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolDataAsset.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolData.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolDataEntry.cs similarity index 93% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolData.cs rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolDataEntry.cs index 4ef4e3531..7340799c1 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolData.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolDataEntry.cs @@ -7,7 +7,7 @@ namespace DDD { [Serializable] - public class CustomerPoolData : IId + public class CustomerPoolDataEntry : IId { /// 식별번호 [Tooltip("식별번호")] diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolData.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolDataEntry.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolData.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/CustomerPoolDataEntry.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataAsset.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataAsset.cs new file mode 100644 index 000000000..ee717ac6b --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataAsset.cs @@ -0,0 +1,9 @@ +// File: DrinkDataAsset.cs +using System.Collections.Generic; +using UnityEngine; + +namespace DDD +{ + [CreateAssetMenu(fileName = "DrinkDataAsset", menuName = "GoogleSheet/DrinkDataAsset")] + public class DrinkDataAsset : DataAsset { } +} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataSo.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataAsset.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataSo.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataAsset.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodData.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataEntry.cs similarity index 98% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodData.cs rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataEntry.cs index a8f5aecef..0c06242bc 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodData.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataEntry.cs @@ -5,7 +5,7 @@ namespace DDD { [Serializable] - public class FoodData : IId + public class DrinkDataEntry : IId { /// 식별ID [Tooltip("식별ID")] diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkData.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataEntry.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkData.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataEntry.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataSo.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataSo.cs deleted file mode 100644 index 5e175481c..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkDataSo.cs +++ /dev/null @@ -1,9 +0,0 @@ -// File: DrinkDataSo.cs -using System.Collections.Generic; -using UnityEngine; - -namespace DDD -{ - [CreateAssetMenu(fileName = "DrinkDataSo", menuName = "GoogleSheet/DrinkDataSo")] - public class DrinkDataSo : DataSo { } -} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataAsset.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataAsset.cs new file mode 100644 index 000000000..18811836a --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataAsset.cs @@ -0,0 +1,9 @@ +// File: EnvironmentDataAsset.cs +using System.Collections.Generic; +using UnityEngine; + +namespace DDD +{ + [CreateAssetMenu(fileName = "EnvironmentDataAsset", menuName = "GoogleSheet/EnvironmentDataAsset")] + public class EnvironmentDataAsset : DataAsset { } +} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataSo.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataAsset.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataSo.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataAsset.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentData.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataEntry.cs similarity index 96% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentData.cs rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataEntry.cs index 7bcae5499..ed32a019a 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentData.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataEntry.cs @@ -12,7 +12,7 @@ public enum RendererType } [Serializable] - public class EnvironmentData : IId + public class EnvironmentDataEntry : IId { /// 식별번호 [Tooltip("식별번호")] diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentData.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataEntry.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentData.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataEntry.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataSo.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataSo.cs deleted file mode 100644 index aa5d3207e..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/EnvironmentDataSo.cs +++ /dev/null @@ -1,9 +0,0 @@ -// File: EnvironmentDataSo.cs -using System.Collections.Generic; -using UnityEngine; - -namespace DDD -{ - [CreateAssetMenu(fileName = "EnvironmentDataSo", menuName = "GoogleSheet/EnvironmentDataSo")] - public class EnvironmentDataSo : DataSo { } -} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataAsset.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataAsset.cs new file mode 100644 index 000000000..a6b3a54aa --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataAsset.cs @@ -0,0 +1,9 @@ +// File: FoodDataAsset.cs +using System.Collections.Generic; +using UnityEngine; + +namespace DDD +{ + [CreateAssetMenu(fileName = "FoodDataAsset", menuName = "GoogleSheet/FoodDataAsset")] + public class FoodDataAsset : DataAsset { } +} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataSo.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataAsset.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataSo.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataAsset.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkData.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataEntry.cs similarity index 98% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkData.cs rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataEntry.cs index ce18e5dce..48cc24417 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/DrinkData.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataEntry.cs @@ -5,7 +5,7 @@ namespace DDD { [Serializable] - public class DrinkData : IId + public class FoodDataEntry : IId { /// 식별ID [Tooltip("식별ID")] diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodData.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataEntry.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodData.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataEntry.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataSo.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataSo.cs deleted file mode 100644 index 3178bd192..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/FoodDataSo.cs +++ /dev/null @@ -1,9 +0,0 @@ -// File: FoodDataSo.cs -using System.Collections.Generic; -using UnityEngine; - -namespace DDD -{ - [CreateAssetMenu(fileName = "FoodDataSo", menuName = "GoogleSheet/FoodDataSo")] - public class FoodDataSo : DataSo { } -} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataAsset.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataAsset.cs new file mode 100644 index 000000000..37884cbee --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataAsset.cs @@ -0,0 +1,8 @@ +// +using UnityEngine; + +namespace DDD +{ + [CreateAssetMenu(fileName = "IngredientDataAsset", menuName = "GoogleSheet/IngredientDataAsset")] + public class IngredientDataAsset : DataAsset { } +} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataSo.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataAsset.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataSo.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataAsset.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientData.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataEntry.cs similarity index 85% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientData.cs rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataEntry.cs index ea776715a..90546185b 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientData.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataEntry.cs @@ -5,7 +5,7 @@ namespace DDD { [Serializable] - public class IngredientData : IId + public class IngredientDataEntry : IId { /// 식별ID [Tooltip("식별ID")] diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientData.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataEntry.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientData.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataEntry.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataSo.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataSo.cs deleted file mode 100644 index dda2cd047..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/IngredientDataSo.cs +++ /dev/null @@ -1,8 +0,0 @@ -// -using UnityEngine; - -namespace DDD -{ - [CreateAssetMenu(fileName = "IngredientDataSo", menuName = "GoogleSheet/IngredientDataSo")] - public class IngredientDataSo : DataSo { } -} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataAsset.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataAsset.cs new file mode 100644 index 000000000..aab668034 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataAsset.cs @@ -0,0 +1,9 @@ +// File: ItemDataAsset.cs +using System.Collections.Generic; +using UnityEngine; + +namespace DDD +{ + [CreateAssetMenu(fileName = "ItemDataAsset", menuName = "GoogleSheet/ItemDataAsset")] + public class ItemDataAsset : DataAsset { } +} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataSo.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataAsset.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataSo.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataAsset.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemData.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataEntry.cs similarity index 93% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemData.cs rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataEntry.cs index d4b5ba409..0681a2d51 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemData.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataEntry.cs @@ -15,7 +15,7 @@ public enum ItemType } [Serializable] - public class ItemData : IId + public class ItemDataEntry : IId { /// 식별번호 [Tooltip("식별번호")] diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemData.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataEntry.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemData.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataEntry.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataSo.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataSo.cs deleted file mode 100644 index c4183a6a6..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/ItemDataSo.cs +++ /dev/null @@ -1,9 +0,0 @@ -// File: ItemDataSo.cs -using System.Collections.Generic; -using UnityEngine; - -namespace DDD -{ - [CreateAssetMenu(fileName = "ItemDataSo", menuName = "GoogleSheet/ItemDataSo")] - public class ItemDataSo : DataSo { } -} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataAsset.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataAsset.cs new file mode 100644 index 000000000..cd57091b7 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataAsset.cs @@ -0,0 +1,8 @@ +// +using UnityEngine; + +namespace DDD +{ + [CreateAssetMenu(fileName = "LevelDataAsset", menuName = "GoogleSheet/LevelDataAsset")] + public class LevelDataAsset : DataAsset { } +} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataSo.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataAsset.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataSo.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataAsset.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelData.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataEntry.cs similarity index 97% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelData.cs rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataEntry.cs index ab2cbf1fa..4a9793af4 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelData.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataEntry.cs @@ -12,7 +12,7 @@ public enum SpawnType } [Serializable] - public class LevelData : IId + public class LevelDataEntry : IId { /// 식별번호 [Tooltip("식별번호")] diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelData.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataEntry.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelData.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataEntry.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataSo.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataSo.cs deleted file mode 100644 index 6f175d75d..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/LevelDataSo.cs +++ /dev/null @@ -1,8 +0,0 @@ -// -using UnityEngine; - -namespace DDD -{ - [CreateAssetMenu(fileName = "LevelDataSo", menuName = "GoogleSheet/LevelDataSo")] - public class LevelDataSo : DataSo { } -} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataAsset.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataAsset.cs new file mode 100644 index 000000000..26ced1dbf --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataAsset.cs @@ -0,0 +1,9 @@ +// File: RecipeDataAsset.cs +using System.Collections.Generic; +using UnityEngine; + +namespace DDD +{ + [CreateAssetMenu(fileName = "RecipeDataAsset", menuName = "GoogleSheet/RecipeDataAsset")] + public class RecipeDataAsset : DataAsset { } +} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataSo.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataAsset.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataSo.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataAsset.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeData.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataEntry.cs similarity index 93% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeData.cs rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataEntry.cs index a38afbd14..43ed11ea3 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeData.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataEntry.cs @@ -12,7 +12,7 @@ public enum RecipeType } [Serializable] - public class RecipeData : IId + public class RecipeDataEntry : IId { /// 식별ID [Tooltip("식별ID")] diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeData.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataEntry.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeData.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataEntry.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataSo.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataSo.cs deleted file mode 100644 index d82950b45..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/RecipeDataSo.cs +++ /dev/null @@ -1,9 +0,0 @@ -// File: RecipeDataSo.cs -using System.Collections.Generic; -using UnityEngine; - -namespace DDD -{ - [CreateAssetMenu(fileName = "RecipeDataSo", menuName = "GoogleSheet/RecipeDataSo")] - public class RecipeDataSo : DataSo { } -} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataAsset.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataAsset.cs new file mode 100644 index 000000000..077402fd0 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataAsset.cs @@ -0,0 +1,9 @@ +// File: TasteDataAsset.cs +using System.Collections.Generic; +using UnityEngine; + +namespace DDD +{ + [CreateAssetMenu(fileName = "TasteDataAsset", menuName = "GoogleSheet/TasteDataAsset")] + public class TasteDataAsset : DataAsset { } +} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataSo.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataAsset.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataSo.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataAsset.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteData.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataEntry.cs similarity index 95% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteData.cs rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataEntry.cs index 835cfe2e3..eb7b845fd 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteData.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataEntry.cs @@ -28,7 +28,7 @@ public enum TasteType } [Serializable] - public class TasteData : IId + public class TasteDataEntry : IId { /// 식별ID [Tooltip("식별ID")] diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteData.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataEntry.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteData.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataEntry.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataSo.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataSo.cs deleted file mode 100644 index 538f8533d..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Classes/TasteDataSo.cs +++ /dev/null @@ -1,9 +0,0 @@ -// File: TasteDataSo.cs -using System.Collections.Generic; -using UnityEngine; - -namespace DDD -{ - [CreateAssetMenu(fileName = "TasteDataSo", menuName = "GoogleSheet/TasteDataSo")] - public class TasteDataSo : DataSo { } -} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CookwareDataSo.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CookwareDataSo.asset deleted file mode 100644 index e78767be5..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CookwareDataSo.asset +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:38b93c1a21f0361c1e0bb154afdc0a0d9103225195b9f0cedd26e74de126eb3f -size 1013 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CustomerDataSo.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CustomerDataSo.asset deleted file mode 100644 index 4f596e43f..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CustomerDataSo.asset +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:600b73b988d57a63d502145ba01feb5323df6b87ca7af17b795f220d5644019d -size 952 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CustomerPoolDataSo.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CustomerPoolDataSo.asset deleted file mode 100644 index 2a1e06063..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/CustomerPoolDataSo.asset +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:744e0087510d2c2d522b5f894d684df478acfae5456ec547157af0c662c018f5 -size 1316 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/DrinkDataSo.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/DrinkDataSo.asset deleted file mode 100644 index 0373fbe90..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/DrinkDataSo.asset +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3dfdc5570d516edbb7436c74cd98e4c4722fd4691afab34ba094b93a041dc2f9 -size 2212 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/EnvironmentDataSo.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/EnvironmentDataSo.asset deleted file mode 100644 index 98082d99f..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/EnvironmentDataSo.asset +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12badc6747a2bc25c321281b29f30d2397cd92a81d87cabed61151c0fb1a65bb -size 1534 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/FoodDataSo.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/FoodDataSo.asset deleted file mode 100644 index 31da407d7..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/FoodDataSo.asset +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12ddf4f70c6d37a1fb65c09de7281602c7d70f99255e3fe5d7aa198f6b829810 -size 9432 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/IngredientDataSo.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/IngredientDataSo.asset deleted file mode 100644 index a916baa64..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/IngredientDataSo.asset +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:32cb5468e3b617ba50526c12255e072cfa8d658c73800a32a4ac852a37307f51 -size 1450 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/ItemDataSo.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/ItemDataSo.asset deleted file mode 100644 index 0cb1025ce..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/ItemDataSo.asset +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6e75e05c2ca952b82d8b3204ebcd86ac4459c4d4a06b311a4ee99ebb8a39605e -size 5506 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/LevelDataSo.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/LevelDataSo.asset deleted file mode 100644 index 7db412a21..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/LevelDataSo.asset +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:563078d8747c408ee7fd6442914fe4c071effe4ed8fcd1782cd9ddfbffb3890b -size 2125 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/RecipeDataSo.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/RecipeDataSo.asset deleted file mode 100644 index 1739578ea..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/RecipeDataSo.asset +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cfb22ca245534fdd789d910626dd295eb2eb7abdbedfcb62c8927bdec52a8e79 -size 2723 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/TasteDataSo.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/TasteDataSo.asset deleted file mode 100644 index afe417bbc..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/So/TasteDataSo.asset +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d408dbe2e5bfcf05f5cb6c69620258d694b22a6924be0c1b90343908907b47f0 -size 1317 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/CodeGeneration/CSharpCodeGenerator.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/CodeGeneration/CSharpCodeGenerator.cs index cbb43e4f0..4fbace293 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/CodeGeneration/CSharpCodeGenerator.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/CodeGeneration/CSharpCodeGenerator.cs @@ -83,8 +83,8 @@ public CodeGenerationResult Generate(string fullJson, IReadOnlyCollection {{ }} + [CreateAssetMenu(fileName = ""{safe}Asset"", menuName = ""GoogleSheet/{safe}Asset"")] + public class {safe}Asset : DataAsset<{safe}> {{ }} }}"; } @@ -193,7 +193,7 @@ private string GenerateDataClass(string rootNamespace, string className, JArray sb.AppendLine($"namespace {rootNamespace}"); sb.AppendLine("{"); sb.AppendLine(" [Serializable]"); - sb.AppendLine($" public class {safeClass} : IId"); + sb.AppendLine($" public class {safeClass}Entry : IId"); sb.AppendLine(" {"); foreach (var prop in sampleRow.Properties()) diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Settings/GoogleSheetSettingsSo.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Settings/GoogleSheetSettingsSo.cs index 1a48c8dcc..9abb38765 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Settings/GoogleSheetSettingsSo.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Settings/GoogleSheetSettingsSo.cs @@ -21,7 +21,7 @@ public class GoogleSheetSettingsSo : ScriptableObject [Header("출력 경로(모두 AssetPath, 한 곳만 바꾸면 연동)")] [SerializeField] private string _generateAssetBasePath = "Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated"; [SerializeField] private string _classesFolderName = "Classes"; - [SerializeField] private string _soFolderName = "So"; + [SerializeField] private string _assetFolderName = "Assets"; [SerializeField] private string _logsFolderName = "Logs"; [SerializeField] private string _backupsFolderName = "BackUps"; [SerializeField] private string _enumTypesFileName = "EnumTypes.cs"; @@ -30,7 +30,7 @@ public class GoogleSheetSettingsSo : ScriptableObject public string GenerateAssetBasePath => _generateAssetBasePath; public string ClassesFolderAssetPath => CombineAsset(_generateAssetBasePath, _classesFolderName); - public string SoFolderAssetPath => CombineAsset(_generateAssetBasePath, _soFolderName); + public string SoFolderAssetPath => CombineAsset(_generateAssetBasePath, _assetFolderName); public string LogsFolderAssetPath => CombineAsset(_generateAssetBasePath, _logsFolderName); public string BackupsFolderAssetPath => CombineAsset(_generateAssetBasePath, _backupsFolderName); public string EnumTypesAssetPath => CombineAsset(_generateAssetBasePath, _enumTypesFileName); @@ -74,7 +74,7 @@ private void OnValidate() { _generateAssetBasePath = NormalizeAssetPath(_generateAssetBasePath); _classesFolderName = (_classesFolderName ?? "Classes").Replace("/", "").Replace("\\", ""); - _soFolderName = (_soFolderName ?? "So").Replace("/", "").Replace("\\", ""); + _assetFolderName = (_assetFolderName ?? "So").Replace("/", "").Replace("\\", ""); _logsFolderName = (_logsFolderName ?? "Logs").Replace("/", "").Replace("\\", ""); _backupsFolderName = (_backupsFolderName ?? "BackUps").Replace("/", "").Replace("\\", ""); _enumTypesFileName = string.IsNullOrWhiteSpace(_enumTypesFileName) ? "EnumTypes.cs" : _enumTypesFileName; diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs index 89593be6d..aa9cfeb93 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs @@ -20,11 +20,11 @@ private void Awake() _blackboardComponent = GetComponent(); } - public async Task InitializeAi(CustomerData inCustomerData) + public async Task InitializeAi(CustomerDataEntry inCustomerDataEntry) { try { - await InitializeAiInternal(inCustomerData); + await InitializeAiInternal(inCustomerDataEntry); } catch (Exception e) { @@ -34,21 +34,21 @@ public async Task InitializeAi(CustomerData inCustomerData) } } - private async Task InitializeAiInternal(CustomerData inCustomerData) + private async Task InitializeAiInternal(CustomerDataEntry inCustomerDataEntry) { var customerState = RestaurantState.Instance.CustomerState; - var subtree = customerState.GetLoadedSubtree(inCustomerData.CustomerType); + var subtree = customerState.GetLoadedSubtree(inCustomerDataEntry.CustomerType); if (subtree == null) { Debug.LogError( - $"[CustomerCharacter] No preloaded subtree found for CustomerType: {inCustomerData.CustomerType}. Make sure CustomerBehaviorData is loaded."); - subtree = await customerState.GetOrLoadSubtree(inCustomerData.CustomerType); + $"[CustomerCharacter] No preloaded subtree found for CustomerType: {inCustomerDataEntry.CustomerType}. Make sure CustomerBehaviorData is loaded."); + subtree = await customerState.GetOrLoadSubtree(inCustomerDataEntry.CustomerType); } _behaviorTree.Subgraph = subtree; _blackboardComponent.InitializeWithBehaviorTree(subtree); - _blackboardComponent.SetCustomerData(inCustomerData); + _blackboardComponent.SetCustomerData(inCustomerDataEntry); // TODO : 1. Subtree - Action, Condition // TODO : 2. Blackboard _behaviorTree.StartBehavior(); diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs index d23f14605..408f35def 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs @@ -17,10 +17,10 @@ public void InitializeWithBehaviorTree(Subtree subtree) } } - public void SetCustomerData(CustomerData inCustomerData) + public void SetCustomerData(CustomerDataEntry inCustomerDataEntry) { if (_subtree == null) return; - _subtree.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.CustomerData), inCustomerData); + _subtree.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.CustomerData), inCustomerDataEntry); } public void SetCurrentInteractionTarget(GameObject targetGameObject) diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerAi.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerAi.cs index 6fc7ad64f..8672b0e08 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerAi.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerAi.cs @@ -4,6 +4,6 @@ namespace DDD { public interface ICustomerAi { - Task InitializeAi(CustomerData inCustomerData); + Task InitializeAi(CustomerDataEntry inCustomerDataEntry); } } \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs index 3f811c8a3..bec4db845 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs @@ -11,7 +11,7 @@ public enum RestaurantCustomerBlackboardKey public interface ICustomerBlackboard { - void SetCustomerData(CustomerData inCustomerData); + void SetCustomerData(CustomerDataEntry inCustomerDataEntry); void SetCurrentInteractionTarget(GameObject targetGameObject); GameObject GetCurrentInteractionTarget(); } diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/Npc/Customer/CustomerCharacter.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Npc/Customer/CustomerCharacter.cs index 6dc164fa9..24c04c2e0 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/Npc/Customer/CustomerCharacter.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Npc/Customer/CustomerCharacter.cs @@ -8,7 +8,7 @@ namespace DDD.Restaurant [RequireComponent(typeof(CustomerAiComponent))] public class CustomerCharacter : NpcCharacter, ICustomerInitializer { - private CustomerData _customerData; + private CustomerDataEntry _customerDataEntry; protected ICustomerAi _customerAi; protected override void Awake() @@ -17,13 +17,13 @@ protected override void Awake() _customerAi = GetComponent(); } - public void Initialize(CustomerData customerData) + public void Initialize(CustomerDataEntry customerDataEntry) { - _customerData = customerData; - _customerAi.InitializeAi(_customerData); + _customerDataEntry = customerDataEntry; + _customerAi.InitializeAi(_customerDataEntry); // 스킨 설정 - _spineController.SetSkin(_customerData.SpineSkinKey); + _spineController.SetSkin(_customerDataEntry.SpineSkinKey); } } } \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/EnvironmentController.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/EnvironmentController.cs index 32c5be4f2..bd52b1ee1 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/EnvironmentController.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/EnvironmentController.cs @@ -31,7 +31,7 @@ public override Task OnExitCurrentFlow(GameFlowState exitingFlowState) private void GenerateDummyEnvironmentProps() { // Make dummy placement data - foreach (EnvironmentData prop in DataManager.Instance.GetDataSo().GetDataList()) + foreach (EnvironmentDataEntry prop in DataManager.Instance.GetDataSo().GetDataList()) { for (int i = 0; i < 10; i++) { diff --git a/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/CustomerFactory.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/CustomerFactory.cs index a19fc2565..fadd08e19 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/CustomerFactory.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Run/Customer/CustomerFactory.cs @@ -14,12 +14,12 @@ public interface ICustomerFactory public interface ICustomerInitializer { - void Initialize(CustomerData customerData); + void Initialize(CustomerDataEntry customerDataEntry); } public struct CustomerSpawnArgs { - public CustomerData CustomerData; + public CustomerDataEntry CustomerDataEntry; public Vector3 Position; public Quaternion Rotation; public Transform Parent; @@ -41,7 +41,7 @@ public async Task CreateAsync(CustomerSpawnArgs args) if (newCustomer.TryGetComponent(out ICustomerInitializer initializer)) { - initializer.Initialize(args.CustomerData); + initializer.Initialize(args.CustomerDataEntry); } return newCustomer; } diff --git a/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/RunController.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/RunController.cs index 20074746e..03db4ea75 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/RunController.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/RunController.cs @@ -14,9 +14,9 @@ public class RunController : FlowController private CancellationTokenSource _cts; // Runtime dependencies used by the execution logic - private LevelDataSo _levelDataSo; - private CustomerDataSo _customerDataSo; - private CustomerPoolDataSo _customerPoolDataSo; + private LevelDataAsset _levelDataAsset; + private CustomerDataAsset _customerDataAsset; + private CustomerPoolDataAsset _customerPoolDataAsset; private ICustomerFactory _iCustomerFactory; private ISpawnPointProvider _spawnPointProvider; @@ -71,21 +71,21 @@ public override Task OnExitCurrentFlow(GameFlowState exitingFlowState) private async Task StartSpawnLoopAsync(CancellationToken token) { var currentGameLevel = GameState.Instance.LevelState.Level; - _levelDataSo ??= DataManager.Instance.GetDataSo(); - _customerDataSo ??= DataManager.Instance.GetDataSo(); - _customerPoolDataSo ??= DataManager.Instance.GetDataSo(); + _levelDataAsset ??= DataManager.Instance.GetDataSo(); + _customerDataAsset ??= DataManager.Instance.GetDataSo(); + _customerPoolDataAsset ??= DataManager.Instance.GetDataSo(); - var currentLevelData = _levelDataSo.GetDataList().FirstOrDefault(data => data.Level == currentGameLevel); + var currentLevelData = _levelDataAsset.GetDataList().FirstOrDefault(data => data.Level == currentGameLevel); Debug.Assert(currentLevelData != null, "currentLevelData is null"); if (currentLevelData == null) return; // 안전 가드 - var normalPool = _customerPoolDataSo.GetDataById(currentLevelData.CustomerPool); - var specialPool = _customerPoolDataSo.GetDataById(currentLevelData.SpecialCustomerPool); + var normalPool = _customerPoolDataAsset.GetDataById(currentLevelData.CustomerPool); + var specialPool = _customerPoolDataAsset.GetDataById(currentLevelData.SpecialCustomerPool); await RunSpawnLoopAsync(currentLevelData, normalPool, specialPool, token); } - private async Task RunSpawnLoopAsync(LevelData levelData, CustomerPoolData normalPool, CustomerPoolData specialPool, CancellationToken token) + private async Task RunSpawnLoopAsync(LevelDataEntry levelDataEntry, CustomerPoolDataEntry normalPool, CustomerPoolDataEntry specialPool, CancellationToken token) { var runData = RestaurantData.Instance? RestaurantData.Instance.RunData : null; float firstDelay = Mathf.Max(0f, runData? runData.FirstSpawnDelaySeconds : 5f); @@ -94,7 +94,7 @@ private async Task RunSpawnLoopAsync(LevelData levelData, CustomerPoolData norma await Awaitable.WaitForSecondsAsync(firstDelay, token); } - var scheduleBuilder = CreateBuilder(levelData.SpawnType); + var scheduleBuilder = CreateBuilder(levelDataEntry.SpawnType); int randomSeed = Environment.TickCount; SpawnSchedule MakeSchedule() => scheduleBuilder.Build(new SpawnScheduleBuildArgs @@ -107,7 +107,7 @@ SpawnSchedule MakeSchedule() => scheduleBuilder.Build(new SpawnScheduleBuildArgs }); _spawnSchedule = MakeSchedule(); - float wait = Mathf.Max(0.1f, levelData.CustomerRespawnTime); + float wait = Mathf.Max(0.1f, levelDataEntry.CustomerRespawnTime); while (token.IsCancellationRequested == false) { @@ -118,13 +118,13 @@ SpawnSchedule MakeSchedule() => scheduleBuilder.Build(new SpawnScheduleBuildArgs if (_spawnSchedule.TryDequeue(out var customerId) == false) break; - if (_customerDataSo.TryGetDataById(customerId, out var customerData)) + if (_customerDataAsset.TryGetDataById(customerId, out var customerData)) { var rotation = Quaternion.identity; await _iCustomerFactory.CreateAsync(new CustomerSpawnArgs { - CustomerData = customerData, + CustomerDataEntry = customerData, Position = _restaurantRunStateSo.SpawnPoint, Rotation = rotation, Parent = null diff --git a/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Tasks/CreateRestaurantEnvironment.cs b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Tasks/CreateRestaurantEnvironment.cs index d63885208..a0812a08a 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Tasks/CreateRestaurantEnvironment.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Controller/Conrtollers/Tasks/CreateRestaurantEnvironment.cs @@ -13,7 +13,7 @@ public override Task ReadyFlowTask() public override Task RunFlowTask() { - // TODO : Base prefab from EnvironmentDataSo + // TODO : Base prefab from EnvironmentDataAsset var props = RestaurantState.Instance.EnvironmentState.Props; foreach (var prop in props) diff --git a/Assets/_DDD/_Scripts/Restaurant/Environment/RestaurantEnvironment.cs b/Assets/_DDD/_Scripts/Restaurant/Environment/RestaurantEnvironment.cs index a15895274..6b1ae5890 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Environment/RestaurantEnvironment.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Environment/RestaurantEnvironment.cs @@ -16,47 +16,47 @@ public class RestaurantEnvironment : MonoBehaviour public void Initialize(RestaurantPropLocation location) { - EnvironmentData environmentData = DataManager.Instance.GetDataSo().GetDataById(location.Id); + EnvironmentDataEntry environmentDataEntry = DataManager.Instance.GetDataSo().GetDataById(location.Id); _collider = GetComponent(); _rootObject = transform.Find(CommonConstants.RootObject); _visualLook = _rootObject.Find(CommonConstants.VisualLook); - if (environmentData == null) + if (environmentDataEntry == null) { - Debug.Assert(false, "environmentData is null"); + Debug.Assert(false, "environmentDataEntry is null"); } - if (environmentData.RendererType == RendererType.Sprite) + if (environmentDataEntry.RendererType == RendererType.Sprite) { var spriteRenderer = _visualLook.AddComponent(); _renderer = spriteRenderer; - spriteRenderer.sprite = DataManager.Instance.GetSprite(environmentData.SpriteKey); + spriteRenderer.sprite = DataManager.Instance.GetSprite(environmentDataEntry.SpriteKey); spriteRenderer.sortingOrder = 5; //Material material = await AssetManager.LoadAssetAsync(DataConstants.BasePropSpriteMaterial); //spriteRenderer.material = new Material(material); } - else if (environmentData.RendererType == RendererType.Spine) + else if (environmentDataEntry.RendererType == RendererType.Spine) { var skeletonAnimation = _visualLook.AddComponent(); - //var skeletonDataAsset = await AssetManager.LoadAssetAsync(environmentData.SkeletonDataName); + //var skeletonDataAsset = await AssetManager.LoadAssetAsync(environmentDataEntry.SkeletonDataName); //skeletonAnimation.skeletonDataAsset = skeletonDataAsset; var spineController = transform.AddComponent(); - spineController.SetSkin(environmentData.SkinName); - spineController.PlayAnimation(environmentData.DefaultAnimationName, true); + spineController.SetSkin(environmentDataEntry.SkinName); + spineController.PlayAnimation(environmentDataEntry.DefaultAnimationName, true); _renderer = _visualLook.GetComponent(); } - _collider.isTrigger = environmentData.IsTrigger == 1; + _collider.isTrigger = environmentDataEntry.IsTrigger == 1; transform.position = new Vector3(location.Position.x, 0f, location.Position.y); - transform.localScale = Vector3.one * environmentData.Size; + transform.localScale = Vector3.one * environmentDataEntry.Size; // Interaction initialize - if (environmentData.InteractionType != InteractionType.None) + if (environmentDataEntry.InteractionType != InteractionType.None) { var interactionComponent = transform.AddComponent(); - interactionComponent.InitializeInteraction(environmentData.InteractionType); + interactionComponent.InitializeInteraction(environmentDataEntry.InteractionType); } } } diff --git a/Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantManagementState.cs b/Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantManagementState.cs index 1c5befdf7..189ebb88d 100644 --- a/Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantManagementState.cs +++ b/Assets/_DDD/_Scripts/Restaurant/State/FlowStates/RestaurantManagementState.cs @@ -79,7 +79,7 @@ public bool TryAddTodayMenu(ItemModel model) if (model.ItemType != ItemType.Recipe) return false; - if (DataManager.Instance.GetDataSo().TryGetDataById(recipeId, out RecipeData recipeData) == false) return false; + if (DataManager.Instance.GetDataSo().TryGetDataById(recipeId, out RecipeDataEntry recipeData) == false) return false; bool added = false; @@ -87,7 +87,7 @@ public bool TryAddTodayMenu(ItemModel model) { if (_todayFoodRecipeIds.Count >= GetRestaurantManagementData().MaxFoodCount || _todayFoodRecipeIds.ContainsKey(recipeId)) return false; - var foodData = DataManager.Instance.GetDataSo().GetDataById(recipeData.RecipeResult); + var foodData = DataManager.Instance.GetDataSo().GetDataById(recipeData.RecipeResult); var craftableCount = foodData.GetCraftableCount(); foodData.ConsumeAllCraftableIngredients(); @@ -98,7 +98,7 @@ public bool TryAddTodayMenu(ItemModel model) { if (_todayDrinkRecipeIds.Count >= GetRestaurantManagementData().MaxDrinkCount || _todayDrinkRecipeIds.ContainsKey(recipeId)) return false; - var drinkData = DataManager.Instance.GetDataSo().GetDataById(recipeData.RecipeResult); + var drinkData = DataManager.Instance.GetDataSo().GetDataById(recipeData.RecipeResult); var craftableCount = drinkData.GetCraftableCount(); drinkData.ConsumeAllCraftableIngredients(); @@ -128,7 +128,7 @@ public bool TryRemoveTodayMenu(ItemModel model) string recipeId = model.Id; var removedEvt = RestaurantEvents.TodayMenuRemovedEvent; - if (DataManager.Instance.GetDataSo().TryGetDataById(recipeId, out RecipeData recipeData) == false) return false; + if (DataManager.Instance.GetDataSo().TryGetDataById(recipeId, out RecipeDataEntry recipeData) == false) return false; bool removed = false; int refundCount = 0; @@ -142,7 +142,7 @@ public bool TryRemoveTodayMenu(ItemModel model) if (removed) { - var foodData = DataManager.Instance.GetDataSo().GetDataById(recipeData.RecipeResult); + var foodData = DataManager.Instance.GetDataSo().GetDataById(recipeData.RecipeResult); foodData.RefundIngredients(refundCount); } } @@ -156,7 +156,7 @@ public bool TryRemoveTodayMenu(ItemModel model) if (removed) { - var drinkData = DataManager.Instance.GetDataSo().GetDataById(recipeData.RecipeResult); + var drinkData = DataManager.Instance.GetDataSo().GetDataById(recipeData.RecipeResult); drinkData.RefundIngredients(refundCount); } } @@ -183,7 +183,7 @@ public bool TryAddTodayCookware(ItemModel model) { var cookwareId = model.Id; - if (model.HasItem == false || DataManager.Instance.GetDataSo().ContainsData(cookwareId) == false) return false; + if (model.HasItem == false || DataManager.Instance.GetDataSo().ContainsData(cookwareId) == false) return false; if (_cookwareToRecipeIds.Count >= GetRestaurantManagementData().MaxCookwareCount || _cookwareToRecipeIds.ContainsKey(cookwareId)) return false; @@ -212,7 +212,7 @@ public bool TryRemoveTodayCookware(ItemModel model) { var cookwareId = model.Id; - if (DataManager.Instance.GetDataSo().ContainsData(cookwareId) == false) return false; + if (DataManager.Instance.GetDataSo().ContainsData(cookwareId) == false) return false; if (_cookwareToRecipeIds.Remove(cookwareId) == false) return false; @@ -228,14 +228,14 @@ public bool TryRemoveTodayCookware(ItemModel model) private string GetRequiredCookwareKey(string recipeId) { - if (DataManager.Instance.GetDataSo().TryGetDataById(recipeId, out var recipeData) == false) return null; + if (DataManager.Instance.GetDataSo().TryGetDataById(recipeId, out var recipeData) == false) return null; var resultKey = recipeData.RecipeResult; return recipeData.RecipeType switch { - RecipeType.FoodRecipe => DataManager.Instance.GetDataSo().GetDataById(resultKey).CookwareKey, - RecipeType.DrinkRecipe => DataManager.Instance.GetDataSo().GetDataById(resultKey).CookwareKey, + RecipeType.FoodRecipe => DataManager.Instance.GetDataSo().GetDataById(resultKey).CookwareKey, + RecipeType.DrinkRecipe => DataManager.Instance.GetDataSo().GetDataById(resultKey).CookwareKey, _ => null }; } diff --git a/Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/CookViewModel.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/CookViewModel.cs index ae41c6dd6..d4b6e08ee 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/CookViewModel.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Ui/CookUi/CookViewModel.cs @@ -13,12 +13,12 @@ public class SelectedCookSnapshot public Sprite CookIcon { get; } public string CookPrice { get; } public IReadOnlyList IngredientEntries { get; } - public IReadOnlyList Tastes { get; } + public IReadOnlyList Tastes { get; } public Material TasteMaterial { get; } public SelectedCookSnapshot(LocalizedString name, LocalizedString description, Sprite cookIcon, string cookPrice, IReadOnlyList ingredientEntries, - IReadOnlyList tastes, Material tasteMaterial) + IReadOnlyList tastes, Material tasteMaterial) { Name = name; Description = description; @@ -35,7 +35,7 @@ public SelectedCookSnapshot(LocalizedString name, cookIcon: null, cookPrice: null, ingredientEntries: null, - tastes: System.Array.Empty(), + tastes: System.Array.Empty(), tasteMaterial: null); } @@ -89,7 +89,7 @@ public void SetCookwareType(CookwareType cookwareType) if (_currentCookwareType == cookwareType) return; _currentCookwareType = cookwareType; - var cookwareDatas = DataManager.Instance.GetDataSo().GetDataList(); + var cookwareDatas = DataManager.Instance.GetDataSo().GetDataList(); var cookwareKey = cookwareDatas.Find(data => data.CookwareType == cookwareType).Id; CookwareIcon = DataManager.Instance.GetIcon(cookwareKey); CookwareName = LocalizationManager.Instance.GetLocalizedName(cookwareKey); @@ -119,7 +119,7 @@ public void CreateAddedCookItemSlot(Transform parent) var cookwareId = cookwareToRecipe.Key; var recipeIds = cookwareToRecipe.Value; - if (DataManager.Instance.GetDataSo().TryGetDataById(cookwareId, out var cookwareData) && + if (DataManager.Instance.GetDataSo().TryGetDataById(cookwareId, out var cookwareData) && cookwareData.CookwareType == _currentCookwareType) { foreach (var recipeId in recipeIds) @@ -174,7 +174,7 @@ public void CreateIngredientInventoryItemSlot(Transform parent) // } // else // { - // if (DataManager.Instance.GetDataSo().TryGetDataById(model.Id, out var cookwareData)) + // if (DataManager.Instance.GetDataSo().TryGetDataById(model.Id, out var cookwareData)) // { // interactor.Initialize(TodayMenuEventType.Add, new TodayCookwareInteractorStrategy()); // } diff --git a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs index ac018625f..6275ee513 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/CraftingHelper.cs @@ -29,15 +29,15 @@ public static List ExtractIngredients(params string[] values) return list; } - public static List ResolveTasteDatas(string[] tasteKeys, TasteDataSo tasteSo) + public static List ResolveTasteDatas(string[] tasteKeys, TasteDataAsset tasteAsset) { - var result = new List(); + var result = new List(); foreach (var key in tasteKeys) { if (string.IsNullOrWhiteSpace(key)) continue; - if (tasteSo.TryGetDataById(key, out var taste)) + if (tasteAsset.TryGetDataById(key, out var taste)) { result.Add(taste); } diff --git a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs index 95ec90f6c..da00d7b3a 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/DrinkDataExtensions.cs @@ -4,34 +4,34 @@ namespace DDD { public static class DrinkDataExtensions { - public static List GetIngredients(this DrinkData data) + public static List GetIngredients(this DrinkDataEntry dataEntry) => CraftingHelper.ExtractIngredients( - data.IngredientKey1, data.IngredientAmount1, - data.IngredientKey2, data.IngredientAmount2, - data.IngredientKey3, data.IngredientAmount3, - data.IngredientKey4, data.IngredientAmount4 + dataEntry.IngredientKey1, dataEntry.IngredientAmount1, + dataEntry.IngredientKey2, dataEntry.IngredientAmount2, + dataEntry.IngredientKey3, dataEntry.IngredientAmount3, + dataEntry.IngredientKey4, dataEntry.IngredientAmount4 ); - public static List GetTasteDatas(this DrinkData data) + public static List GetTasteDatas(this DrinkDataEntry dataEntry) => CraftingHelper.ResolveTasteDatas( - new[] { data.TasteKey1, data.TasteKey2, data.TasteKey3, data.TasteKey4, data.TasteKey5, data.TasteKey6 }, - DataManager.Instance.GetDataSo() + new[] { dataEntry.TasteKey1, dataEntry.TasteKey2, dataEntry.TasteKey3, dataEntry.TasteKey4, dataEntry.TasteKey5, dataEntry.TasteKey6 }, + DataManager.Instance.GetDataSo() ); - public static int GetCraftableCount(this DrinkData data) - => CraftingHelper.GetCraftableCount(data.GetIngredients()); + public static int GetCraftableCount(this DrinkDataEntry dataEntry) + => CraftingHelper.GetCraftableCount(dataEntry.GetIngredients()); - public static bool TryConsumeIngredients(this DrinkData data, int count = 1) - => CraftingHelper.TryConsumeIngredients(data.GetIngredients(), count); + public static bool TryConsumeIngredients(this DrinkDataEntry dataEntry, int count = 1) + => CraftingHelper.TryConsumeIngredients(dataEntry.GetIngredients(), count); - public static int ConsumeAllCraftableIngredients(this DrinkData data) + public static int ConsumeAllCraftableIngredients(this DrinkDataEntry dataEntry) { - var ingredients = data.GetIngredients(); + var ingredients = dataEntry.GetIngredients(); int count = CraftingHelper.GetCraftableCount(ingredients); return CraftingHelper.ConsumeAll(ingredients, count); } - public static void RefundIngredients(this DrinkData data, int count = 1) - => CraftingHelper.RefundIngredients(data.GetIngredients(), count); + public static void RefundIngredients(this DrinkDataEntry dataEntry, int count = 1) + => CraftingHelper.RefundIngredients(dataEntry.GetIngredients(), count); } } \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs index ddbf6f0e0..491d6923c 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ExtensionsUi/FoodDataExtensions.cs @@ -4,33 +4,33 @@ namespace DDD { public static class FoodDataExtensions { - public static List GetIngredients(this FoodData data) => CraftingHelper.ExtractIngredients( - data.IngredientKey1, data.IngredientAmount1, - data.IngredientKey2, data.IngredientAmount2, - data.IngredientKey3, data.IngredientAmount3, - data.IngredientKey4, data.IngredientAmount4 + public static List GetIngredients(this FoodDataEntry dataEntry) => CraftingHelper.ExtractIngredients( + dataEntry.IngredientKey1, dataEntry.IngredientAmount1, + dataEntry.IngredientKey2, dataEntry.IngredientAmount2, + dataEntry.IngredientKey3, dataEntry.IngredientAmount3, + dataEntry.IngredientKey4, dataEntry.IngredientAmount4 ); - public static List GetTasteDatas(this FoodData data) + public static List GetTasteDatas(this FoodDataEntry dataEntry) => CraftingHelper.ResolveTasteDatas( - new[] { data.TasteKey1, data.TasteKey2, data.TasteKey3, data.TasteKey4, data.TasteKey5, data.TasteKey6 }, - DataManager.Instance.GetDataSo() + new[] { dataEntry.TasteKey1, dataEntry.TasteKey2, dataEntry.TasteKey3, dataEntry.TasteKey4, dataEntry.TasteKey5, dataEntry.TasteKey6 }, + DataManager.Instance.GetDataSo() ); - public static int GetCraftableCount(this FoodData data) - => CraftingHelper.GetCraftableCount(data.GetIngredients()); + public static int GetCraftableCount(this FoodDataEntry dataEntry) + => CraftingHelper.GetCraftableCount(dataEntry.GetIngredients()); - public static bool TryConsumeIngredients(this FoodData data, int count = 1) - => CraftingHelper.TryConsumeIngredients(data.GetIngredients(), count); + public static bool TryConsumeIngredients(this FoodDataEntry dataEntry, int count = 1) + => CraftingHelper.TryConsumeIngredients(dataEntry.GetIngredients(), count); - public static int ConsumeAllCraftableIngredients(this FoodData data) + public static int ConsumeAllCraftableIngredients(this FoodDataEntry dataEntry) { - var ingredients = data.GetIngredients(); + var ingredients = dataEntry.GetIngredients(); int count = CraftingHelper.GetCraftableCount(ingredients); return CraftingHelper.ConsumeAll(ingredients, count); } - public static void RefundIngredients(this FoodData data, int count = 1) - => CraftingHelper.RefundIngredients(data.GetIngredients(), count); + public static void RefundIngredients(this FoodDataEntry dataEntry, int count = 1) + => CraftingHelper.RefundIngredients(dataEntry.GetIngredients(), count); } } \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemDetailView.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemDetailView.cs index 8c4cf708e..4320bfa2a 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemDetailView.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemDetailView.cs @@ -16,7 +16,7 @@ public sealed class ItemDetailSnapshot public Sprite CookwareSprite { get; } public LocalizedString Name { get; } public LocalizedString Description { get; } - public IReadOnlyList Tastes { get; } + public IReadOnlyList Tastes { get; } public Material TasteMaterial { get; } public ItemDetailSnapshot( @@ -26,7 +26,7 @@ public ItemDetailSnapshot( Sprite cookwareSprite, LocalizedString name, LocalizedString description, - IReadOnlyList tastes, + IReadOnlyList tastes, Material tasteMaterial) { BackgroundSprite = backgroundSprite; @@ -46,7 +46,7 @@ public ItemDetailSnapshot( cookwareSprite: null, name: null, description: null, - tastes: System.Array.Empty(), + tastes: System.Array.Empty(), tasteMaterial: null); } diff --git a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemModel.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemModel.cs index 4db0f3964..90f2892a7 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemModel.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemModel.cs @@ -27,18 +27,18 @@ public ItemModel(string id, ItemType itemType) public bool HasItem => Count > 0; public string DisplayName => LocalizationManager.Instance.GetName(Id); - public RecipeType RecipeType => ItemType == ItemType.Recipe ? DataManager.Instance.GetDataSo().GetDataById(Id).RecipeType : RecipeType.None; + public RecipeType RecipeType => ItemType == ItemType.Recipe ? DataManager.Instance.GetDataSo().GetDataById(Id).RecipeType : RecipeType.None; public Sprite ItemSprite { get { if (ItemType == ItemType.Recipe) { - DataManager.Instance.GetDataSo().TryGetDataById(Id, out var recipe); + DataManager.Instance.GetDataSo().TryGetDataById(Id, out var recipe); return DataManager.Instance.GetSprite(recipe.RecipeResult); } - if (DataManager.Instance.GetDataSo().ContainsData(Id)) + if (DataManager.Instance.GetDataSo().ContainsData(Id)) { return DataManager.Instance.GetIcon(Id); } @@ -52,7 +52,7 @@ public string GetRecipeResultKey { if (ItemType != ItemType.Recipe) return null; - return DataManager.Instance.GetDataSo().GetDataById(Id).RecipeResult; + return DataManager.Instance.GetDataSo().GetDataById(Id).RecipeResult; } } @@ -65,8 +65,8 @@ public string GetCookwareKey return RecipeType switch { - RecipeType.FoodRecipe => DataManager.Instance.GetDataSo().GetDataById(resultKey).CookwareKey, - RecipeType.DrinkRecipe => DataManager.Instance.GetDataSo().GetDataById(resultKey).CookwareKey, + RecipeType.FoodRecipe => DataManager.Instance.GetDataSo().GetDataById(resultKey).CookwareKey, + RecipeType.DrinkRecipe => DataManager.Instance.GetDataSo().GetDataById(resultKey).CookwareKey, _ => null }; } @@ -81,8 +81,8 @@ public int GetPrice return RecipeType switch { - RecipeType.FoodRecipe => DataManager.Instance.GetDataSo().GetDataById(resultKey).Price, - RecipeType.DrinkRecipe => DataManager.Instance.GetDataSo().GetDataById(resultKey).Price, + RecipeType.FoodRecipe => DataManager.Instance.GetDataSo().GetDataById(resultKey).Price, + RecipeType.DrinkRecipe => DataManager.Instance.GetDataSo().GetDataById(resultKey).Price, _ => -1 }; } @@ -98,11 +98,11 @@ public Sprite GetCookwareIcon string cookwareKey = null; if (RecipeType == RecipeType.FoodRecipe) { - cookwareKey = DataManager.Instance.GetDataSo().GetDataById(resultKey).CookwareKey; + cookwareKey = DataManager.Instance.GetDataSo().GetDataById(resultKey).CookwareKey; } else if (RecipeType == RecipeType.DrinkRecipe) { - cookwareKey = DataManager.Instance.GetDataSo().GetDataById(resultKey).CookwareKey; + cookwareKey = DataManager.Instance.GetDataSo().GetDataById(resultKey).CookwareKey; } return DataManager.Instance.GetIcon(cookwareKey); } @@ -117,25 +117,25 @@ public List GetIngredients switch (RecipeType) { case RecipeType.FoodRecipe: - return DataManager.Instance.GetDataSo().GetDataById(GetRecipeResultKey).GetIngredients(); + return DataManager.Instance.GetDataSo().GetDataById(GetRecipeResultKey).GetIngredients(); case RecipeType.DrinkRecipe: - return DataManager.Instance.GetDataSo().GetDataById(GetRecipeResultKey).GetIngredients(); + return DataManager.Instance.GetDataSo().GetDataById(GetRecipeResultKey).GetIngredients(); } return null; } } - public List GetTasteDatas + public List GetTasteDatas { get { switch (RecipeType) { case RecipeType.FoodRecipe: - return DataManager.Instance.GetDataSo().GetDataById(GetRecipeResultKey).GetTasteDatas(); + return DataManager.Instance.GetDataSo().GetDataById(GetRecipeResultKey).GetTasteDatas(); case RecipeType.DrinkRecipe: - return DataManager.Instance.GetDataSo().GetDataById(GetRecipeResultKey).GetTasteDatas(); + return DataManager.Instance.GetDataSo().GetDataById(GetRecipeResultKey).GetTasteDatas(); } return null; @@ -153,12 +153,12 @@ public void UpdateCount() if (RecipeType == RecipeType.FoodRecipe) { - var foodData = DataManager.Instance.GetDataSo().GetDataById(resultKey); + var foodData = DataManager.Instance.GetDataSo().GetDataById(resultKey); craftableCount = foodData.GetCraftableCount(); } else if (RecipeType == RecipeType.DrinkRecipe) { - var drinkData = DataManager.Instance.GetDataSo().GetDataById(resultKey); + var drinkData = DataManager.Instance.GetDataSo().GetDataById(resultKey); craftableCount = drinkData.GetCraftableCount(); } diff --git a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs index 621d8c10a..4b9be19ca 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/ItemUi/ItemViewModelFactory.cs @@ -33,16 +33,16 @@ public static List CreateRestaurantManagementInventoryItem() private static int CalculateCraftableCount(string recipeId) { - if (!DataManager.Instance.GetDataSo().TryGetDataById(recipeId, out var recipe)) return 0; + if (!DataManager.Instance.GetDataSo().TryGetDataById(recipeId, out var recipe)) return 0; string recipeResult = recipe.RecipeResult; return recipe.RecipeType switch { - RecipeType.FoodRecipe => DataManager.Instance.GetDataSo().TryGetDataById(recipeResult, out var food) + RecipeType.FoodRecipe => DataManager.Instance.GetDataSo().TryGetDataById(recipeResult, out var food) ? food.GetCraftableCount() : 0, - RecipeType.DrinkRecipe => DataManager.Instance.GetDataSo().TryGetDataById(recipeResult, out var drink) + RecipeType.DrinkRecipe => DataManager.Instance.GetDataSo().TryGetDataById(recipeResult, out var drink) ? drink.GetCraftableCount() : 0, _ => 0 @@ -51,7 +51,7 @@ private static int CalculateCraftableCount(string recipeId) public static ItemModel CreateByItemId(string itemId) { - var itemSo = DataManager.Instance.GetDataSo(); + var itemSo = DataManager.Instance.GetDataSo(); if (!itemSo.TryGetDataById(itemId, out var itemData)) return null; if (InventoryManager.Instance.GetItemDataByIdOrNull(itemId) == null) return null; diff --git a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/RestaurantManagementViewModel.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/RestaurantManagementViewModel.cs index 4675bc003..3ada7d5d4 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/RestaurantManagementViewModel.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/RestaurantManagementViewModel.cs @@ -252,7 +252,7 @@ public void CreateInventoryItemSlot(Transform parent) } else { - if (DataManager.Instance.GetDataSo().TryGetDataById(model.Id, out var cookwareData)) + if (DataManager.Instance.GetDataSo().TryGetDataById(model.Id, out var cookwareData)) { interactor.Initialize(TodayMenuEventType.Add, new TodayCookwareInteractorStrategy()); } @@ -334,18 +334,18 @@ private bool MatchesCategory(ItemModel model, InventoryCategoryType category) case InventoryCategoryType.Food: if (model.ItemType != ItemType.Recipe) return false; - return DataManager.Instance.GetDataSo() + return DataManager.Instance.GetDataSo() .TryGetDataById(model.Id, out var foodRecipe) && foodRecipe.RecipeType == RecipeType.FoodRecipe; case InventoryCategoryType.Drink: if (model.ItemType != ItemType.Recipe) return false; - return DataManager.Instance.GetDataSo() + return DataManager.Instance.GetDataSo() .TryGetDataById(model.Id, out var drinkRecipe) && drinkRecipe.RecipeType == RecipeType.DrinkRecipe; case InventoryCategoryType.Ingredient: return model.ItemType == ItemType.Ingredient; case InventoryCategoryType.Cookware: - return DataManager.Instance.GetDataSo() + return DataManager.Instance.GetDataSo() .TryGetDataById(model.Id, out var cookwareData); case InventoryCategoryType.Special: return false; @@ -431,7 +431,7 @@ private void RecomputeItemDetail() tasteMaterial: tasteMat); } - public IReadOnlyList GetTastes() => SelectedItem?.GetTasteDatas; + public IReadOnlyList GetTastes() => SelectedItem?.GetTasteDatas; public Material GetTasteMaterial() { diff --git a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TasteHashTagSlotUi.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TasteHashTagSlotUi.cs index 8d03b22d8..d17b48a71 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TasteHashTagSlotUi.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Ui/RestaurantManagementUi/TasteHashTagSlotUi.cs @@ -22,7 +22,7 @@ private void OnDestroy() } } - public void Initialize(Material material, TasteData tasteData) + public void Initialize(Material material, TasteDataEntry tasteDataEntry) { if (_materialInstance != null) { @@ -31,6 +31,6 @@ public void Initialize(Material material, TasteData tasteData) _materialInstance = new Material(material); _backgroundImage.material = _materialInstance; - _localizeStringEvent.StringReference = LocalizationManager.Instance.GetLocalizedName(tasteData.Id); + _localizeStringEvent.StringReference = LocalizationManager.Instance.GetLocalizedName(tasteDataEntry.Id); } } \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/Utilities/Constants.cs b/Assets/_DDD/_Scripts/Utilities/Constants.cs index 7f438dcd7..8bc7ccd7a 100644 --- a/Assets/_DDD/_Scripts/Utilities/Constants.cs +++ b/Assets/_DDD/_Scripts/Utilities/Constants.cs @@ -14,16 +14,16 @@ public static class DataConstants { public const string GameStateSo = "GameStateSo"; public const string InventoryTestDataSo = "InventoryTestDataSo"; - public const string ItemDataSo = "ItemDataSo"; - public const string RecipeDataSo = "RecipeDataSo"; - public const string FoodDataSo = "FoodDataSo"; - public const string DrinkDataSo = "DrinkDataSo"; - public const string IngredientDataSo = "IngredientDataSo"; - public const string CookwareDataSo = "CookwareDataSo"; - public const string TasteDataSo = "TasteDataSo"; - public const string EnvironmentDataSo = "EnvironmentDataSo"; - public const string LevelDataSo = "LevelDataSo"; - public const string CustomerPoolDataSo = "CustomerPoolDataSo"; + public const string ItemDataSo = "ItemDataAsset"; + public const string RecipeDataSo = "RecipeDataAsset"; + public const string FoodDataSo = "FoodDataAsset"; + public const string DrinkDataSo = "DrinkDataAsset"; + public const string IngredientDataSo = "IngredientDataAsset"; + public const string CookwareDataSo = "CookwareDataAsset"; + public const string TasteDataSo = "TasteDataAsset"; + public const string EnvironmentDataSo = "EnvironmentDataAsset"; + public const string LevelDataSo = "LevelDataAsset"; + public const string CustomerPoolDataSo = "CustomerPoolDataAsset"; public const string UiInputBindingSo = "UiInputBindingSo"; public const string RestaurantDataSo = "RestaurantDataSo"; From 60d0c80ad3cff2317fb65b325773ade2feb49864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=82=B0?= Date: Thu, 28 Aug 2025 12:55:21 +0900 Subject: [PATCH 15/17] =?UTF-8?q?Blackboard=20Customer=20data=20Id?= =?UTF-8?q?=EB=A7=8C=20=EB=B0=9B=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AI/Customer/Subtree/CustomerDefault.asset | 4 +- .../Actions/WaitForPlayerInteraction.cs | 38 ++++++++++--------- .../AI/Customer/CustomerAiComponent.cs | 2 +- .../Customer/CustomerBlackboardComponent.cs | 4 +- .../Interfaces/ICustomerBlackboard.cs | 4 +- .../Restaurant/Ui/PropUiDisplayComponent.cs | 9 +++++ .../Ui/PropUiDisplayComponent.cs.meta | 3 ++ 7 files changed, 40 insertions(+), 24 deletions(-) create mode 100644 Assets/_DDD/_Scripts/Restaurant/Ui/PropUiDisplayComponent.cs create mode 100644 Assets/_DDD/_Scripts/Restaurant/Ui/PropUiDisplayComponent.cs.meta diff --git a/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset b/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset index b4c023f9c..94df842de 100644 --- a/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset +++ b/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:03d01d4c1d7746e711e9ef21cafbfa8e0ffd13f6f6ad4fbacea3f7464426ba16 -size 67915 +oid sha256:11145b67edd52b3f90fcfa0bfa2cde8d4547c8a8a6edc28c2f9922a5e7211ebb +size 68048 diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs index 46579e1ce..30feb0826 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/Actions/WaitForPlayerInteraction.cs @@ -14,32 +14,36 @@ public class WaitForPlayerInteraction : Action public override void OnStart() { - GameObject interactionTarget = null; - if(!gameObject.TryGetComponent(out var sharedBlackboard)) return; - interactionTarget = sharedBlackboard.GetBlackboardGameObject(nameof(RestaurantCustomerBlackboardKey.CurrentInteractionTarget)); - - if (interactionTarget == null) - { - Debug.LogError($"[{GetType().Name}] interactionTarget을 찾을 수 없습니다: {gameObject.name}"); - return; - } - - if (!interactionTarget.TryGetComponent(out var interactionComponent)) - Debug.LogError($"[{interactionTarget.name}] {nameof(interactionComponent)}를 찾을 수 없습니다: {gameObject.name}"); + GameObject interactionTarget = null; + if (!gameObject.TryGetComponent(out var sharedBlackboard)) return; + interactionTarget = + sharedBlackboard.GetBlackboardGameObject( + nameof(RestaurantCustomerBlackboardKey.CurrentInteractionTarget)); + + if (interactionTarget == null) + { + Debug.LogError($"[{GetType().Name}] interactionTarget을 찾을 수 없습니다: {gameObject.name}"); + return; + } + + if (!interactionTarget.TryGetComponent(out var interactionComponent)) + Debug.LogError( + $"[{interactionTarget.name}] {nameof(interactionComponent)}를 찾을 수 없습니다: {gameObject.name}"); if (interactionComponent is not IInteractionSubsystemOwner subsystemOwner) { - Debug.LogError($"[{GetType().Name}]에서 {nameof(IInteractionSubsystemOwner)}를 찾을 수 없습니다: {gameObject.name}"); + Debug.LogError( + $"[{GetType().Name}]에서 {nameof(IInteractionSubsystemOwner)}를 찾을 수 없습니다: {gameObject.name}"); return; } if (!subsystemOwner.TryGetSubsystemObject(out _interactionSubsystem)) { - Debug.LogError($"[{GetType().Name}]에서 {nameof(IInteractionSubsystemObject)}를 찾을 수 없습니다: {gameObject.name}"); + Debug.LogError( + $"[{GetType().Name}]에서 {nameof(IInteractionSubsystemObject)}를 찾을 수 없습니다: {gameObject.name}"); return; } - - _interactionSubsystem.SetInteractionSubsystemType(_targetOrderType); + _isGetInteractionSubsystem = true; } @@ -51,7 +55,7 @@ public override TaskStatus OnUpdate() if (result == TaskStatus.Success) Debug.Log($"[{GetType().Name}] Success"); return result; } - + private TaskStatus CheckToSubsystemStatus() { return _interactionSubsystem.GetInteractionSubsystemType() == _targetOrderType diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs index fa61ee462..a0ba7d4ea 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerAiComponent.cs @@ -48,7 +48,7 @@ private async Task InitializeAiInternal(CustomerData inCustomerData) _behaviorTree.Subgraph = subtree; _blackboardComponent.InitializeWithBehaviorTree(_behaviorTree); - _blackboardComponent.SetCustomerData(inCustomerData); + _blackboardComponent.SetCustomerData(inCustomerData.Id); // TODO : 1. Subtree - Action, Condition // TODO : 2. Blackboard _behaviorTree.StartBehavior(); diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs index f56cd6b2b..41aee0f18 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/AI/Customer/CustomerBlackboardComponent.cs @@ -17,10 +17,10 @@ public void InitializeWithBehaviorTree(BehaviorTree inBehaviorTree) } } - public void SetCustomerData(CustomerData inCustomerData) + public void SetCustomerData(string inCustomerDataId) { if (!_behaviorTree) return; - _behaviorTree.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.CustomerData), inCustomerData); + _behaviorTree.SetVariableValue(nameof(RestaurantCustomerBlackboardKey.CustomerDataId), inCustomerDataId); } public void SetBlackboardGameObject(string key, GameObject inGameObject) diff --git a/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs index 31c03ad24..8754ec832 100644 --- a/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs +++ b/Assets/_DDD/_Scripts/Restaurant/Character/Interfaces/ICustomerBlackboard.cs @@ -5,12 +5,12 @@ namespace DDD public enum RestaurantCustomerBlackboardKey { SelfGameObject, - CustomerData, + CustomerDataId, CurrentInteractionTarget, } public interface ICustomerBlackboard { - void SetCustomerData(CustomerData inCustomerData); + void SetCustomerData(string inCustomerDataId); } } \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/Restaurant/Ui/PropUiDisplayComponent.cs b/Assets/_DDD/_Scripts/Restaurant/Ui/PropUiDisplayComponent.cs new file mode 100644 index 000000000..817d2635c --- /dev/null +++ b/Assets/_DDD/_Scripts/Restaurant/Ui/PropUiDisplayComponent.cs @@ -0,0 +1,9 @@ +using UnityEngine; + +namespace DDD.Restaurant +{ + public class PropUiDisplayComponent : MonoBehaviour + { + + } +} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/Restaurant/Ui/PropUiDisplayComponent.cs.meta b/Assets/_DDD/_Scripts/Restaurant/Ui/PropUiDisplayComponent.cs.meta new file mode 100644 index 000000000..2b5b6d8ec --- /dev/null +++ b/Assets/_DDD/_Scripts/Restaurant/Ui/PropUiDisplayComponent.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 37e749c7ec5440d587f83c715f29ca8f +timeCreated: 1756353198 \ No newline at end of file From 45c6f03cc9941fdfd824938d29f4ada4c151c03a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=82=B0?= Date: Thu, 28 Aug 2025 12:56:09 +0900 Subject: [PATCH 16/17] =?UTF-8?q?BehaviorTree=EC=97=90=20=EA=B3=B5?= =?UTF-8?q?=EC=9C=A0=EB=B3=80=EC=88=98=EB=A5=BC=20CustomerData=EB=A5=BC=20?= =?UTF-8?q?CustomerDataId=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_Addressables/AI/Customer/Subtree/CustomerDefault.asset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset b/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset index 94df842de..a793b242d 100644 --- a/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset +++ b/Assets/_DDD/_Addressables/AI/Customer/Subtree/CustomerDefault.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:11145b67edd52b3f90fcfa0bfa2cde8d4547c8a8a6edc28c2f9922a5e7211ebb +oid sha256:277f8b3b25cfe078e4838cab1222b85e5dae0bc036cb39e5f84b6e3b3fce1cd0 size 68048 From 4a4c46f5a16b9af492aed2a3d522f87f0baf52e7 Mon Sep 17 00:00:00 2001 From: NTG Date: Thu, 28 Aug 2025 13:01:44 +0900 Subject: [PATCH 17/17] =?UTF-8?q?=EA=B5=AC=EA=B8=80=20=EC=8B=9C=ED=8A=B8?= =?UTF-8?q?=20so=20=EC=97=B0=EB=8F=99=20=EC=8B=9C=EC=8A=A4=ED=85=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../2025-08-28 12-54-27 by 남태건.json | 1759 +++++++++++++++++ .../2025-08-28 12-54-27 by 남태건.json.meta | 7 + .../Logs/GoogleSheetChangeLog.asset | 4 +- ...SoSynchronizer.cs => AssetSynchronizer.cs} | 56 +- ...izer.cs.meta => AssetSynchronizer.cs.meta} | 0 .../Core/Interfaces/IAssetSynchronizer.cs | 10 + ...zer.cs.meta => IAssetSynchronizer.cs.meta} | 0 .../Core/Interfaces/ISoSynchronizer.cs | 10 - .../Core/Manager/GoogleSheetManager.cs | 8 +- 9 files changed, 1810 insertions(+), 44 deletions(-) create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/BackUps/2025-08-28 12-54-27 by 남태건.json create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/BackUps/2025-08-28 12-54-27 by 남태건.json.meta rename Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/Synchronization/{SoSynchronizer.cs => AssetSynchronizer.cs} (63%) rename Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/Synchronization/{SoSynchronizer.cs.meta => AssetSynchronizer.cs.meta} (100%) create mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Interfaces/IAssetSynchronizer.cs rename Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Interfaces/{ISoSynchronizer.cs.meta => IAssetSynchronizer.cs.meta} (100%) delete mode 100644 Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Interfaces/ISoSynchronizer.cs diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/BackUps/2025-08-28 12-54-27 by 남태건.json b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/BackUps/2025-08-28 12-54-27 by 남태건.json new file mode 100644 index 000000000..dac8797c0 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/BackUps/2025-08-28 12-54-27 by 남태건.json @@ -0,0 +1,1759 @@ +{ + "$개요": [ + { + "": "Sweet" + }, + { + "": "Sour" + }, + { + "": "Bitter" + }, + { + "": "Salty" + }, + { + "": "SuperHot" + }, + { + "": "Savory" + }, + { + "": "Mild" + }, + { + "": "Warm" + }, + { + "": "Addictive" + }, + { + "": "Fish" + }, + { + "": "Vegetable" + }, + { + "": "Meat" + }, + { + "": "" + }, + { + "": "Soda" + }, + { + "": "MiddleDegree" + }, + { + "": "LowDegree" + }, + { + "": "NoneDegree" + }, + { + "": "WoodFlavor" + }, + { + "": "FruitFlavor" + } + ], + "Test": [ + { + "Id:string": "식별번호", + "CustomerLimitCount": "손님 최대 수", + "Customers:string": "등장 손님", + "Test": 2352, + "Tests": "" + }, + { + "Id:string": "customer_pool_001", + "CustomerLimitCount": 4, + "Customers:string": "customer_001", + "Test": 0, + "Tests": "테스트, 테스트2" + }, + { + "Id:string": "customer_pool_002", + "CustomerLimitCount": 7, + "Customers:string": "customer_001 | customer_002", + "Test": 3, + "Tests": "1 , 2" + }, + { + "Id:string": "customer_pool_003", + "CustomerLimitCount": 9, + "Customers:string": "customer_001 | customer_002 | customer_003", + "Test": 2, + "Tests": "5, 23,253" + }, + { + "Id:string": "customer_pool_004", + "CustomerLimitCount": 3, + "Customers:string": "customer_001", + "Test": "", + "Tests": "" + }, + { + "Id:string": "customer_pool_005", + "CustomerLimitCount": 3, + "Customers:string": "customer_001", + "Test": "", + "Tests": 435 + }, + { + "Id:string": "customer_pool_006", + "CustomerLimitCount": 3, + "Customers:string": "customer_001", + "Test": "", + "Tests": "" + }, + { + "Id:string": "special_customer_pool_001", + "CustomerLimitCount": 1, + "Customers:string": "special_customer_001", + "Test": "", + "Tests": "111|234" + } + ], + "Test_view": [ + { + "Id:string": "식별번호", + "CustomerLimitCount": "손님 최대 수", + "Customers1": "등장 손님1", + "Customers2": "등장 손님2", + "Customers3": "등장 손님3", + "Customers4": "등장 손님4", + "Customers5": "등장 손님5", + "Customers6": "등장 손님6", + "Test": 2352, + "Tests1": "Tests1", + "Tests2": "Tests2", + "Tests3": "Tests3" + }, + { + "Id:string": "customer_pool_001", + "CustomerLimitCount": 4, + "Customers1": "customer_001", + "Customers2": "", + "Customers3": "", + "Customers4": "", + "Customers5": "", + "Customers6": "", + "Test": 0, + "Tests1": "테스트", + "Tests2": "테스트2", + "Tests3": "" + }, + { + "Id:string": "customer_pool_002", + "CustomerLimitCount": 7, + "Customers1": "customer_001", + "Customers2": "customer_002", + "Customers3": "", + "Customers4": "", + "Customers5": "", + "Customers6": "", + "Test": 3, + "Tests1": 1, + "Tests2": 2, + "Tests3": "" + }, + { + "Id:string": "customer_pool_003", + "CustomerLimitCount": 9, + "Customers1": "customer_001", + "Customers2": "customer_002", + "Customers3": "customer_003", + "Customers4": "", + "Customers5": "", + "Customers6": "", + "Test": 2, + "Tests1": 5, + "Tests2": 23, + "Tests3": 253 + }, + { + "Id:string": "customer_pool_004", + "CustomerLimitCount": 3, + "Customers1": "customer_001", + "Customers2": "", + "Customers3": "", + "Customers4": "", + "Customers5": "", + "Customers6": "", + "Test": "", + "Tests1": "", + "Tests2": "", + "Tests3": "" + }, + { + "Id:string": "customer_pool_005", + "CustomerLimitCount": 3, + "Customers1": "customer_001", + "Customers2": "", + "Customers3": "", + "Customers4": "", + "Customers5": "", + "Customers6": "", + "Test": "", + "Tests1": 435, + "Tests2": "", + "Tests3": "" + }, + { + "Id:string": "customer_pool_006", + "CustomerLimitCount": 3, + "Customers1": "customer_001", + "Customers2": "", + "Customers3": "", + "Customers4": "", + "Customers5": "", + "Customers6": "", + "Test": "", + "Tests1": "", + "Tests2": "", + "Tests3": "" + }, + { + "Id:string": "special_customer_pool_001", + "CustomerLimitCount": 1, + "Customers1": "special_customer_001", + "Customers2": "", + "Customers3": "", + "Customers4": "", + "Customers5": "", + "Customers6": "", + "Test": "", + "Tests1": 111, + "Tests2": 234, + "Tests3": "" + } + ], + "LevelData": [ + { + "Id:string": "식별번호", + "Level": "레벨 or 평판", + "Area:string": "등장 지역", + "CustomerPool:string": "일반 손님 풀", + "SpecialCustomerPool:string": "스페셜 손님 풀", + "SpawnType:NativeEnum": "스폰 타입", + "CustomerRespawnTime": "손님 리스폰 시간", + "Exp": "손님 1명당 경험치", + "OrderTime": "주문 대기 인내심 카운트 시간", + "WaitTime": "주문 인내심 카운트 시간", + "EatingTime": "식사 소요시간" + }, + { + "Id:string": "Level001", + "Level": 1, + "Area:string": "Area1", + "CustomerPool:string": "customer_pool_001", + "SpecialCustomerPool:string": "", + "SpawnType:NativeEnum": "Random", + "CustomerRespawnTime": 6, + "Exp": 13, + "OrderTime": 30, + "WaitTime": 60, + "EatingTime": 6 + }, + { + "Id:string": "Level002", + "Level": 2, + "Area:string": "Area1", + "CustomerPool:string": "customer_pool_002", + "SpecialCustomerPool:string": "special_customer_pool_001", + "SpawnType:NativeEnum": "Random", + "CustomerRespawnTime": 6, + "Exp": 13, + "OrderTime": 30, + "WaitTime": 60, + "EatingTime": 6 + }, + { + "Id:string": "Level003", + "Level": 3, + "Area:string": "Area1", + "CustomerPool:string": "customer_pool_003", + "SpecialCustomerPool:string": "special_customer_pool_001", + "SpawnType:NativeEnum": "Regular", + "CustomerRespawnTime": 6, + "Exp": 13, + "OrderTime": 30, + "WaitTime": 60, + "EatingTime": 6 + }, + { + "Id:string": "Level004", + "Level": 4, + "Area:string": "Area2", + "CustomerPool:string": "customer_pool_004", + "SpecialCustomerPool:string": "special_customer_pool_001", + "SpawnType:NativeEnum": "Regular", + "CustomerRespawnTime": 6, + "Exp": 13, + "OrderTime": 30, + "WaitTime": 60, + "EatingTime": 6 + }, + { + "Id:string": "Level005", + "Level": 5, + "Area:string": "Area2", + "CustomerPool:string": "customer_pool_005", + "SpecialCustomerPool:string": "special_customer_pool_001", + "SpawnType:NativeEnum": "Regular", + "CustomerRespawnTime": 6, + "Exp": 13, + "OrderTime": 30, + "WaitTime": 60, + "EatingTime": 6 + }, + { + "Id:string": "Level006", + "Level": 6, + "Area:string": "Area2", + "CustomerPool:string": "customer_pool_006", + "SpecialCustomerPool:string": "special_customer_pool_001", + "SpawnType:NativeEnum": "Random", + "CustomerRespawnTime": 6, + "Exp": 13, + "OrderTime": 30, + "WaitTime": 60, + "EatingTime": 6 + } + ], + "CustomerData": [ + { + "Id:string": "식별번호", + "CustomerType:NativeEnum": "손님 타입", + "#Name": "이름", + "SpineSkinKey": "스파인 스킨 키 값", + "FavoriteTastes": "선호 맛들" + }, + { + "Id:string": "customer_001", + "CustomerType:NativeEnum": "Normal", + "#Name": "유령1", + "SpineSkinKey": "Casper", + "FavoriteTastes": "" + }, + { + "Id:string": "customer_002", + "CustomerType:NativeEnum": "Normal", + "#Name": "유령2", + "SpineSkinKey": "CasperBlack", + "FavoriteTastes": "" + }, + { + "Id:string": "customer_003", + "CustomerType:NativeEnum": "Normal", + "#Name": "유령3", + "SpineSkinKey": "PumkinHead", + "FavoriteTastes": "" + }, + { + "Id:string": "special_customer_001", + "CustomerType:NativeEnum": "Special", + "#Name": "차이", + "SpineSkinKey": "", + "FavoriteTastes": "" + } + ], + "CustomerPoolData": [ + { + "Id:string": "식별번호", + "CustomerLimitCount": "손님 최대 수", + "Customers:string": "등장 손님들" + }, + { + "Id:string": "customer_pool_001", + "CustomerLimitCount": 4, + "Customers:string": "customer_001" + }, + { + "Id:string": "customer_pool_002", + "CustomerLimitCount": 7, + "Customers:string": "customer_001, customer_002" + }, + { + "Id:string": "customer_pool_003", + "CustomerLimitCount": 9, + "Customers:string": "customer_001, customer_002, customer_003" + }, + { + "Id:string": "customer_pool_004", + "CustomerLimitCount": 3, + "Customers:string": "customer_001" + }, + { + "Id:string": "customer_pool_005", + "CustomerLimitCount": 3, + "Customers:string": "customer_001" + }, + { + "Id:string": "customer_pool_006", + "CustomerLimitCount": 3, + "Customers:string": "customer_001" + }, + { + "Id:string": "special_customer_pool_001", + "CustomerLimitCount": 1, + "Customers:string": "special_customer_001" + } + ], + "ItemData": [ + { + "Id": "식별번호", + "ItemType:NativeEnum": "아이템타입1" + }, + { + "Id": "item_food_001", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_002", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_003", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_004", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_005", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_006", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_007", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_008", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_009", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_010", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_011", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_012", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_013", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_014", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_015", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_016", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_017", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_018", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_019", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_food_020", + "ItemType:NativeEnum": "Food" + }, + { + "Id": "item_ingredient_001", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_002", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_003", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_004", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_005", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_006", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_007", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_008", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_009", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_010", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_011", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_012", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_013", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_014", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_015", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_016", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_017", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_018", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_019", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_020", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_021", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_022", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_ingredient_023", + "ItemType:NativeEnum": "Ingredient" + }, + { + "Id": "item_environment_001", + "ItemType:NativeEnum": "Environment" + }, + { + "Id": "item_environment_002", + "ItemType:NativeEnum": "Environment" + }, + { + "Id": "item_environment_003", + "ItemType:NativeEnum": "Environment" + }, + { + "Id": "item_environment_004", + "ItemType:NativeEnum": "Environment" + }, + { + "Id": "item_environment_005", + "ItemType:NativeEnum": "Environment" + }, + { + "Id": "item_environment_cookware_001", + "ItemType:NativeEnum": "Environment" + }, + { + "Id": "item_environment_cookware_002", + "ItemType:NativeEnum": "Environment" + }, + { + "Id": "item_environment_cookware_003", + "ItemType:NativeEnum": "Environment" + }, + { + "Id": "item_environment_cookware_004", + "ItemType:NativeEnum": "Environment" + }, + { + "Id": "item_environment_cookware_005", + "ItemType:NativeEnum": "Environment" + }, + { + "Id": "item_environment_cookware_006", + "ItemType:NativeEnum": "Environment" + }, + { + "Id": "item_environment_cookware_007", + "ItemType:NativeEnum": "Environment" + }, + { + "Id": "item_environment_cookware_008", + "ItemType:NativeEnum": "Environment" + }, + { + "Id": "item_drink_001", + "ItemType:NativeEnum": "Drink" + }, + { + "Id": "item_drink_002", + "ItemType:NativeEnum": "Drink" + }, + { + "Id": "item_drink_003", + "ItemType:NativeEnum": "Drink" + }, + { + "Id": "item_drink_004", + "ItemType:NativeEnum": "Drink" + }, + { + "Id": "item_food_recipe_001", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_002", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_003", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_004", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_005", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_006", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_007", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_008", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_009", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_010", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_011", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_012", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_013", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_014", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_015", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_016", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_017", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_018", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_019", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_food_recipe_020", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_drink_recipe_001", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_drink_recipe_002", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_drink_recipe_003", + "ItemType:NativeEnum": "Recipe" + }, + { + "Id": "item_drink_recipe_004", + "ItemType:NativeEnum": "Recipe" + } + ], + "RecipeData": [ + { + "Id:string": "식별ID", + "#Name": "이름", + "RecipeType:NativeEnum": "레시피타입", + "RecipeResult:string": "완성 메뉴" + }, + { + "Id:string": "item_food_recipe_001", + "#Name": "블루 스튜 레시피", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_001" + }, + { + "Id:string": "item_food_recipe_002", + "#Name": "햇빛 스튜 레시피", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_002" + }, + { + "Id:string": "item_food_recipe_003", + "#Name": "심해기억 스튜 레시피", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_003" + }, + { + "Id:string": "item_food_recipe_004", + "#Name": "치킨 굴라쉬 레시피", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_004" + }, + { + "Id:string": "item_food_recipe_005", + "#Name": "꿈해초 크로켓 레시피", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_005" + }, + { + "Id:string": "item_food_recipe_006", + "#Name": "선라이즈 당근카츠 레시피", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_006" + }, + { + "Id:string": "item_food_recipe_007", + "#Name": "미정", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_007" + }, + { + "Id:string": "item_food_recipe_008", + "#Name": "비늘치킨덕 레시피", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_008" + }, + { + "Id:string": "item_food_recipe_009", + "#Name": "화룡장어 구이 레시피", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_009" + }, + { + "Id:string": "item_food_recipe_010", + "#Name": "미정", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_010" + }, + { + "Id:string": "item_food_recipe_011", + "#Name": "바다의선물 레시피", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_011" + }, + { + "Id:string": "item_food_recipe_012", + "#Name": "유령새우회 레시피", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_012" + }, + { + "Id:string": "item_food_recipe_013", + "#Name": "비늘초무침 레시피", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_013" + }, + { + "Id:string": "item_food_recipe_014", + "#Name": "쫀징어 냉채 레시피", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_014" + }, + { + "Id:string": "item_food_recipe_015", + "#Name": "쫀징어링 레시피", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_015" + }, + { + "Id:string": "item_food_recipe_016", + "#Name": "꿈해파리 볶음 레시피", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_016" + }, + { + "Id:string": "item_food_recipe_017", + "#Name": "페퍼포칼립스 레시피", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_017" + }, + { + "Id:string": "item_food_recipe_018", + "#Name": "미정", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_018" + }, + { + "Id:string": "item_food_recipe_019", + "#Name": "미정", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_019" + }, + { + "Id:string": "item_food_recipe_020", + "#Name": "미정", + "RecipeType:NativeEnum": "FoodRecipe", + "RecipeResult:string": "item_food_020" + }, + { + "Id:string": "item_drink_recipe_001", + "#Name": "토마토 주스 레시피", + "RecipeType:NativeEnum": "DrinkRecipe", + "RecipeResult:string": "item_drink_001" + }, + { + "Id:string": "item_drink_recipe_002", + "#Name": "오렌지 주스 레시피", + "RecipeType:NativeEnum": "DrinkRecipe", + "RecipeResult:string": "item_drink_002" + }, + { + "Id:string": "item_drink_recipe_003", + "#Name": "여신의눈물 레시피", + "RecipeType:NativeEnum": "DrinkRecipe", + "RecipeResult:string": "item_drink_003" + }, + { + "Id:string": "item_drink_recipe_004", + "#Name": "라벨블루 레시피", + "RecipeType:NativeEnum": "DrinkRecipe", + "RecipeResult:string": "item_drink_004" + } + ], + "FoodData": [ + { + "Id:string": "식별ID", + "#Name": "이름", + "CookwareKey:string": "요리도구 키 값", + "CookTime:int": "요리시간", + "Price:int": "요리가격", + "IngredientKey1:string": "재료1", + "IngredientAmount1:string": "재료1 갯수", + "IngredientKey2:string": "재료2", + "IngredientAmount2:string": "재료2 갯수", + "IngredientKey3:string": "재료3", + "IngredientAmount3:string": "재료3 갯수", + "IngredientKey4:string": "재료4", + "IngredientAmount4:string": "재료4 갯수", + "TasteKey1:string": "맛 키1", + "TasteKey2:string": "맛 키2", + "TasteKey3:string": "맛 키3", + "TasteKey4:string": "맛 키4", + "TasteKey5:string": "맛 키5", + "TasteKey6:string": "맛 키6" + }, + { + "Id:string": "item_food_001", + "#Name": "블루 스튜", + "CookwareKey:string": "item_environment_cookware_001", + "CookTime:int": 7, + "Price:int": 10, + "IngredientKey1:string": "item_ingredient_001", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_002", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "Sweet", + "TasteKey2:string": "Warm", + "TasteKey3:string": "Vegetable", + "TasteKey4:string": "", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_002", + "#Name": "햇빛 스튜", + "CookwareKey:string": "item_environment_cookware_001", + "CookTime:int": 7, + "Price:int": 20, + "IngredientKey1:string": "item_ingredient_002", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_003", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "Sweet", + "TasteKey2:string": "Bitter", + "TasteKey3:string": "Warm", + "TasteKey4:string": "Vegetable", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_003", + "#Name": "심해기억 스튜", + "CookwareKey:string": "item_environment_cookware_001", + "CookTime:int": 7, + "Price:int": 15, + "IngredientKey1:string": "item_ingredient_002", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_004", + "IngredientAmount2:string": 2, + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "Salty", + "TasteKey2:string": "Mild", + "TasteKey3:string": "Vegetable", + "TasteKey4:string": "", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_004", + "#Name": "치킨 굴라쉬", + "CookwareKey:string": "item_environment_cookware_001", + "CookTime:int": 10, + "Price:int": 30, + "IngredientKey1:string": "item_ingredient_005", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_006", + "IngredientAmount2:string": 2, + "IngredientKey3:string": "item_ingredient_007", + "IngredientAmount3:string": 1, + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "Salty", + "TasteKey2:string": "Sweet", + "TasteKey3:string": "Addictive", + "TasteKey4:string": "Vegetable", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_005", + "#Name": "꿈해초 크로켓", + "CookwareKey:string": "item_environment_cookware_002", + "CookTime:int": 5, + "Price:int": 20, + "IngredientKey1:string": "item_ingredient_007", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_008", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "item_ingredient_009", + "IngredientAmount3:string": 1, + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "Sour", + "TasteKey2:string": "Salty", + "TasteKey3:string": "Mild", + "TasteKey4:string": "", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_006", + "#Name": "선라이즈 당근카츠", + "CookwareKey:string": "item_environment_cookware_002", + "CookTime:int": 5, + "Price:int": 30, + "IngredientKey1:string": "item_ingredient_003", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_007", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "item_ingredient_009", + "IngredientAmount3:string": 1, + "IngredientKey4:string": "item_ingredient_010", + "IngredientAmount4:string": 1, + "TasteKey1:string": "Sweet", + "TasteKey2:string": "Sour", + "TasteKey3:string": "Warm", + "TasteKey4:string": "Savory", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_007", + "#Name": "미정", + "CookwareKey:string": "item_environment_cookware_002", + "CookTime:int": 5, + "Price:int": 30, + "IngredientKey1:string": "item_ingredient_011", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_008", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "", + "TasteKey2:string": "", + "TasteKey3:string": "", + "TasteKey4:string": "", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_008", + "#Name": "비늘치킨덕", + "CookwareKey:string": "item_environment_cookware_003", + "CookTime:int": 6, + "Price:int": 30, + "IngredientKey1:string": "item_ingredient_012", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_013", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "item_ingredient_007", + "IngredientAmount3:string": 1, + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "Salty", + "TasteKey2:string": "Mild", + "TasteKey3:string": "Addictive", + "TasteKey4:string": "Meat", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_009", + "#Name": "화룡장어 구이", + "CookwareKey:string": "item_environment_cookware_003", + "CookTime:int": 6, + "Price:int": 15, + "IngredientKey1:string": "item_ingredient_014", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_015", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "Sweet", + "TasteKey2:string": "Mild", + "TasteKey3:string": "SuperHot", + "TasteKey4:string": "Fish", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_010", + "#Name": "미정", + "CookwareKey:string": "item_environment_cookware_003", + "CookTime:int": 6, + "Price:int": 30, + "IngredientKey1:string": "item_ingredient_016", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_008", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "", + "TasteKey2:string": "", + "TasteKey3:string": "", + "TasteKey4:string": "", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_011", + "#Name": "바다의선물", + "CookwareKey:string": "item_environment_cookware_004", + "CookTime:int": 5, + "Price:int": 10, + "IngredientKey1:string": "item_ingredient_002", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_003", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "Sweet", + "TasteKey2:string": "Mild", + "TasteKey3:string": "Vegetable", + "TasteKey4:string": "", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_012", + "#Name": "유령새우회", + "CookwareKey:string": "item_environment_cookware_004", + "CookTime:int": 5, + "Price:int": 25, + "IngredientKey1:string": "item_ingredient_017", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_007", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "item_ingredient_004", + "IngredientAmount3:string": 1, + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "Sweet", + "TasteKey2:string": "Salty", + "TasteKey3:string": "Addictive", + "TasteKey4:string": "Fish", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_013", + "#Name": "비늘초무침", + "CookwareKey:string": "item_environment_cookware_004", + "CookTime:int": 5, + "Price:int": 45, + "IngredientKey1:string": "item_ingredient_018", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_003", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "item_ingredient_007", + "IngredientAmount3:string": 1, + "IngredientKey4:string": "item_ingredient_010", + "IngredientAmount4:string": 2, + "TasteKey1:string": "Salty", + "TasteKey2:string": "Sour", + "TasteKey3:string": "Mild", + "TasteKey4:string": "Vegetable", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_014", + "#Name": "쫀징어 냉채", + "CookwareKey:string": "item_environment_cookware_004", + "CookTime:int": 5, + "Price:int": 15, + "IngredientKey1:string": "item_ingredient_011", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_003", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "Salty", + "TasteKey2:string": "Vegetable", + "TasteKey3:string": "Fish", + "TasteKey4:string": "", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_015", + "#Name": "쫀징어링", + "CookwareKey:string": "item_environment_cookware_005", + "CookTime:int": 8, + "Price:int": 25, + "IngredientKey1:string": "item_ingredient_011", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_007", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "item_ingredient_015", + "IngredientAmount3:string": 1, + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "Salty", + "TasteKey2:string": "Sour", + "TasteKey3:string": "SuperHot", + "TasteKey4:string": "Fish", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_016", + "#Name": "꿈해파리 볶음", + "CookwareKey:string": "item_environment_cookware_005", + "CookTime:int": 6, + "Price:int": 15, + "IngredientKey1:string": "item_ingredient_019", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_004", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "Salty", + "TasteKey2:string": "Sweet", + "TasteKey3:string": "Sour", + "TasteKey4:string": "", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_017", + "#Name": "페퍼포칼립스", + "CookwareKey:string": "item_environment_cookware_005", + "CookTime:int": 6, + "Price:int": 25, + "IngredientKey1:string": "item_ingredient_012", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_015", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "item_ingredient_008", + "IngredientAmount3:string": 1, + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "Sweet", + "TasteKey2:string": "SuperHot", + "TasteKey3:string": "Meat", + "TasteKey4:string": "Vegetable", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_018", + "#Name": "미정", + "CookwareKey:string": "item_environment_cookware_006", + "CookTime:int": 0, + "Price:int": 0, + "IngredientKey1:string": "", + "IngredientAmount1:string": "", + "IngredientKey2:string": "", + "IngredientAmount2:string": "", + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "", + "TasteKey2:string": "", + "TasteKey3:string": "", + "TasteKey4:string": "", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_019", + "#Name": "미정", + "CookwareKey:string": "item_environment_cookware_006", + "CookTime:int": 0, + "Price:int": 0, + "IngredientKey1:string": "", + "IngredientAmount1:string": "", + "IngredientKey2:string": "", + "IngredientAmount2:string": "", + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "", + "TasteKey2:string": "", + "TasteKey3:string": "", + "TasteKey4:string": "", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_food_020", + "#Name": "미정", + "CookwareKey:string": "item_environment_cookware_006", + "CookTime:int": 0, + "Price:int": 0, + "IngredientKey1:string": "", + "IngredientAmount1:string": "", + "IngredientKey2:string": "", + "IngredientAmount2:string": "", + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "", + "TasteKey2:string": "", + "TasteKey3:string": "", + "TasteKey4:string": "", + "TasteKey5:string": "", + "TasteKey6:string": "" + } + ], + "DrinkData": [ + { + "Id:string": "식별ID", + "#Name": "이름", + "CookwareKey:string": "요리도구 키 값", + "CookTime:int": "요리시간", + "Price:int": "요리가격", + "IngredientKey1:string": "재료1", + "IngredientAmount1:string": "재료1 갯수", + "IngredientKey2:string": "재료2", + "IngredientAmount2:string": "재료2 갯수", + "IngredientKey3:string": "재료3", + "IngredientAmount3:string": "재료3 갯수", + "IngredientKey4:string": "재료4", + "IngredientAmount4:string": "재료4 갯수", + "TasteKey1:string": "맛 키1", + "TasteKey2:string": "맛 키2", + "TasteKey3:string": "맛 키3", + "TasteKey4:string": "맛 키4", + "TasteKey5:string": "맛 키5", + "TasteKey6:string": "맛 키6" + }, + { + "Id:string": "item_drink_001", + "#Name": "토마토 주스", + "CookwareKey:string": "item_environment_cookware_007", + "CookTime:int": 1, + "Price:int": 10, + "IngredientKey1:string": "item_ingredient_006", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_021", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "NoneDegree", + "TasteKey2:string": "Soda", + "TasteKey3:string": "", + "TasteKey4:string": "", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_drink_002", + "#Name": "오렌지 주스", + "CookwareKey:string": "item_environment_cookware_007", + "CookTime:int": 1, + "Price:int": 10, + "IngredientKey1:string": "item_ingredient_023", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_021", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "NoneDegree", + "TasteKey2:string": "Sour", + "TasteKey3:string": "", + "TasteKey4:string": "", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_drink_003", + "#Name": "여신의눈물", + "CookwareKey:string": "item_environment_cookware_008", + "CookTime:int": 3, + "Price:int": 10, + "IngredientKey1:string": "item_ingredient_008", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_022", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "LowDegree", + "TasteKey2:string": "WoodFlavor", + "TasteKey3:string": "", + "TasteKey4:string": "", + "TasteKey5:string": "", + "TasteKey6:string": "" + }, + { + "Id:string": "item_drink_004", + "#Name": "라벨블루", + "CookwareKey:string": "item_environment_cookware_008", + "CookTime:int": 3, + "Price:int": 10, + "IngredientKey1:string": "item_ingredient_002", + "IngredientAmount1:string": 1, + "IngredientKey2:string": "item_ingredient_022", + "IngredientAmount2:string": 1, + "IngredientKey3:string": "", + "IngredientAmount3:string": "", + "IngredientKey4:string": "", + "IngredientAmount4:string": "", + "TasteKey1:string": "MiddleDegree", + "TasteKey2:string": "FruitFlavor", + "TasteKey3:string": "", + "TasteKey4:string": "", + "TasteKey5:string": "", + "TasteKey6:string": "" + } + ], + "IngredientData": [ + { + "Id:string": "식별ID", + "#Name": "이름" + }, + { + "Id:string": "item_ingredient_001", + "#Name": "극락쌀" + }, + { + "Id:string": "item_ingredient_002", + "#Name": "블루애플" + }, + { + "Id:string": "item_ingredient_003", + "#Name": "햇빛당근" + }, + { + "Id:string": "item_ingredient_004", + "#Name": "꿈꾸는 해초" + }, + { + "Id:string": "item_ingredient_005", + "#Name": "미정" + }, + { + "Id:string": "item_ingredient_006", + "#Name": "토마토" + }, + { + "Id:string": "item_ingredient_007", + "#Name": "천일염" + }, + { + "Id:string": "item_ingredient_008", + "#Name": "눈물" + }, + { + "Id:string": "item_ingredient_009", + "#Name": "밀가루" + }, + { + "Id:string": "item_ingredient_010", + "#Name": "식초" + }, + { + "Id:string": "item_ingredient_011", + "#Name": "쫀징어" + }, + { + "Id:string": "item_ingredient_012", + "#Name": "치타닭 고기 " + }, + { + "Id:string": "item_ingredient_013", + "#Name": "비늘오리 고기" + }, + { + "Id:string": "item_ingredient_014", + "#Name": "뱀장어" + }, + { + "Id:string": "item_ingredient_015", + "#Name": "불꽃 고추" + }, + { + "Id:string": "item_ingredient_016", + "#Name": "유령상어" + }, + { + "Id:string": "item_ingredient_017", + "#Name": "유령새우" + }, + { + "Id:string": "item_ingredient_018", + "#Name": "비늘발고둥" + }, + { + "Id:string": "item_ingredient_019", + "#Name": "홍해파리" + }, + { + "Id:string": "item_ingredient_020", + "#Name": "미정" + }, + { + "Id:string": "item_ingredient_021", + "#Name": "탄산수" + }, + { + "Id:string": "item_ingredient_022", + "#Name": "위스키" + }, + { + "Id:string": "item_ingredient_023", + "#Name": "오렌지" + } + ], + "CookwareData": [ + { + "Id:string": "식별ID", + "#Name": "이름", + "CookwareType:NativeEnum": "요리도구 타입" + }, + { + "Id:string": "item_environment_cookware_001", + "#Name": "냄비", + "CookwareType:NativeEnum": "Pot" + }, + { + "Id:string": "item_environment_cookware_002", + "#Name": "튀김", + "CookwareType:NativeEnum": "Fryer" + }, + { + "Id:string": "item_environment_cookware_003", + "#Name": "화로", + "CookwareType:NativeEnum": "Brazier" + }, + { + "Id:string": "item_environment_cookware_004", + "#Name": "", + "CookwareType:NativeEnum": "CuttingBoard" + }, + { + "Id:string": "item_environment_cookware_005", + "#Name": "", + "CookwareType:NativeEnum": "Griddle" + }, + { + "Id:string": "item_environment_cookware_006", + "#Name": "", + "CookwareType:NativeEnum": "MagicOven" + }, + { + "Id:string": "item_environment_cookware_007", + "#Name": "", + "CookwareType:NativeEnum": "JuiceMachine" + }, + { + "Id:string": "item_environment_cookware_008", + "#Name": "", + "CookwareType:NativeEnum": "Barrel" + } + ], + "TasteData": [ + { + "Id:string": "식별ID", + "#Name": "이름", + "TasteType:NativeEnum": "맛 종류" + }, + { + "Id:string": "Sweet", + "#Name": "단맛", + "TasteType:NativeEnum": "Sweet" + }, + { + "Id:string": "Warm", + "#Name": "따뜻한", + "TasteType:NativeEnum": "Warm" + }, + { + "Id:string": "Vegetable", + "#Name": "채류", + "TasteType:NativeEnum": "Vegetable" + }, + { + "Id:string": "Bitter", + "#Name": "쓴맛", + "TasteType:NativeEnum": "Bitter" + }, + { + "Id:string": "Salty", + "#Name": "짠맛", + "TasteType:NativeEnum": "Salty" + }, + { + "Id:string": "Mild", + "#Name": "담백한", + "TasteType:NativeEnum": "Mild" + }, + { + "Id:string": "Addictive", + "#Name": "중독적인", + "TasteType:NativeEnum": "Addictive" + }, + { + "Id:string": "Sour", + "#Name": "신맛", + "TasteType:NativeEnum": "Sour" + }, + { + "Id:string": "Savory", + "#Name": "고소한", + "TasteType:NativeEnum": "Savory" + }, + { + "Id:string": "Meat", + "#Name": "육류", + "TasteType:NativeEnum": "Meat" + }, + { + "Id:string": "SuperHot", + "#Name": "핵불닭맛", + "TasteType:NativeEnum": "SuperHot" + }, + { + "Id:string": "Fish", + "#Name": "어류", + "TasteType:NativeEnum": "Fish" + }, + { + "Id:string": "NoneDegree", + "#Name": "도수가없는", + "TasteType:NativeEnum": "NoneDegree" + }, + { + "Id:string": "Soda", + "#Name": "탄산", + "TasteType:NativeEnum": "Soda" + }, + { + "Id:string": "LowDegree", + "#Name": "도수가낮은", + "TasteType:NativeEnum": "LowDegree" + }, + { + "Id:string": "WoodFlavor", + "#Name": "나무향", + "TasteType:NativeEnum": "WoodFlavor" + }, + { + "Id:string": "MiddleDegree", + "#Name": "도수가보통인", + "TasteType:NativeEnum": "MiddleDegree" + }, + { + "Id:string": "FruitFlavor", + "#Name": "과일향", + "TasteType:NativeEnum": "FruitFlavor" + } + ], + "EnvironmentData": [ + { + "Id": "식별번호", + "InteractionType:NativeEnum": "인터랙션타입", + "RendererType:Enum": "렌더러 타입", + "IsTrigger:int": "트리거 여부", + "SkeletonDataName:string": "스켈레톤 애니메이션 에셋 이름", + "SkinName:string": "스파인 스킨 이름", + "DefaultAnimationName:string": "", + "SpriteKey:string": "SpriteAtlas 키 값", + "Size:float": "유니티 내의 이미지 크기" + }, + { + "Id": "item_environment_001", + "InteractionType:NativeEnum": "None", + "RendererType:Enum": "Sprite", + "IsTrigger:int": 0, + "SkeletonDataName:string": "", + "SkinName:string": "", + "DefaultAnimationName:string": "", + "SpriteKey:string": "Barrel01", + "Size:float": 1 + }, + { + "Id": "item_environment_002", + "InteractionType:NativeEnum": "None", + "RendererType:Enum": "Spine", + "IsTrigger:int": 1, + "SkeletonDataName:string": "Coral_SkeletonData", + "SkinName:string": "Coral01", + "DefaultAnimationName:string": "Coral01/Idle", + "SpriteKey:string": "", + "Size:float": 1 + }, + { + "Id": "item_environment_003", + "InteractionType:NativeEnum": "None", + "RendererType:Enum": "Spine", + "IsTrigger:int": 1, + "SkeletonDataName:string": "Coral_SkeletonData", + "SkinName:string": "Coral02", + "DefaultAnimationName:string": "Coral02/Idle", + "SpriteKey:string": "", + "Size:float": 1 + }, + { + "Id": "item_environment_004", + "InteractionType:NativeEnum": "None", + "RendererType:Enum": "Spine", + "IsTrigger:int": 1, + "SkeletonDataName:string": "SummerGrass01_SkeletonData", + "SkinName:string": "default", + "DefaultAnimationName:string": "Normal", + "SpriteKey:string": "", + "Size:float": 0.3 + }, + { + "Id": "item_environment_005", + "InteractionType:NativeEnum": "RestaurantManagement", + "RendererType:Enum": "Spine", + "IsTrigger:int": 0, + "SkeletonDataName:string": "", + "SkinName:string": "", + "DefaultAnimationName:string": "", + "SpriteKey:string": "", + "Size:float": 1 + } + ] +} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/BackUps/2025-08-28 12-54-27 by 남태건.json.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/BackUps/2025-08-28 12-54-27 by 남태건.json.meta new file mode 100644 index 000000000..1628462d3 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/BackUps/2025-08-28 12-54-27 by 남태건.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 90984e9ede7c85d45b0883295d7cff8a +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Logs/GoogleSheetChangeLog.asset b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Logs/GoogleSheetChangeLog.asset index 77ef4281d..6c64975f1 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Logs/GoogleSheetChangeLog.asset +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/AutoCreated/Logs/GoogleSheetChangeLog.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9bb03d45aa641d701bc2d8e978c6a353363fed2f8206bfd8ee5af63f9562cfc -size 736720 +oid sha256:28d20f9975e930a18df709d51f658df25780b25916edbd86478c68fb74446494 +size 797466 diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/Synchronization/SoSynchronizer.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/Synchronization/AssetSynchronizer.cs similarity index 63% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/Synchronization/SoSynchronizer.cs rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/Synchronization/AssetSynchronizer.cs index e87b903ff..4e6f7034d 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/Synchronization/SoSynchronizer.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/Synchronization/AssetSynchronizer.cs @@ -10,15 +10,15 @@ namespace DDD { - public sealed class SoSynchronizer : ISoSynchronizer + public sealed class AssetSynchronizer : IAssetSynchronizer { private readonly IValueConverterRegistry _converter; private readonly List _updatedPaths = new(); - public IReadOnlyList UpdatedSoAssetPaths => _updatedPaths; + public IReadOnlyList AssetUpdatedAssetPaths => _updatedPaths; - public SoSynchronizer(IValueConverterRegistry converter) => _converter = converter; + public AssetSynchronizer(IValueConverterRegistry converter) => _converter = converter; - public bool SynchronizeAll(string fullJson, IReadOnlyCollection selectedSheets, string rootNamespace, string soFolderAssetPath) + public bool SynchronizeAll(string fullJson, IReadOnlyCollection selectedSheets, string rootNamespace, string assetFolderAssetPath) { _updatedPaths.Clear(); if (string.IsNullOrEmpty(fullJson)) return false; @@ -27,8 +27,8 @@ public bool SynchronizeAll(string fullJson, IReadOnlyCollection selected bool allSuccess = true; // 폴더 보장 - if (!AssetDatabase.IsValidFolder(soFolderAssetPath)) - CreateFolderRecursive(soFolderAssetPath); + if (!AssetDatabase.IsValidFolder(assetFolderAssetPath)) + CreateFolderRecursive(assetFolderAssetPath); // 타입 캐시 var types = AppDomain.CurrentDomain.GetAssemblies() @@ -40,38 +40,38 @@ public bool SynchronizeAll(string fullJson, IReadOnlyCollection selected .GroupBy(t => t.Name) .ToDictionary(g => g.Key, g => g.First()); - Debug.Log($"[SoSync] soFolder={soFolderAssetPath}"); - Debug.Log($"[SoSync] selected: {string.Join(", ", selectedSheets)}"); + Debug.Log($"[AssetSynchronizer] assetFolder={assetFolderAssetPath}"); + Debug.Log($"[AssetSynchronizer] selected: {string.Join(", ", selectedSheets)}"); foreach (var pair in root) { string sheet = pair.Key; if (!selectedSheets.Contains(sheet)) { - Debug.Log($"[SoSync] SKIP(not selected): {sheet}"); + Debug.Log($"[AssetSynchronizer] SKIP(not selected): {sheet}"); continue; } - types.TryGetValue(sheet, out var dataType); - types.TryGetValue($"{sheet}So", out var soType); - if (dataType == null || soType == null) + types.TryGetValue($"{sheet}Entry", out var dataType); + types.TryGetValue($"{sheet}Asset", out var assetType); + if (dataType == null || assetType == null) { - Debug.LogWarning($"[SoSynchronizer] 타입 누락: {sheet} (data={dataType}, so={soType})"); + Debug.LogWarning($"[AssetSynchronizer] 타입 누락: {sheet} (entry={dataType}, asset={assetType})"); allSuccess = false; continue; } - string soAssetPath = $"{soFolderAssetPath}/{sheet}So.asset"; - var so = AssetDatabase.LoadAssetAtPath(soAssetPath); - if (so == null) + string assetPath = $"{assetFolderAssetPath}/{sheet}Asset.asset"; + var asset = AssetDatabase.LoadAssetAtPath(assetPath); + if (asset == null) { - Debug.Log($"[SoSync] CREATE SO: {soAssetPath}"); - so = ScriptableObject.CreateInstance(soType); - AssetDatabase.CreateAsset(so, soAssetPath); + Debug.Log($"[AssetSynchronizer] CREATE SO: {assetPath}"); + asset = ScriptableObject.CreateInstance(assetType); + AssetDatabase.CreateAsset(asset, assetPath); } else { - Debug.Log($"[SoSync] FOUND SO: {soAssetPath}"); + Debug.Log($"[AssetSynchronizer] FOUND SO: {assetPath}"); } var list = (IList)Activator.CreateInstance(typeof(List<>).MakeGenericType(dataType)); @@ -102,30 +102,30 @@ public bool SynchronizeAll(string fullJson, IReadOnlyCollection selected } else { - Debug.LogWarning($"[SoSynchronizer] 변환 실패: {sheet}.{field} -> {targetType?.Name} (원본:'{prop.Value}')"); + Debug.LogWarning($"[AssetSynchronizer] 변환 실패: {sheet}.{field} -> {targetType?.Name} (원본:'{prop.Value}')"); } } catch (Exception e) { - Debug.LogWarning($"[SoSynchronizer] 값 할당 예외: {sheet}.{field} -> {e.Message}"); + Debug.LogWarning($"[AssetSynchronizer] 값 할당 예외: {sheet}.{field} -> {e.Message}"); } } list.Add(inst); } - var setMethod = soType.GetMethod("SetDataList", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); + var setMethod = assetType.GetMethod("SetDataList", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); if (setMethod == null) { - Debug.LogError($"{soType.Name}에 SetDataList 메서드가 없습니다."); + Debug.LogError($"{assetType.Name}에 SetDataList 메서드가 없습니다."); allSuccess = false; continue; } - Debug.Log($"[SoSync] INVOKE SetDataList for {sheet} (rows={(pair.Value as JArray)?.Count ?? 0})"); + Debug.Log($"[AssetSynchronizer] INVOKE SetDataList for {sheet} (rows={(pair.Value as JArray)?.Count ?? 0})"); - setMethod.Invoke(so, new object[] { list }); - EditorUtility.SetDirty(so); - _updatedPaths.Add(soAssetPath); + setMethod.Invoke(asset, new object[] { list }); + EditorUtility.SetDirty(asset); + _updatedPaths.Add(assetPath); } AssetDatabase.SaveAssets(); diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/Synchronization/SoSynchronizer.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/Synchronization/AssetSynchronizer.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/Synchronization/SoSynchronizer.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Implementations/Synchronization/AssetSynchronizer.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Interfaces/IAssetSynchronizer.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Interfaces/IAssetSynchronizer.cs new file mode 100644 index 000000000..dd2d70411 --- /dev/null +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Interfaces/IAssetSynchronizer.cs @@ -0,0 +1,10 @@ +using System.Collections.Generic; + +namespace DDD +{ + public interface IAssetSynchronizer + { + IReadOnlyList AssetUpdatedAssetPaths { get; } + bool SynchronizeAll(string fullJson, IReadOnlyCollection selectedSheets, string rootNamespace, string assetFolderAssetPath); + } +} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Interfaces/ISoSynchronizer.cs.meta b/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Interfaces/IAssetSynchronizer.cs.meta similarity index 100% rename from Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Interfaces/ISoSynchronizer.cs.meta rename to Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Interfaces/IAssetSynchronizer.cs.meta diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Interfaces/ISoSynchronizer.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Interfaces/ISoSynchronizer.cs deleted file mode 100644 index ba3e21323..000000000 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Interfaces/ISoSynchronizer.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System.Collections.Generic; - -namespace DDD -{ - public interface ISoSynchronizer - { - IReadOnlyList UpdatedSoAssetPaths { get; } - bool SynchronizeAll(string fullJson, IReadOnlyCollection selectedSheets, string rootNamespace, string soFolderAssetPath); - } -} \ No newline at end of file diff --git a/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Manager/GoogleSheetManager.cs b/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Manager/GoogleSheetManager.cs index dc32b3e26..7cbdc8ee6 100644 --- a/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Manager/GoogleSheetManager.cs +++ b/Assets/_DDD/_Scripts/GenerateGoogleSheet/Core/Manager/GoogleSheetManager.cs @@ -31,7 +31,7 @@ public class GoogleSheetManager : ScriptableObject private IJsonDiffer _differ; private ICodeGenerator _codeGenerator; private IValueConverterRegistry _converterRegistry; - private ISoSynchronizer _soSynchronizer; + private IAssetSynchronizer _assetSynchronizer; private IAddressablesRegistrar _addressablesRegistrar; private IVersionStore _versionStore; private IReloadCoordinator _reloadCoordinator; @@ -49,7 +49,7 @@ private void BuildServices() _differ = new NewtonsoftJsonDiffer(); _codeGenerator = new CSharpCodeGenerator(new DefaultTypeNameResolver()); _converterRegistry = new DefaultValueConverterRegistry(); - _soSynchronizer = new SoSynchronizer(_converterRegistry); + _assetSynchronizer = new AssetSynchronizer(_converterRegistry); _addressablesRegistrar = new AddressablesRegistrar(); _versionStore = new GoogleSheetChangeLogVersionStore(_settings.ChangeLogAssetPath); _reloadCoordinator = new SessionStateReloadCoordinator(); @@ -152,11 +152,11 @@ private async Task ContinueSoSync(string json, bool saveSnapshot) if (_settings.AutoCreateSheets != null) foreach (var s in _settings.AutoCreateSheets) selected.Add(s); if (_settings.SoSyncOnlySheets != null) foreach (var s in _settings.SoSyncOnlySheets) selected.Add(s); - bool ok = _soSynchronizer.SynchronizeAll(json, selected, _settings.RootNamespace, _settings.SoFolderAssetPath); + bool ok = _assetSynchronizer.SynchronizeAll(json, selected, _settings.RootNamespace, _settings.SoFolderAssetPath); if (_settings.AutoRegisterToAddressables) { - foreach (var soPath in _soSynchronizer.UpdatedSoAssetPaths) + foreach (var soPath in _assetSynchronizer.AssetUpdatedAssetPaths) _addressablesRegistrar.RegisterOrMoveEntry(soPath, _settings.AddressablesGroupName, _settings.AddressablesLabel); _addressablesRegistrar.SaveAll(); _addressablesRegistrar.BuildIfNeeded(_settings.AutoBuildAddressables);