2026-08-09 17:57:46 +08:00
|
|
|
|
using System;
|
2026-10-19 19:02:29 +08:00
|
|
|
|
using System.Collections.Generic;
|
2026-02-03 11:35:19 +08:00
|
|
|
|
|
|
|
|
|
|
namespace Assets.MyGame.Scripts.Net.API.GameConfig_SubClass
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2026-10-19 19:02:29 +08:00
|
|
|
|
/// 签到活动配置(Swagger: SignActivityConfig,ActivityConfig.signActivityConfig)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class SignActivityConfig
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 是否开启
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public bool isOpen;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 不可中断:true=漏签不回退(按累计次数循环);false=可中断(漏签重置回第1天)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public bool cannotInterrupt;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 7 天奖励配置(按 day 1~7)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public List<SignConfig> days;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 单日签到奖励配置(Swagger: SignConfig)
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class SignConfig
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2026-10-19 19:02:29 +08:00
|
|
|
|
/// 第几天(1~7)
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
2026-10-19 19:02:29 +08:00
|
|
|
|
public int day;
|
2026-02-03 11:35:19 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 名称
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string name;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 图标
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string icon;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-10-19 19:02:29 +08:00
|
|
|
|
/// 奖励列表(GiftConfig.type: 1=金币 2=钻石 3=道具)
|
2026-02-03 11:35:19 +08:00
|
|
|
|
/// </summary>
|
2026-10-19 19:02:29 +08:00
|
|
|
|
public List<GiftConfig> giftList;
|
2026-02-03 11:35:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|