новый лендинг

This commit is contained in:
2026-04-26 16:09:08 +04:00
parent 103e2bc4cf
commit 7701aa16c0
24 changed files with 6368 additions and 341 deletions
@@ -277,6 +277,20 @@ class AzerothCoreAccountService
return (int) config('moonwell.registration.realm_id', -1);
}
public function onlinePlayerCount(): ?int
{
try {
return (int) $this->charactersConnection()
->table('characters')
->where('online', 1)
->count();
} catch (\Throwable $exception) {
report($exception);
return null;
}
}
private function authConnection()
{
return DB::connection(config('moonwell.auth_connection'));