mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-13 21:34:43 +01:00
21 lines
578 B
Python
21 lines
578 B
Python
import betterproto
|
|
from game_server.net.session import Session
|
|
from lib.proto import (
|
|
GetEliteChapterCompensationInfoReq,
|
|
GetEliteChapterCompensationInfoRsp,
|
|
EliteChapterCompensationInfo
|
|
|
|
)
|
|
|
|
async def handle(session: Session, msg: GetEliteChapterCompensationInfoReq) -> betterproto.Message:
|
|
return GetEliteChapterCompensationInfoRsp(
|
|
retcode=0,
|
|
chapter_list=[
|
|
EliteChapterCompensationInfo(
|
|
chapter_id=id,
|
|
has_taken_compensation=True
|
|
)
|
|
for id in range(1,35)
|
|
]
|
|
)
|