Skip to content

Commit

Permalink
🐛 修正 TETR.IO 的字段类型 (#518)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoucandanghehe authored Nov 12, 2024
1 parent 3d7b903 commit ce81015
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 ce81015

Please sign in to comment.