2024-11-28 23:07:50 +00:00
|
|
|
using System;
|
2025-02-10 02:13:46 +00:00
|
|
|
using DDD.Interfaces;
|
2024-12-06 13:20:10 +00:00
|
|
|
using Newtonsoft.Json;
|
2024-11-28 23:07:50 +00:00
|
|
|
using Sirenix.OdinInspector;
|
|
|
|
using UnityEngine;
|
|
|
|
|
2025-02-10 02:13:46 +00:00
|
|
|
namespace DDD
|
2024-11-28 23:07:50 +00:00
|
|
|
{
|
|
|
|
[Serializable]
|
|
|
|
public class CardShopData : IIdx
|
|
|
|
{
|
|
|
|
[BoxGroup("Json 데이터 영역")]
|
2024-12-06 13:20:10 +00:00
|
|
|
[JsonProperty]
|
2024-11-28 23:07:50 +00:00
|
|
|
[field: SerializeField, Tooltip("Idx"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public string Idx { get; set; }
|
|
|
|
|
2024-12-06 13:20:10 +00:00
|
|
|
[JsonProperty]
|
2024-11-28 23:07:50 +00:00
|
|
|
[field: SerializeField, Tooltip("확률"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public int Ratio { get; set; }
|
|
|
|
|
2024-12-06 13:20:10 +00:00
|
|
|
[JsonProperty]
|
2024-11-28 23:07:50 +00:00
|
|
|
[field: SerializeField, Tooltip("가격"), BoxGroup("Json 데이터 영역")]
|
|
|
|
public int Price { get; set; }
|
|
|
|
}
|
|
|
|
}
|