FunGame-Core/Library/Common/Event/RegisterEventArgs.cs
2023-03-31 20:34:40 +08:00

20 lines
602 B
C#

namespace Milimoe.FunGame.Core.Library.Common.Event
{
public class RegisterEventArgs : GeneralEventArgs
{
public string Username { get; set; } = "";
public string Password { get; set; } = "";
public string Email { get; set; } = "";
public RegisterEventArgs(params object[]? objs)
{
if (objs != null)
{
if (objs.Length > 0) Username = (string)objs[0];
if (objs.Length > 1) Password = (string)objs[1];
if (objs.Length > 2) Email = (string)objs[2];
}
}
}
}