1.7.13 , client_ping, player account privacy added

added _ba.get_client_ping(113)
and _ba.hide_player_device_id(True) . to hide players device id from roster of clients.
This commit is contained in:
Ayush Saini 2022-11-06 01:04:52 +05:30
parent 59730e19b3
commit e5034cbb6f
282 changed files with 35005 additions and 23205 deletions

View file

@ -26,6 +26,7 @@ class AssetPackageFlavor(Enum):
class AssetType(Enum):
"""Types for individual assets within a package."""
TEXTURE = 'texture'
CUBE_TEXTURE = 'cube_texture'
SOUND = 'sound'
@ -38,8 +39,10 @@ class AssetType(Enum):
@dataclass
class AssetPackageFlavorManifest:
"""A manifest of asset info for a specific flavor of an asset package."""
cloudfiles: Annotated[dict[str, str],
IOAttrs('cloudfiles')] = field(default_factory=dict)
cloudfiles: Annotated[dict[str, str], IOAttrs('cloudfiles')] = field(
default_factory=dict
)
@ioprepped
@ -48,8 +51,9 @@ class AssetPackageBuildState:
"""Contains info about an in-progress asset cloud build."""
# Asset names still being built.
in_progress_builds: Annotated[list[str],
IOAttrs('b')] = field(default_factory=list)
in_progress_builds: Annotated[list[str], IOAttrs('b')] = field(
default_factory=list
)
# The initial number of assets needing to be built.
initial_build_count: Annotated[int, IOAttrs('c')] = 0