2024-07-06 12:13:58 +00:00
|
|
|
using System;
|
|
|
|
using BlueWater.Interfaces;
|
|
|
|
using Sirenix.OdinInspector;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
namespace BlueWater.Items
|
|
|
|
{
|
|
|
|
public enum FoodType
|
|
|
|
{
|
|
|
|
None = 0,
|
|
|
|
SkewerGrill,
|
|
|
|
Soup,
|
|
|
|
IronPlateMeat,
|
|
|
|
Dessert,
|
|
|
|
}
|
|
|
|
|
|
|
|
public enum FoodTaste
|
|
|
|
{
|
|
|
|
None = 0,
|
|
|
|
Savory,
|
|
|
|
Spicy,
|
|
|
|
Salty,
|
|
|
|
Sweet
|
|
|
|
}
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
public class FoodData : IIdx
|
|
|
|
{
|
|
|
|
[BoxGroup("Json 데이터 영역")]
|
|
|
|
[field: SerializeField, Tooltip("고유 식별 ID"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public int Idx { get; set; }
|
|
|
|
|
|
|
|
[field: SerializeField, Tooltip("이름"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
[field: SerializeField, Tooltip("음식의 종류"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public FoodType Type { get; set; }
|
|
|
|
|
|
|
|
[field: SerializeField, Tooltip("음식의 맛"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public FoodTaste Taste { get; set; }
|
|
|
|
|
|
|
|
[field: SerializeField, Tooltip("음식 제작 시간"), BoxGroup("Json 데이터 영역")]
|
2024-07-08 20:06:22 +00:00
|
|
|
public int CookGauge { get; set; }
|
2024-07-06 12:13:58 +00:00
|
|
|
|
|
|
|
[field: SerializeField, Tooltip("음식 제작에 나오는 접시 수"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public int Plate { get; set; }
|
|
|
|
|
|
|
|
[field: SerializeField, Tooltip("1번 재료 식별 Idx"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public string IngredientIdx1 { get; set; }
|
|
|
|
|
|
|
|
[field: SerializeField, Tooltip("1번 재료 수량 Idx"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public string IngredientQuantity1 { get; set; }
|
|
|
|
|
|
|
|
[field: SerializeField, Tooltip("2번 재료 식별 Idx"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public string IngredientIdx2 { get; set; }
|
|
|
|
|
|
|
|
[field: SerializeField, Tooltip("2번 재료 수량 Idx"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public string IngredientQuantity2 { get; set; }
|
|
|
|
|
|
|
|
[field: SerializeField, Tooltip("3번 재료 식별 Idx"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public string IngredientIdx3 { get; set; }
|
|
|
|
|
|
|
|
[field: SerializeField, Tooltip("3번 재료 수량 Idx"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public string IngredientQuantity3 { get; set; }
|
|
|
|
|
|
|
|
[field: SerializeField, Tooltip("4번 재료 식별 Idx"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public string IngredientIdx4 { get; set; }
|
|
|
|
|
|
|
|
[field: SerializeField, Tooltip("4번 재료 수량 Idx"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public string IngredientQuantity4 { get; set; }
|
|
|
|
|
|
|
|
[field: SerializeField, Tooltip("5번 재료 식별 Idx"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public string IngredientIdx5 { get; set; }
|
|
|
|
|
|
|
|
[field: SerializeField, Tooltip("5번 재료 수량 Idx"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public string IngredientQuantity5 { get; set; }
|
|
|
|
}
|
|
|
|
}
|