mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2026-08-29 13:16:28 +00:00
python3.9,removed windows build,kick vote,ban mute commands , rjcd
This commit is contained in:
parent
94bdfb531a
commit
dbe040a017
2453 changed files with 3797 additions and 437553 deletions
13
dist/ba_data/python/ba/ui/__init__.py
vendored
13
dist/ba_data/python/ba/ui/__init__.py
vendored
|
|
@ -14,8 +14,7 @@ from ba._generated.enums import TimeType
|
|||
from ba._general import print_active_refs
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from typing import Optional, List, Any
|
||||
from weakref import ReferenceType
|
||||
from typing import Optional, Any
|
||||
|
||||
import ba
|
||||
|
||||
|
|
@ -45,7 +44,7 @@ class Window:
|
|||
@dataclass
|
||||
class UICleanupCheck:
|
||||
"""Holds info about a uicleanupcheck target."""
|
||||
obj: ReferenceType
|
||||
obj: weakref.ref
|
||||
widget: ba.Widget
|
||||
widget_death_time: Optional[float]
|
||||
|
||||
|
|
@ -126,15 +125,15 @@ class UIController:
|
|||
def __init__(self) -> None:
|
||||
|
||||
# FIXME: document why we have separate stacks for game and menu...
|
||||
self._main_stack_game: List[UIEntry] = []
|
||||
self._main_stack_menu: List[UIEntry] = []
|
||||
self._main_stack_game: list[UIEntry] = []
|
||||
self._main_stack_menu: list[UIEntry] = []
|
||||
|
||||
# This points at either the game or menu stack.
|
||||
self._main_stack: Optional[List[UIEntry]] = None
|
||||
self._main_stack: Optional[list[UIEntry]] = None
|
||||
|
||||
# There's only one of these since we don't need to preserve its state
|
||||
# between sessions.
|
||||
self._dialog_stack: List[UIEntry] = []
|
||||
self._dialog_stack: list[UIEntry] = []
|
||||
|
||||
def show_main_menu(self, in_game: bool = True) -> None:
|
||||
"""Show the main menu, clearing other UIs from location stacks."""
|
||||
|
|
|
|||
BIN
dist/ba_data/python/ba/ui/__pycache__/__init__.cpython-39.opt-1.pyc
vendored
Normal file
BIN
dist/ba_data/python/ba/ui/__pycache__/__init__.cpython-39.opt-1.pyc
vendored
Normal file
Binary file not shown.
BIN
dist/ba_data/python/ba/ui/__pycache__/__init__.cpython-39.pyc
vendored
Normal file
BIN
dist/ba_data/python/ba/ui/__pycache__/__init__.cpython-39.pyc
vendored
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue