Add password support to multiplayer rooms

Introduces a password field to the Room model and database schema, enabling password-protected multiplayer rooms. Adds LIO router endpoints for room creation, user join/leave, and updates related imports and router registrations.
This commit is contained in:
咕谷酱
2025-08-23 18:51:58 +08:00
committed by MingxuanGame
parent 5959254de6
commit e0aae80f4b
5 changed files with 342 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ from app.signalr import signalr_router as signalr_router
from .auth import router as auth_router
from .fetcher import fetcher_router as fetcher_router
from .file import file_router as file_router
from .lio import router as lio_router
from .notification import chat_router as chat_router
from .private import private_router as private_router
from .redirect import (
@@ -21,6 +22,7 @@ __all__ = [
"chat_router",
"fetcher_router",
"file_router",
"lio_router",
"private_router",
"redirect_api_router",
"redirect_router",