mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-22 03:59:35 +08:00

* 添加了 SQLHelperFactory;完善了物品的描述信息;一些代码风格修改 * 构造的物品默认 1 级;为服务器插件添加控制器;添加邮件发送器的工厂;在物品中添加魔法技能组
25 lines
815 B
C#
25 lines
815 B
C#
using Milimoe.FunGame.Core.Interface.Base;
|
|
|
|
namespace Milimoe.FunGame.Core.Model
|
|
{
|
|
public class SmtpClientInfo : IMailSender
|
|
{
|
|
public string SenderMailAddress { get; set; } = "";
|
|
public string SenderName { get; set; } = "";
|
|
public string SenderPassword { get; set; } = "";
|
|
public string Host { get; set; } = "";
|
|
public int Port { get; set; } = 587;
|
|
public bool SSL { get; set; } = false;
|
|
|
|
internal SmtpClientInfo(string senderMailAddress, string senderName, string senderPassword, string host, int port, bool ssl)
|
|
{
|
|
SenderMailAddress = senderMailAddress;
|
|
SenderName = senderName;
|
|
SenderPassword = senderPassword;
|
|
Host = host;
|
|
Port = port;
|
|
SSL = ssl;
|
|
}
|
|
}
|
|
}
|