You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.4 KiB
40 lines
1.4 KiB
using System.Collections.Generic;
|
|
|
|
public partial class MonthlyCardDesc
|
|
{
|
|
public Dictionary<string, int> buffer = new();
|
|
}
|
|
|
|
public static class MonthlyCardBuffId
|
|
{
|
|
public const string AddSweepTimes = "addSweepTimes"; //
|
|
public const string ExpGetUp = "expGetUp";//
|
|
public const string RwdBattleCondUp = "rwdBattleCondUp";
|
|
public const string GoldGetUp = "GoldGetUp";//
|
|
public const string PowerLimitUp = "powerLimitUp";//
|
|
public const string AdBuyPowerTimes = "adBuyPowerTimes";//
|
|
public const string LuckPropUp = "luckPropUp";
|
|
}
|
|
|
|
public partial class MonthlyCardDescMgr
|
|
{
|
|
public override void ReadComplete()
|
|
{
|
|
var descList = Instance.ItemTable;
|
|
if (descList == null)
|
|
{
|
|
return;
|
|
}
|
|
|
|
foreach (MonthlyCardDesc desc in descList.Values)
|
|
{
|
|
desc.buffer[MonthlyCardBuffId.AddSweepTimes] = desc.addSweepTimes;
|
|
desc.buffer[MonthlyCardBuffId.ExpGetUp] = desc.expGetUp;
|
|
//desc.buffer[MonthlyCardBuffId.RwdBattleCondUp] = desc.rwdBattleCondUp;
|
|
desc.buffer[MonthlyCardBuffId.GoldGetUp] = desc.GoldGetUp;
|
|
desc.buffer[MonthlyCardBuffId.PowerLimitUp] = desc.powerLimitUp;
|
|
desc.buffer[MonthlyCardBuffId.AdBuyPowerTimes] = desc.adBuyPowerTimes;
|
|
desc.buffer[MonthlyCardBuffId.LuckPropUp] = desc.luckPropUp;
|
|
}
|
|
}
|
|
}
|