private void AccountSuccessLogin(object sender, AccountLoginEventArgs e) { e.Client.AssignAccount(e.Account); PacketReference.SendGameServerList(e.Client, ServerState.ShardName); Console.WriteLine("Account has logged in, Username: {0} Password {1}", e.Account.Username, e.Account.Password); }
private void AccountLoginFail(object sender, AccountLoginEventArgs e) { Console.WriteLine("Account Failed to Login, Username: {0} Password {1}", e.Account.Username, e.Account.Password); PacketReference.SendClientLoginFailure(e.Client, 0x00); }