mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2026-08-29 13:16:28 +00:00
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:
parent
59730e19b3
commit
e5034cbb6f
282 changed files with 35005 additions and 23205 deletions
9
dist/ba_data/python/bastd/stdmap.py
vendored
9
dist/ba_data/python/bastd/stdmap.py
vendored
|
|
@ -14,18 +14,19 @@ if TYPE_CHECKING:
|
|||
|
||||
def _get_map_data(name: str) -> dict[str, Any]:
|
||||
import json
|
||||
|
||||
print('Would get map data', name)
|
||||
with open('ba_data/data/maps/' + name + '.json',
|
||||
encoding='utf-8') as infile:
|
||||
with open(
|
||||
'ba_data/data/maps/' + name + '.json', encoding='utf-8'
|
||||
) as infile:
|
||||
mapdata = json.loads(infile.read())
|
||||
assert isinstance(mapdata, dict)
|
||||
return mapdata
|
||||
|
||||
|
||||
class StdMap(ba.Map):
|
||||
"""A map completely defined by asset data.
|
||||
"""A map completely defined by asset data."""
|
||||
|
||||
"""
|
||||
_data: dict[str, Any] | None = None
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue