# Released under the MIT License. See LICENSE for details.#"""A dummy stub module for the real _baplus.The real _baplus is a compiled extension module and only availablein the live engine. This dummy-module allows Pylint/Mypy/etc. tofunction 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 needto 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."""# I'm sorry Pylint. I know this file saddens you. Be strong.# pylint: disable=useless-suppression# pylint: disable=unnecessary-pass# pylint: disable=use-dict-literal# pylint: disable=use-list-literal# pylint: disable=unused-argument# pylint: disable=missing-docstring# pylint: disable=too-many-locals# pylint: disable=redefined-builtin# pylint: disable=too-many-lines# pylint: disable=redefined-outer-name# pylint: disable=invalid-name# pylint: disable=no-value-for-parameter# pylint: disable=unused-import# pylint: disable=too-many-positional-argumentsfrom__future__importannotationsfromtypingimportTYPE_CHECKING,override,TypeVarifTYPE_CHECKING:fromtypingimportAny,Callable_T=TypeVar('_T')
[docs]def_uninferrable()->Any:"""Get an "Any" in mypy and "uninferrable" in Pylint."""# pylint: disable=undefined-variablereturn_not_a_real_variable# type: ignore
[docs]defgame_service_has_leaderboard(game:str,config:str)->bool:"""(internal) Given a game and config string, returns whether there is a leaderboard for it on the game service. """returnbool()
[docs]defsign_in_v1(account_type:str)->None:"""(internal) Category: General Utility Functions """returnNone
[docs]defsign_out_v1(v2_embedded:bool=False)->None:"""(internal) Category: General Utility Functions """returnNone
[docs]defsubmit_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:"""(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. """returnNone