//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace G { using System.Collections; using System.Collections.Generic; using F; using F.Item; /// /// Generated from: mail.xlsx /// 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); } } }