mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-14 05:44:34 +01:00
Initial commit
This commit is contained in:
20
game_server/packet/handlers/GetPhonePendantDataReq.py
Normal file
20
game_server/packet/handlers/GetPhonePendantDataReq.py
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user