mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-10-23 20:29:45 +08:00
Implement send mail and mail list
Optimize duplicate code
This commit is contained in:
@@ -22,7 +22,12 @@
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{ItemId}:{GameData.Items[ItemId]} x{ItemCount} lv{ItemLevel}";
|
||||
if (ItemLevel > 1)
|
||||
return $"{ItemId}:{GameData.Items[ItemId]} x{ItemCount} lv{ItemLevel}";
|
||||
else if (ItemCount > 1)
|
||||
return $"{ItemId}:{GameData.Items[ItemId]} x{ItemCount}";
|
||||
else
|
||||
return $"{ItemId}:{GameData.Items[ItemId]}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user