Merge remote-tracking branch 'origin/feature/customer_behavior' into feature/customer_behavior

This commit is contained in:
김산 2025-08-27 11:45:49 +09:00
commit 42c9c56cb6
5 changed files with 19 additions and 3 deletions

View File

@ -0,0 +1,7 @@
namespace DDD
{
public class ContinueRestaurantOrder
{
// 이미 있는 인터랙션 타겟을 대상으로 진행함
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: d0b954edf40f4172964dbd6e4fe22b1a
timeCreated: 1755772289

View File

@ -41,7 +41,8 @@ public override TaskStatus OnUpdate()
{
return TaskStatus.Failure;
}
// TODO : 이벤트 통해서 인터랙션. 직접 호출하지 말 것!
var interacted = outInteractable.OnInteracted(_interactor);
if (!interacted)
{

View File

@ -12,7 +12,8 @@ public bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable in
public bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null, ScriptableObject causerPayload = null, ScriptableObject targetPayloadSo = null)
{
return true;
// Interactable's CurrentInteractor is me? => Can execute
return false;
}
}
}

View File

@ -8,7 +8,11 @@ public class RestaurantOrderSolver_Wait : MonoBehaviour, IInteractionSubsystemSo
public bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject causerPayload = null, ScriptableObject targetPayloadSo = null)
{
if (CanExecuteInteractionSubsystem(interactor, interactable, causerPayload, targetPayloadSo) == false) return false;
// TODO : DO SOMETHING!!!
/* TODO
* OnInteracted에서 , , ? CanInteractTo에서 ?
* IInteractable CurrentInteractor를 ?
*/
return true;
}