2025-05-18 01:04:31 +08:00

45 lines
974 B
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace G
{
using System.Collections;
using System.Collections.Generic;
using F;
using F.Item;
/// <summary>
/// Generated from: mail.xlsx
/// </summary>
public partial class ItemMail
{
public Item.ItemInfo[] rewardInfos;
public string rewardText
{
get
{
string result = "";
for (int i = 0; i < rewardInfos.Length;)
{
result += $"{rewardInfos[i].id},{rewardInfos[i].count}";
i++;
if (i < rewardInfos.Length)
result += "|";
}
return result;
}
}
public override void Init()
{
rewardInfos = Item.ItemInfo.FromArray(rewards);
}
}
}