mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2026-08-15 13:04:30 +00:00
syncing ballistica 1.7.50
This commit is contained in:
parent
dd4dfed507
commit
3047591b10
187 changed files with 9472 additions and 4302 deletions
60
dist/ba_data/python/bacommon/cloud.py
vendored
60
dist/ba_data/python/bacommon/cloud.py
vendored
|
|
@ -25,6 +25,24 @@ class WebLocation(Enum):
|
|||
ACCOUNT_DELETE_SECTION = 'd'
|
||||
|
||||
|
||||
@ioprepped
|
||||
@dataclass
|
||||
class CloudVals:
|
||||
"""Engine config values provided by the master server.
|
||||
|
||||
Used to convey things such as debug logging.
|
||||
"""
|
||||
|
||||
#: Fully qualified type names we should emit extra debug logs for
|
||||
#: when garbage-collected (for debugging ref loops).
|
||||
gc_debug_types: Annotated[
|
||||
list[str], IOAttrs('gct', store_default=False)
|
||||
] = field(default_factory=list)
|
||||
|
||||
#: Max number of objects of a given type to emit debug logs for.
|
||||
gc_debug_type_limit: Annotated[int, IOAttrs('gdl', store_default=False)] = 2
|
||||
|
||||
|
||||
@ioprepped
|
||||
@dataclass
|
||||
class LoginProxyRequestMessage(Message):
|
||||
|
|
@ -132,29 +150,6 @@ class TestResponse(Response):
|
|||
testfoo: Annotated[int, IOAttrs('f')]
|
||||
|
||||
|
||||
@ioprepped
|
||||
@dataclass
|
||||
class SendInfoMessage(Message):
|
||||
"""User is using the send-info function"""
|
||||
|
||||
description: Annotated[str, IOAttrs('c')]
|
||||
|
||||
@override
|
||||
@classmethod
|
||||
def get_response_types(cls) -> list[type[Response] | None]:
|
||||
return [SendInfoResponse]
|
||||
|
||||
|
||||
@ioprepped
|
||||
@dataclass
|
||||
class SendInfoResponse(Response):
|
||||
"""Response to sending into the server."""
|
||||
|
||||
handled: Annotated[bool, IOAttrs('v')]
|
||||
message: Annotated[str | None, IOAttrs('m', store_default=False)] = None
|
||||
legacy_code: Annotated[str | None, IOAttrs('l', store_default=False)] = None
|
||||
|
||||
|
||||
@ioprepped
|
||||
@dataclass
|
||||
class WorkspaceFetchState:
|
||||
|
|
@ -343,3 +338,22 @@ class SecureDataCheckerResponse(Response):
|
|||
"""Here's that checker ya asked for, boss."""
|
||||
|
||||
checker: Annotated[SecureDataChecker, IOAttrs('c')]
|
||||
|
||||
|
||||
@ioprepped
|
||||
@dataclass
|
||||
class CloudValsRequest(Message):
|
||||
"""Can a fella get some cloud vals around here?."""
|
||||
|
||||
@override
|
||||
@classmethod
|
||||
def get_response_types(cls) -> list[type[Response] | None]:
|
||||
return [CloudValsResponse]
|
||||
|
||||
|
||||
@ioprepped
|
||||
@dataclass
|
||||
class CloudValsResponse(Response):
|
||||
"""Here's them cloud vals ya asked for, boss."""
|
||||
|
||||
vals: Annotated[CloudVals, IOAttrs('v')]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue