30 lines
1.6 KiB
C#
30 lines
1.6 KiB
C#
using UnityEngine;
|
|
|
|
namespace TKS.OutGame
|
|
{
|
|
/// <summary>투기장(arena.csv key,value · 기획서 §9 · S13) — 하루 입장 · 메달(승/패) · 샘플 상대 수 · 시즌 · 순위 보상 · 조각 상점(C 단계 추가 키).</summary>
|
|
public class ArenaConfig : ScriptableObject
|
|
{
|
|
public KeyValueList values = new KeyValueList();
|
|
|
|
public int EntriesPerDay { get { return values.I("entries_per_day"); } }
|
|
public int MedalWin { get { return values.I("medal_win"); } }
|
|
public int MedalLose { get { return values.I("medal_lose"); } }
|
|
public int SampleLineups { get { return values.I("sample_lineups"); } }
|
|
public int SeasonDays { get { return values.I("season_days"); } }
|
|
public int RewardTop10Gem { get { return values.I("rank_reward_top10_gem"); } }
|
|
public int RewardTop100Gem { get { return values.I("rank_reward_top100_gem"); } }
|
|
public bool DefenseAi { get { return values.I("defense_ai") > 0; } }
|
|
public int ShopShards { get { return values.I("shop_shards"); } }
|
|
public int ShopPrice { get { return values.I("shop_price"); } }
|
|
public int ShopDaily { get { return values.I("shop_daily"); } }
|
|
public int SampleScoreStep { get { return values.I("sample_score_step"); } }
|
|
|
|
public static readonly string[] RequiredKeys =
|
|
{
|
|
"entries_per_day", "medal_win", "medal_lose", "sample_lineups", "season_days", "rank_reward_top10_gem", "rank_reward_top100_gem", "defense_ai",
|
|
"shop_shards", "shop_price", "shop_daily", "sample_score_step",
|
|
};
|
|
}
|
|
}
|