syncing 1.7.60 ballistica binary

This commit is contained in:
Ayush Saini 2026-02-15 14:00:00 +05:30
parent 2870c850c4
commit e02f1dbe52
241 changed files with 10185 additions and 1827 deletions

View file

@ -1,6 +1,12 @@
# Released under the MIT License. See LICENSE for details.
#
"""Functionality related to the bacloud tool."""
"""Functionality related to the bacloud tool.
.. warning::
This is an internal api and subject to change at any time. Do not use
it in mod code.
"""
from __future__ import annotations
@ -14,7 +20,7 @@ if TYPE_CHECKING:
# Version is sent to the master-server with all commands. Can be incremented
# if we need to change behavior server-side to go along with client changes.
BACLOUD_VERSION = 13
BACLOUD_VERSION = 14
def asset_file_cache_path(filehash: str) -> str:
@ -91,12 +97,30 @@ class ResponseData:
#: response processing (including error handling) occurs.
message: Annotated[str | None, IOAttrs('m', store_default=False)] = None
#: End arg for message print() call.
#: Value for the 'end' arg of the message print() call.
message_end: Annotated[str, IOAttrs('m_end', store_default=False)] = '\n'
#: If present, client should abort with this error message.
#: If present, client should print this message before any other
#: response processing (including error handling) occurs.
message_stderr: Annotated[
str | None, IOAttrs('m2', store_default=False)
] = None
#: Value for the 'end' arg of the message print() call.
message_stderr_end: Annotated[
str, IOAttrs('m2_end', store_default=False)
] = '\n'
#: If present, client should abort with this error message and
#: return-code 2.
error: Annotated[str | None, IOAttrs('e', store_default=False)] = None
#: If present for an interactive command, specifies the return code
#: for the process. Note that this only applies if error is not set.
#: Standard return codes are 0 for success, 1 for a successful run
#: but negative result, and 2 for errors.
return_code: Annotated[int | None, IOAttrs('r', store_default=False)] = None
#: How long to wait before proceeding with remaining response (can
#: be useful when waiting for server progress in a loop).
delay_seconds: Annotated[float, IOAttrs('d', store_default=False)] = 0.0
@ -170,6 +194,17 @@ class ResponseData:
#: End arg for end_message print() call.
end_message_end: Annotated[str, IOAttrs('eme', store_default=False)] = '\n'
#: If present, a message that should be printed after all other
#: response processing is done.
end_message_stderr: Annotated[
str | None, IOAttrs('em2', store_default=False)
] = None
#: End arg for end_message print() call.
end_message_stderr_end: Annotated[
str, IOAttrs('em2e', store_default=False)
] = '\n'
#: If present, this command is run with these args at the end of
#: response processing.
end_command: Annotated[