mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-12-13 09:21:35 +08:00
Implement send mail and mail list
Optimize duplicate code
This commit is contained in:
@@ -45,5 +45,13 @@ namespace GrasscutterTools.Game.Mail
|
||||
/// 发送时间
|
||||
/// </summary>
|
||||
public DateTime SendTime { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
if (SendToAll)
|
||||
return $"ToAll: [{Title}] {Content} | {SendTime}";
|
||||
else
|
||||
return $"To[{Recipient}]: [{Title}] {Content} | {SendTime}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user