mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-11-07 17:36:15 +00:00
updating ba_data to 1.7.35
This commit is contained in:
parent
d6e457c821
commit
ae30ed15ec
234 changed files with 5670 additions and 2718 deletions
18
dist/ba_data/python/bacommon/net.py
vendored
18
dist/ba_data/python/bacommon/net.py
vendored
|
|
@ -20,6 +20,11 @@ class ServerNodeEntry:
|
|||
"""Information about a specific server."""
|
||||
|
||||
zone: Annotated[str, IOAttrs('r')]
|
||||
|
||||
# TODO: Remove soft_default after all master-servers upgraded.
|
||||
latlong: Annotated[
|
||||
tuple[float, float] | None, IOAttrs('ll', soft_default=None)
|
||||
]
|
||||
address: Annotated[str, IOAttrs('a')]
|
||||
port: Annotated[int, IOAttrs('p')]
|
||||
|
||||
|
|
@ -32,6 +37,16 @@ class ServerNodeQueryResponse:
|
|||
# The current utc time on the master server.
|
||||
time: Annotated[datetime.datetime, IOAttrs('t')]
|
||||
|
||||
# Where the master server sees the query as coming from.
|
||||
latlong: Annotated[tuple[float, float] | None, IOAttrs('ll')]
|
||||
|
||||
ping_per_dist: Annotated[float, IOAttrs('ppd')]
|
||||
max_dist: Annotated[float, IOAttrs('md')]
|
||||
|
||||
debug_log_seconds: Annotated[
|
||||
float | None, IOAttrs('d', store_default=False)
|
||||
] = None
|
||||
|
||||
# If present, something went wrong, and this describes it.
|
||||
error: Annotated[str | None, IOAttrs('e', store_default=False)] = None
|
||||
|
||||
|
|
@ -78,6 +93,7 @@ class PrivatePartyConnectResult:
|
|||
"""Info about a server we get back when connecting."""
|
||||
|
||||
error: str | None = None
|
||||
addr: str | None = None
|
||||
address4: Annotated[str | None, IOAttrs('addr')] = None
|
||||
address6: Annotated[str | None, IOAttrs('addr6')] = None
|
||||
port: int | None = None
|
||||
password: str | None = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue