mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2026-11-06 15:21:59 +08:00
Add Mail editor (WIP)
Update Drop editor indexes
This commit is contained in:
1 parent
150e3a1132
commit
8a65120e47
12 files changed
+9603
-6162
No files matched your search
@@ -0,0 +1,28 @@
|
||||
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}";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user