chore: formatting
This commit is contained in:
parent
927ec4e5a1
commit
ec797a5885
6 changed files with 24 additions and 15 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
// // Copyright (c) 2023 Timothy Schenk.Subject to the GNU AGPL Version 3 License.
|
||||||
|
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NetCoreServer;
|
using NetCoreServer;
|
||||||
using Server.DB;
|
using Server.DB;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// // Copyright (c) 2023 Timothy Schenk.Subject to the GNU AGPL Version 3 License.
|
||||||
|
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using Konscious.Security.Cryptography;
|
using Konscious.Security.Cryptography;
|
||||||
|
@ -31,7 +33,8 @@ public class LoginHandler : IPacketHandler<LoginInfoPacket>
|
||||||
{
|
{
|
||||||
LoginResponseReason loginResponseReason;
|
LoginResponseReason loginResponseReason;
|
||||||
_logger.LoginData(packet.Username, packet.Password);
|
_logger.LoginData(packet.Username, packet.Password);
|
||||||
var account = await _wonderkingContext.Accounts.FirstOrDefaultAsync(a => a.Username == packet.Username).ConfigureAwait(false);
|
var account = await _wonderkingContext.Accounts.FirstOrDefaultAsync(a => a.Username == packet.Username)
|
||||||
|
.ConfigureAwait(false);
|
||||||
|
|
||||||
if (account == null)
|
if (account == null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// // Copyright (c) 2023 Timothy Schenk.Subject to the GNU AGPL Version 3 License.
|
||||||
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace Wonderking.Game.Data.Item;
|
namespace Wonderking.Game.Data.Item;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// // Copyright (c) 2023 Timothy Schenk.Subject to the GNU AGPL Version 3 License.
|
||||||
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace Wonderking.Game.Data.Item;
|
namespace Wonderking.Game.Data.Item;
|
||||||
|
|
Loading…
Add table
Reference in a new issue