2025-08-27 04:05:08 +00:00
|
|
|
using System;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
namespace DDD
|
|
|
|
{
|
|
|
|
[Flags]
|
|
|
|
public enum RestaurantCookType : uint
|
|
|
|
{
|
|
|
|
OpenCookUi = 0,
|
|
|
|
}
|
|
|
|
|
|
|
|
public class RestaurantCookInteractionSubsystem : MonoBehaviour, IInteractionSubsystemObject<RestaurantCookType>
|
|
|
|
{
|
|
|
|
[SerializeField] protected RestaurantCookType _cookType = RestaurantCookType.OpenCookUi;
|
|
|
|
|
|
|
|
public RestaurantCookType GetInteractionSubsystemType()
|
|
|
|
{
|
|
|
|
return _cookType;
|
|
|
|
}
|
|
|
|
|
2025-08-27 04:18:44 +00:00
|
|
|
public void SetInteractionSubsystemType(RestaurantCookType inValue)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2025-08-27 04:05:08 +00:00
|
|
|
public virtual void InitializeSubsystem()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public virtual bool CanInteract()
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
public virtual bool OnInteracted(IInteractor interactor, ScriptableObject payloadSo = null)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
public ScriptableObject GetPayload()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|