CapersProject/Assets/02.Scripts/BlueWater/Prop/Tycoon/BartenderTable.cs

69 lines
2.3 KiB
C#
Raw Normal View History

2024-10-27 09:44:22 +00:00
using System;
2025-02-10 02:13:46 +00:00
using DDD.Interfaces;
using DDD.Items;
using DDD.Npcs.Crews;
using DDD.Npcs.Crews.Server;
2024-11-25 12:36:48 +00:00
using UnityEngine;
2024-10-20 17:21:39 +00:00
2025-02-10 02:13:46 +00:00
namespace DDD.Tycoons
2024-10-20 17:21:39 +00:00
{
public class BartenderTable : ServingTable
{
2025-02-17 21:47:56 +00:00
// [SerializeField]
// private Sprite _activeSprite;
//
// [SerializeField]
// private Sprite _inactiveSprite;
//
// protected override void Awake()
// {
// base.Awake();
//
// VisualLook.sprite = _inactiveSprite;
// }
//
// public void Active()
// {
// VisualLook.sprite = _activeSprite;
// }
//
// public override void Interaction()
// {
// // 테이블의 칵테일을 가져가는 경우
// if (CurrentPickupItem != null)
// {
// //CocktailData currentCocktailData = ItemManager.Instance.CocktailDataSo.GetDataByIdx(CurrentPickupItem.Idx);
// //EventManager.InvokePickupCocktail(currentCocktailData);
// CocktailGlassImage.sprite = null;
// CocktailGlassImage.enabled = false;
// // InteractionCanvas.BalloonUi.DiscardItem();
// CurrentPickupItem = null;
// OrderedCustomer = null;
// }
// }
2024-11-25 12:36:48 +00:00
2025-02-17 21:47:56 +00:00
// public override bool CanInteraction()
// {
// return CurrentPickupItem != null && !CurrentTycoonPlayer.TycoonPickupHandler.IsPickedUpAnything();
// }
2024-10-22 12:41:31 +00:00
2025-02-17 21:47:56 +00:00
// public override bool CanInteractionCrew(Crew crew = null)
// {
// var servingCrew = (ServerCrew)crew;
// if (!servingCrew)
// {
// throw new Exception("상호작용 오브젝트 오류");
// }
//
// return servingCrew.CurrentActionType == ActionType.TakeCocktail && CurrentPickupItem != null && OrderedCustomer;
// }
//
// public void CompleteMakingCocktail(IPickup cocktailData)
// {
// CurrentPickupItem = cocktailData;
// CocktailGlassImage.sprite = CurrentPickupItem.Sprite;
// CocktailGlassImage.enabled = true;
// // InteractionCanvas.BalloonUi.SetItemImage(CurrentPickupItem);
// }
2024-10-20 17:21:39 +00:00
}
}