Buckets:

download
raw
940 Bytes
from __future__ import annotations
from enum import Enum
import randovania
class DevelopmentState(Enum):
"""Indicates in which builds of Randovania a game is available in."""
STABLE = "stable"
"""The game is available in stable builds, dev builds or when running RDV from source."""
STAGING = "staging"
"""The game is available in dev-builds or when running RDV from source."""
SOURCE_ONLY = "source"
"""Indicates that the game is only available when running RDV from source."""
@property
def is_stable(self) -> bool:
return self == DevelopmentState.STABLE
def can_view(self, *, from_bot: bool = False) -> bool:
if self.is_stable:
return True
if self == DevelopmentState.STAGING:
return randovania.is_dev_version()
if from_bot:
return randovania.is_dev_version()
else:
return not randovania.is_frozen()

Xet Storage Details

Size:
940 Bytes
·
Xet hash:
f9aa451220dc00dbfbed2e066e3e97591197930577985c879e670ac0124fef95

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.