mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2026-08-15 13:04:30 +00:00
This commit is contained in:
parent
f0fc46a51d
commit
9e0176e424
19 changed files with 374 additions and 72 deletions
22
dist/ba_data/python/bacommon/cloud.py
vendored
22
dist/ba_data/python/bacommon/cloud.py
vendored
|
|
@ -462,3 +462,25 @@ class AnalyticsEventMessage(Message):
|
|||
"""Have a nice analytics event!"""
|
||||
|
||||
event: Annotated[AnalyticsEvent, IOAttrs('e')]
|
||||
|
||||
|
||||
@ioprepped
|
||||
@dataclass
|
||||
class AuthRequestMessage(Message):
|
||||
"""Request access to a server for a current account."""
|
||||
|
||||
global_app_instance_uuid: Annotated[str, IOAttrs('a')]
|
||||
|
||||
@override
|
||||
@classmethod
|
||||
def get_response_types(cls) -> list[type[Response] | None]:
|
||||
return [AuthRequestResponse]
|
||||
|
||||
|
||||
@ioprepped
|
||||
@dataclass
|
||||
class AuthRequestResponse(Response):
|
||||
"""Here's that access ya asked for boss."""
|
||||
|
||||
error: Annotated[str | None, IOAttrs('e')]
|
||||
token: Annotated[str | None, IOAttrs('t')]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue