更新最新框架

This commit is contained in:
Bob.Song
2025-11-11 17:43:11 +08:00
parent 7b10d4cb31
commit fd3c6ec38d
1048 changed files with 11041 additions and 87002 deletions

View File

@@ -59,7 +59,7 @@ internal static class AuthenticationComponentSystem
}
var scene = self.Scene;
var worldDateBase = scene.World.DataBase; //DateBase
var worldDateBase = scene.World.Database; //DateBase
var usernameHashCode = userName.GetHashCode();
using (var @lock =
@@ -176,7 +176,7 @@ internal static class AuthenticationComponentSystem
}
// 2、数据库查询该账号是否存在
var worldDateBase = scene.World.DataBase;
var worldDateBase = scene.World.Database;
var isExist = await worldDateBase.Exist<Account>(d => d.Username == username);
if (isExist)
{
@@ -239,7 +239,7 @@ internal static class AuthenticationComponentSystem
using (var @lock = await scene.CoroutineLockComponent.Wait((int)LockType.AuthenticationRemoveLock, accountId))
{
var worldDateBase = scene.World.DataBase;
var worldDateBase = scene.World.Database;
await worldDateBase.Remove<Account>(accountId);
Log.Info($"Remove source:{source} accountId:{accountId}");
return 0;