mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-14 13:54:43 +01:00
Initial commit
This commit is contained in:
20
game_server/packet/handlers/GetRegionUidRangeReq.py
Normal file
20
game_server/packet/handlers/GetRegionUidRangeReq.py
Normal file
@@ -0,0 +1,20 @@
|
||||
import betterproto
|
||||
from game_server.net.session import Session
|
||||
from lib.proto import (
|
||||
GetRegionUidRangeReq,
|
||||
GetRegionUidRangeRsp,
|
||||
RegionUidRange
|
||||
)
|
||||
|
||||
async def handle(session: Session, msg: GetRegionUidRangeReq) -> betterproto.Message:
|
||||
return GetRegionUidRangeRsp(
|
||||
retcode=0,
|
||||
local_region_name="overseas01",
|
||||
region_uid_range_list=[
|
||||
RegionUidRange(
|
||||
end_uid=50000000,
|
||||
region_name="overseas01",
|
||||
start_uid=1000
|
||||
)
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user