优化游戏下载页版本分类功能 (#4141)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Glavo
2025-08-11 16:52:03 +08:00
committed by GitHub
parent de221b9dae
commit ba58905c9c
5 changed files with 248 additions and 266 deletions

View File

@@ -98,6 +98,10 @@ public abstract class GameVersionNumber implements Comparable<GameVersionNumber>
this.value = value;
}
public boolean isSpecial() {
return this instanceof Special;
}
enum Type {
PRE_CLASSIC, CLASSIC, INFDEV, ALPHA, BETA, NEW
}