Skip to content

Commit

Permalink
🐛 修正 TETR.IO 的字段类型
Browse files Browse the repository at this point in the history
  • Loading branch information
shoucandanghehe committed Nov 12, 2024
1 parent c5d4994 commit 41dddaf
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ 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
inputs: int
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
Expand Down

0 comments on commit 41dddaf

Please sign in to comment.