Local Arena

This commit is contained in:
drmext 2023-05-20 19:50:11 +00:00
parent 032cf5cd40
commit d3a3cf0bae
No known key found for this signature in database
GPG Key ID: F1ED48FFE79A6961
4 changed files with 9 additions and 9 deletions

View File

@ -36,12 +36,12 @@ async def facility_get(request: Request):
E("id", 3, __type="str"),
),
E.portfw(
E.globalip(config.ip, __type="ip4"),
E.globalport(5704, __type="u16"),
E.privateport(5705, __type="u16"),
E.globalip(request.client.host, __type="ip4"),
E.globalport(5700, __type="u16"),
E.privateport(5700, __type="u16"),
),
E.public(
E.flag(0, __type="u8"),
E.flag(1, __type="u8"),
E.name(config.arcade, __type="str"),
E.latitude(0, __type="str"),
E.longitude(0, __type="str"),

View File

@ -49,7 +49,7 @@ async def iidx30gamesystem_systeminfo(request: Request):
*[
E.arena_music_difficult(
E.play_style(s, __type="s32"),
E.arena_class(-1, __type="s32"),
E.arena_class(19, __type="s32"),
E.low_difficult(1, __type="s32"),
E.high_difficult(12, __type="s32"),
E.is_leggendaria(1, __type="bool"),
@ -60,7 +60,7 @@ async def iidx30gamesystem_systeminfo(request: Request):
*[
E.arena_cpu_define(
E.play_style(s, __type="s32"),
E.arena_class(-1, __type="s32"),
E.arena_class(19, __type="s32"),
E.grade_id(18, __type="s32"),
E.low_music_difficult(8, __type="s32"),
E.high_music_difficult(12, __type="s32"),

View File

@ -4,7 +4,7 @@ from fastapi import APIRouter, Request, Response
from core_common import core_process_request, core_prepare_response, E
router = APIRouter(prefix="/local2", tags=["local2"])
router = APIRouter(prefix="/lobby", tags=["lobby"])
router.model_whitelist = ["LDJ"]

View File

@ -291,7 +291,7 @@ async def iidx30pc_get(request: Request):
E.arena_data(
E.achieve_data(
play_style=0,
arena_class=-1,
arena_class=19,
rating_value=90,
win_count=0,
now_winning_streak_count=0,
@ -302,7 +302,7 @@ async def iidx30pc_get(request: Request):
),
E.achieve_data(
play_style=1,
arena_class=-1,
arena_class=19,
rating_value=90,
win_count=0,
now_winning_streak_count=0,