mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-06-08 23:19:14 +08:00
29 lines
616 B
C#
29 lines
616 B
C#
namespace GrasscutterTools.Game.Mail
|
|
{
|
|
/// <summary>
|
|
/// 附件
|
|
/// </summary>
|
|
public struct MailItem
|
|
{
|
|
/// <summary>
|
|
/// 物品ID
|
|
/// </summary>
|
|
public int ItemId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物品数量
|
|
/// </summary>
|
|
public int ItemCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物品等级
|
|
/// </summary>
|
|
public int ItemLevel { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"{ItemId}:{GameData.Items[ItemId]} x{ItemCount} lv{ItemLevel}";
|
|
}
|
|
}
|
|
}
|