Toggle Light / Dark / Auto color theme
Toggle table of contents sidebar
_baplus module
A dummy stub module for the real _baplus.
The real _baplus is a compiled extension module and only available
in the live engine. This dummy-module allows Pylint/Mypy/etc. to
function reasonably well outside of that environment.
Make sure this file is never included in dirs seen by the engine!
In the future perhaps this can be a stub (.pyi) file, but we will need
to make sure that it works with all our tools (mypy, pylint, pycharm).
NOTE: This file was autogenerated by batools.dummymodule; do not edit by hand.
_baplus. _uninferrable ( ) → Any [source]
Get an “Any” in mypy and “uninferrable” in Pylint.
_baplus. add_v1_account_transaction ( transaction : dict , callback : Callable | None = None ) → None [source]
(internal)
_baplus. can_show_ad ( ) → bool [source]
(internal)
_baplus. game_service_has_leaderboard ( game : str , config : str ) → bool [source]
(internal)
Given a game and config string, returns whether there is a leaderboard
for it on the game service.
_baplus. get_classic_news_show ( ) → str [source]
(internal)
_baplus. get_master_server_address ( source : int = -1 , version : int = 1 ) → str [source]
(internal)
Return the address of the master server.
_baplus. get_price ( item : str ) → str | None [source]
(internal)
_baplus. get_v1_account_display_string ( full : bool = True ) → str [source]
(internal)
_baplus. get_v1_account_misc_read_val ( name : str , default_value : Any ) → Any [source]
(internal)
_baplus. get_v1_account_misc_read_val_2 ( name : str , default_value : Any ) → Any [source]
(internal)
_baplus. get_v1_account_misc_val ( name : str , default_value : Any ) → Any [source]
(internal)
_baplus. get_v1_account_name ( ) → str [source]
(internal)
_baplus. get_v1_account_product_purchased ( item : str ) → bool [source]
(internal)
_baplus. get_v1_account_product_purchases_state ( ) → int [source]
(internal)
_baplus. get_v1_account_public_login_id ( ) → str | None [source]
(internal)
_baplus. get_v1_account_state ( ) → str [source]
(internal)
_baplus. get_v1_account_state_num ( ) → int [source]
(internal)
_baplus. get_v1_account_ticket_count ( ) → int [source]
(internal)
Returns the number of tickets for the current account.
_baplus. get_v1_account_type ( ) → str [source]
(internal)
_baplus. get_v2_fleet ( ) → str [source]
(internal)
_baplus. has_video_ads ( ) → bool [source]
(internal)
_baplus. have_incentivized_ad ( ) → bool [source]
(internal)
_baplus. have_outstanding_v1_account_transactions ( ) → bool [source]
(internal)
_baplus. in_game_purchase ( item : str , price : int ) → None [source]
(internal)
_baplus. is_blessed ( ) → bool [source]
(internal)
_baplus. mark_config_dirty ( ) → None [source]
(internal)
Category: General Utility Functions
_baplus. on_app_loading ( ) → None [source]
(internal)
_baplus. power_ranking_query ( callback : Callable , season : Any = None ) → None [source]
(internal)
_baplus. purchase ( item : str ) → None [source]
(internal)
_baplus. report_achievement ( achievement : str , pass_to_account : bool = True ) → None [source]
(internal)
_baplus. reset_achievements ( ) → None [source]
(internal)
_baplus. restore_purchases ( ) → None [source]
(internal)
_baplus. run_v1_account_transactions ( ) → None [source]
(internal)
_baplus. show_ad ( purpose : str , on_completion_call : Callable [ [ ] , None ] | None = None ) → None [source]
(internal)
_baplus. show_ad_2 ( purpose : str , on_completion_call : Callable [ [ bool ] , None ] | None = None ) → None [source]
(internal)
_baplus. show_game_service_ui ( show : str = 'general' , game : str | None = None , game_version : str | None = None ) → None [source]
(internal)
_baplus. sign_in_v1 ( account_type : str ) → None [source]
(internal)
Category: General Utility Functions
_baplus. sign_out_v1 ( v2_embedded : bool = False ) → None [source]
(internal)
Category: General Utility Functions
_baplus. submit_score ( game : str , config : str , name : Any , score : int | None , callback : Callable , order : str = 'increasing' , tournament_id : str | None = None , score_type : str = 'points' , campaign : str | None = None , level : str | None = None ) → None [source]
(internal)
Submit a score to the server; callback will be called with the results.
As a courtesy, please don’t send fake scores to the server. I’d prefer
to devote my time to improving the game instead of trying to make the
score server more mischief-proof.
_baplus. supports_purchases ( ) → bool [source]
(internal)
_baplus. tournament_query ( callback : Callable [ [ dict | None ] , None ] , args : dict ) → None [source]
(internal)