mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-05 06:17:57 +08:00
- Code refactoring - Fix a bug that the other player will not become the host of the room at once, when the player disconnect in link play. > Maybe add many unknown bugs. XD > The song database `arcsong.db` will not used in the future. You can use a tool in `tool` folder to import old data.
23 lines
616 B
Python
23 lines
616 B
Python
from flask import Blueprint
|
|
from setting import Config
|
|
from . import user
|
|
from . import auth
|
|
from . import friend
|
|
from . import score
|
|
from . import world
|
|
from . import purchase
|
|
from . import present
|
|
from . import others
|
|
from . import multiplayer
|
|
|
|
bp = Blueprint('server', __name__, url_prefix=Config.GAME_API_PREFIX)
|
|
bp.register_blueprint(user.bp)
|
|
bp.register_blueprint(auth.bp)
|
|
bp.register_blueprint(friend.bp)
|
|
bp.register_blueprint(score.bp)
|
|
bp.register_blueprint(world.bp)
|
|
bp.register_blueprint(purchase.bp)
|
|
bp.register_blueprint(present.bp)
|
|
bp.register_blueprint(others.bp)
|
|
bp.register_blueprint(multiplayer.bp)
|