mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-13 21:34:43 +01:00
21 lines
587 B
Python
21 lines
587 B
Python
import betterproto
|
|
from game_server.net.session import Session
|
|
from lib.proto import (
|
|
GetPhonePendantDataReq,
|
|
GetPhonePendantDataRsp,
|
|
PhonePendant
|
|
)
|
|
|
|
async def handle(session: Session, msg: GetPhonePendantDataReq) -> betterproto.Message:
|
|
phone = [350005,350011,350012,350013,350014,350015,350026,350041,350044,350045,350049,350051,350053,350054,350061,350305]
|
|
return GetPhonePendantDataRsp(
|
|
retcode=0,
|
|
is_all=True,
|
|
phone_pendant_list=[
|
|
PhonePendant(
|
|
id=id
|
|
)
|
|
for id in phone
|
|
]
|
|
)
|