feat: Upgrade server with HyNB v2.4 modular architecture, minigames, admin GM web panel, companion summons, and car radio

This commit is contained in:
CAtlas0784 committed 2026-10-29 02:44:24 +07:00
1 parent 74e2963a12
commit 3e5adf1dc5
1571 files changed
+336468 -6348

No files matched your search

@@ -0,0 +1,27 @@
from dataclasses import dataclass
from pip._vendor.packaging.version import Version
from pip._vendor.packaging.version import parse as parse_version
from pip._internal.models.link import Link
@dataclass(frozen=True, slots=True)
class InstallationCandidate:
"""Represents a potential "candidate" for installation."""
name: str
version: Version
link: Link
locked: bool
def __init__(
self, name: str, version: str, link: Link, locked: bool = False
) -> None:
object.__setattr__(self, "name", name)
object.__setattr__(self, "version", parse_version(version))
object.__setattr__(self, "link", link)
object.__setattr__(self, "locked", locked)
def __str__(self) -> str:
return f"{self.name!r} candidate (version {self.version} at {self.link})"