12 lines
327 B
Python
12 lines
327 B
Python
import betterproto
|
|
from game_server.net.session import PlayerSession
|
|
from rail_proto.lib import (
|
|
SetClientPausedCsReq,
|
|
SetClientPausedScRsp
|
|
)
|
|
|
|
async def handle(session: PlayerSession, msg: SetClientPausedCsReq) -> betterproto.Message:
|
|
return SetClientPausedScRsp(
|
|
retcode=0,
|
|
paused=msg.paused
|
|
) |