mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-16 06:44:41 +01:00
Initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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)
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user