mirror of
https://github.com/drmext/MonkeyBusiness.git
synced 2024-11-27 17:00:59 +01:00
Local Arena
This commit is contained in:
parent
032cf5cd40
commit
d3a3cf0bae
@ -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"),
|
||||
|
@ -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"),
|
||||
|
@ -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"]
|
||||
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user