GameServer + packet types, we aren't parsing yet

This commit is contained in:
rfi
2023-10-08 21:12:01 +07:00
parent f753a0ffc4
commit 0eacd1bfe2
10 changed files with 306 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ namespace AscNet.Common.Database
public static Account Create(string username, string password)
{
if (collection.AsQueryable().FirstOrDefault(x => x.Username == username) is not null)
throw new ArgumentException("Username is already registered!", "username");
throw new ArgumentException("Username is already registered!", nameof(username));
Account account = new()
{