2026-06-02 10:26:44 +08:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using SGModule.ConfigLoader;
|
|
|
|
|
|
2026-06-02 11:11:47 +08:00
|
|
|
namespace ZooMatch
|
2026-06-02 10:26:44 +08:00
|
|
|
{
|
|
|
|
|
[ConfigKey("TurnOffRewards")]
|
|
|
|
|
public class TurnOffRewards
|
|
|
|
|
{
|
|
|
|
|
public int Reward_Type;
|
|
|
|
|
public float quantity;
|
|
|
|
|
public int weight;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class LevelAttemptsModel
|
|
|
|
|
{
|
|
|
|
|
private static LevelAttempts _item = ConfigSystem.GetConfig<LevelAttempts>().FirstOrDefault();
|
|
|
|
|
|
|
|
|
|
public static List<string> config_name_list { get; private set; } = !string.IsNullOrEmpty(_item?.user_name)
|
|
|
|
|
? _item.user_name.Split(',').ToList()
|
|
|
|
|
: new List<string>();
|
|
|
|
|
|
|
|
|
|
public static List<string> config_money_list { get; private set; } = !string.IsNullOrEmpty(_item?.amount)
|
|
|
|
|
? _item.amount.Split(',').ToList()
|
|
|
|
|
: new List<string>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ConfigKey("LevelAttempts")]
|
|
|
|
|
public class LevelAttempts
|
|
|
|
|
{
|
|
|
|
|
public int id;
|
|
|
|
|
public string user_name;
|
|
|
|
|
public string amount;
|
|
|
|
|
}
|
|
|
|
|
}
|