updated dummy modules

This commit is contained in:
Ayush Saini 2025-04-12 20:03:10 +05:30
parent a748699245
commit 3d8121c744
6 changed files with 1507 additions and 982 deletions

View file

@ -27,6 +27,8 @@ NOTE: This file was autogenerated by batools.dummymodule; do not edit by hand.
# pylint: disable=redefined-outer-name
# pylint: disable=invalid-name
# pylint: disable=no-value-for-parameter
# pylint: disable=unused-import
# pylint: disable=too-many-positional-arguments
from __future__ import annotations
@ -49,11 +51,13 @@ def add_v1_account_transaction(
transaction: dict, callback: Callable | None = None
) -> None:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None
def can_show_ad() -> bool:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return bool()
@ -63,74 +67,88 @@ def game_service_has_leaderboard(game: str, config: str) -> bool:
Given a game and config string, returns whether there is a leaderboard
for it on the game service.
"""
# This is a dummy stub; the actual implementation is native code.
return bool()
def get_classic_news_show() -> str:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return str()
def get_master_server_address(source: int = -1, version: int = 1) -> str:
"""(internal)
Return the address of the master server.
"""
return str()
def get_news_show() -> str:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return str()
def get_price(item: str) -> str | None:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return ''
def get_purchased(item: str) -> bool:
"""(internal)"""
return bool()
def get_purchases_state() -> int:
"""(internal)"""
return int()
def get_v1_account_display_string(full: bool = True) -> str:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return str()
def get_v1_account_misc_read_val(name: str, default_value: Any) -> Any:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return _uninferrable()
def get_v1_account_misc_read_val_2(name: str, default_value: Any) -> Any:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return _uninferrable()
def get_v1_account_misc_val(name: str, default_value: Any) -> Any:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return _uninferrable()
def get_v1_account_name() -> str:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return str()
def get_v1_account_product_purchased(item: str) -> bool:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return bool()
def get_v1_account_product_purchases_state() -> int:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return int()
def get_v1_account_public_login_id() -> str | None:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return ''
def get_v1_account_state() -> str:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return str()
def get_v1_account_state_num() -> int:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return int()
@ -139,84 +157,97 @@ def get_v1_account_ticket_count() -> int:
Returns the number of tickets for the current account.
"""
# This is a dummy stub; the actual implementation is native code.
return int()
def get_v1_account_type() -> str:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return str()
def get_v2_fleet() -> str:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return str()
def has_video_ads() -> bool:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return bool()
def have_incentivized_ad() -> bool:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return bool()
def have_outstanding_v1_account_transactions() -> bool:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return bool()
def in_game_purchase(item: str, price: int) -> None:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None
def is_blessed() -> bool:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return bool()
def mark_config_dirty() -> None:
"""(internal)
Category: General Utility Functions
"""
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None
def on_app_loading() -> None:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None
def power_ranking_query(callback: Callable, season: Any = None) -> None:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None
def purchase(item: str) -> None:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None
def report_achievement(achievement: str, pass_to_account: bool = True) -> None:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None
def reset_achievements() -> None:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None
def restore_purchases() -> None:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None
def run_v1_account_transactions() -> None:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None
@ -224,6 +255,7 @@ def show_ad(
purpose: str, on_completion_call: Callable[[], None] | None = None
) -> None:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None
@ -231,6 +263,7 @@ def show_ad_2(
purpose: str, on_completion_call: Callable[[bool], None] | None = None
) -> None:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None
@ -240,22 +273,19 @@ def show_game_service_ui(
game_version: str | None = None,
) -> None:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None
def sign_in_v1(account_type: str) -> None:
"""(internal)
Category: General Utility Functions
"""
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None
def sign_out_v1(v2_embedded: bool = False) -> None:
"""(internal)
Category: General Utility Functions
"""
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None
@ -278,11 +308,19 @@ def submit_score(
to devote my time to improving the game instead of trying to make the
score server more mischief-proof.
"""
# This is a dummy stub; the actual implementation is native code.
return None
def supports_purchases() -> bool:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return bool()
def tournament_query(
callback: Callable[[dict | None], None], args: dict
) -> None:
"""(internal)"""
# This is a dummy stub; the actual implementation is native code.
return None