mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-20 11:09:35 +08:00
20 lines
600 B
C#
20 lines
600 B
C#
namespace Milimoe.FunGame.Core.Library.Common.Event
|
|
{
|
|
public class LoginEventArgs : GeneralEventArgs
|
|
{
|
|
public string Username { get; set; } = "";
|
|
public string Password { get; set; } = "";
|
|
public string AutoKey { get; set; } = "";
|
|
|
|
public LoginEventArgs(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) AutoKey = (string)objs[2];
|
|
}
|
|
}
|
|
}
|
|
}
|