Files
g0v0-server/app/router/signalr/hub/spectator.py
2025-07-24 20:23:26 +08:00

18 lines
406 B
Python

from __future__ import annotations
from app.models.spectator_hub import FrameDataBundle, SpectatorState
from .hub import Client, Hub
class SpectatorHub(Hub):
async def BeginPlaySession(
self, client: Client, score_token: int, state: SpectatorState
) -> None:
...
async def SendFrameData(
self, client: Client, frame_data: FrameDataBundle
) -> None:
...