From 41dddafa6e681b8c7ff270be260ab51b48c2b452 Mon Sep 17 00:00:00 2001 From: shoucandanghehe Date: Tue, 12 Nov 2024 19:05:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E6=AD=A3=20TETR.IO=20?= =?UTF-8?q?=E7=9A=84=E5=AD=97=E6=AE=B5=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../games/tetrio/api/schemas/base/solo.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/base/solo.py b/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/base/solo.py index f64b5d82..d4b04931 100644 --- a/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/base/solo.py +++ b/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/base/solo.py @@ -12,11 +12,11 @@ class Time(BaseModel): zero: bool locked: bool prev: int - frameoffset: int + frameoffset: int | None = None class Stats(BaseModel): - seed: int | None = None # ?: 不知道是之后都没有了还是还会有 + seed: float | None = None # ?: 不知道是之后都没有了还是还会有 lines: int level_lines: int level_lines_needed: int @@ -24,8 +24,8 @@ class Stats(BaseModel): holds: int = 0 time: Time | None = None # ?: 不知道是之后都没有了还是还会有 score: int - zenlevel: int - zenprogress: int + zenlevel: int | None = None + zenprogress: int | None = None level: int combo: int currentcombopower: int | None = None