From 111971080490730e18cb3b8e9779be45ef7eab2f Mon Sep 17 00:00:00 2001 From: Ayush Saini <36878972+imayushsaini@users.noreply.github.com> Date: Sun, 19 May 2024 18:26:20 +0530 Subject: [PATCH] updating dummymodules --- dist/dummymodules/_babase.py | 82 ++++++++++++++++++++++++------ dist/dummymodules/_baclassic.py | 4 +- dist/dummymodules/_baplus.py | 4 +- dist/dummymodules/_bascenev1.py | 22 ++++++-- dist/dummymodules/_batemplatefs.py | 4 +- dist/dummymodules/_bauiv1.py | 17 +------ 6 files changed, 90 insertions(+), 43 deletions(-) diff --git a/dist/dummymodules/_babase.py b/dist/dummymodules/_babase.py index 09c5d2a..02b15bc 100644 --- a/dist/dummymodules/_babase.py +++ b/dist/dummymodules/_babase.py @@ -30,9 +30,7 @@ NOTE: This file was autogenerated by batools.dummymodule; do not edit by hand. from __future__ import annotations -from typing import TYPE_CHECKING, overload, Sequence, TypeVar - -from typing_extensions import override +from typing import TYPE_CHECKING, overload, override, Sequence, TypeVar if TYPE_CHECKING: from typing import Any, Callable @@ -290,12 +288,6 @@ class Env: arcade: bool """Whether the app is targeting an arcade-centric experience.""" - build_number: int - """Integer build number for the engine. - - This value increases by at least 1 with each release of the engine. - It is independent of the human readable `version` string.""" - config_file_path: str """Where the app's config file is stored on disk.""" @@ -315,6 +307,19 @@ class Env: device_name: str """Human readable name of the device running this app.""" + engine_build_number: int + """Integer build number for the engine. + + This value increases by at least 1 with each release of the engine. + It is independent of the human readable `version` string.""" + + engine_version: str + """Human-readable version string for the engine; something like '1.3.24'. + + This should not be interpreted as a number; it may contain + string elements such as 'alpha', 'beta', 'test', etc. + If a numeric version is needed, use `build_number`.""" + gui: bool """Whether the app is running with a gui. @@ -362,13 +367,6 @@ class Env: tv: bool """Whether the app is targeting a TV-centric experience.""" - version: str - """Human-readable version string for the engine; something like '1.3.24'. - - This should not be interpreted as a number; it may contain - string elements such as 'alpha', 'beta', 'test', etc. - If a numeric version is needed, use `build_number`.""" - vr: bool """Whether the app is currently running in VR.""" @@ -1305,6 +1303,58 @@ def open_file_externally(path: str) -> None: return None +def open_url(address: str, force_fallback: bool = False) -> None: + """Open the provided URL. + + Category: **General Utility Functions** + + Attempts to open the provided url in a web-browser. If that is not + possible (or force_fallback is True), instead displays the url as + a string and/or qrcode. + """ + return None + + +def overlay_web_browser_close() -> bool: + """Close any open overlay web browser. + + Category: **General Utility Functions** + """ + return bool() + + +def overlay_web_browser_is_open() -> bool: + """Return whether an overlay web browser is open currently. + + Category: **General Utility Functions** + """ + return bool() + + +def overlay_web_browser_is_supported() -> bool: + """Return whether an overlay web browser is supported here. + + Category: **General Utility Functions** + + An overlay web browser is a small dialog that pops up over the top + of the main engine window. It can be used for performing simple + tasks such as sign-ins. + """ + return bool() + + +def overlay_web_browser_open_url(address: str) -> None: + """Open the provided URL in an overlayw web browser. + + Category: **General Utility Functions** + + An overlay web browser is a small dialog that pops up over the top + of the main engine window. It can be used for performing simple + tasks such as sign-ins. + """ + return None + + def pre_env() -> dict: """(internal) diff --git a/dist/dummymodules/_baclassic.py b/dist/dummymodules/_baclassic.py index 31779c0..36691ae 100644 --- a/dist/dummymodules/_baclassic.py +++ b/dist/dummymodules/_baclassic.py @@ -30,9 +30,7 @@ NOTE: This file was autogenerated by batools.dummymodule; do not edit by hand. from __future__ import annotations -from typing import TYPE_CHECKING, TypeVar - -from typing_extensions import override +from typing import TYPE_CHECKING, override, TypeVar if TYPE_CHECKING: from typing import Any, Callable diff --git a/dist/dummymodules/_baplus.py b/dist/dummymodules/_baplus.py index 3128691..5910d49 100644 --- a/dist/dummymodules/_baplus.py +++ b/dist/dummymodules/_baplus.py @@ -30,9 +30,7 @@ NOTE: This file was autogenerated by batools.dummymodule; do not edit by hand. from __future__ import annotations -from typing import TYPE_CHECKING, TypeVar - -from typing_extensions import override +from typing import TYPE_CHECKING, override, TypeVar if TYPE_CHECKING: from typing import Any, Callable diff --git a/dist/dummymodules/_bascenev1.py b/dist/dummymodules/_bascenev1.py index 3320893..97166d6 100644 --- a/dist/dummymodules/_bascenev1.py +++ b/dist/dummymodules/_bascenev1.py @@ -30,9 +30,7 @@ NOTE: This file was autogenerated by batools.dummymodule; do not edit by hand. from __future__ import annotations -from typing import TYPE_CHECKING, overload, TypeVar - -from typing_extensions import override +from typing import TYPE_CHECKING, overload, override, TypeVar if TYPE_CHECKING: from typing import Any, Callable, Literal, Sequence @@ -1677,6 +1675,14 @@ def resume_replay() -> None: return None +def seek_replay(delta: float) -> None: + """(internal) + + Rewind or fast-forward replay. + """ + return None + + def set_admins(admins: list[str]) -> None: """(internal)""" return None @@ -1750,6 +1756,16 @@ def set_public_party_name(name: str) -> None: return None +def set_public_party_public_address_ipv4(address: str | None) -> None: + """(internal)""" + return None + + +def set_public_party_public_address_ipv6(address: str | None) -> None: + """(internal)""" + return None + + def set_public_party_queue_enabled(max_size: bool) -> None: """(internal)""" return None diff --git a/dist/dummymodules/_batemplatefs.py b/dist/dummymodules/_batemplatefs.py index cfad8e1..33adb83 100644 --- a/dist/dummymodules/_batemplatefs.py +++ b/dist/dummymodules/_batemplatefs.py @@ -30,9 +30,7 @@ NOTE: This file was autogenerated by batools.dummymodule; do not edit by hand. from __future__ import annotations -from typing import TYPE_CHECKING, TypeVar - -from typing_extensions import override +from typing import TYPE_CHECKING, override, TypeVar if TYPE_CHECKING: from typing import Any, Callable diff --git a/dist/dummymodules/_bauiv1.py b/dist/dummymodules/_bauiv1.py index 3757c6e..7ed50a3 100644 --- a/dist/dummymodules/_bauiv1.py +++ b/dist/dummymodules/_bauiv1.py @@ -30,9 +30,7 @@ NOTE: This file was autogenerated by batools.dummymodule; do not edit by hand. from __future__ import annotations -from typing import TYPE_CHECKING, TypeVar - -from typing_extensions import override +from typing import TYPE_CHECKING, override, TypeVar if TYPE_CHECKING: from typing import Any, Callable, Literal, Sequence @@ -422,18 +420,6 @@ def is_party_icon_visible() -> bool: return bool() -def open_url(address: str, force_internal: bool = False) -> None: - """Open a provided URL. - - Category: **General Utility Functions** - - Open the provided url in a web-browser, or display the URL - string in a window if that isn't possible (or if force_internal - is True). - """ - return None - - def rowwidget( edit: bauiv1.Widget | None = None, parent: bauiv1.Widget | None = None, @@ -542,6 +528,7 @@ def textwidget( query_description: bauiv1.Widget | None = None, adapter_finished: bool | None = None, glow_type: str | None = None, + allow_clear_button: bool | None = None, ) -> bauiv1.Widget: """Create or edit a text widget.