diff --git a/assets/src/ba_data/python/._ba_sources_hash b/assets/src/ba_data/python/._ba_sources_hash index 873c68f4..c986901a 100644 --- a/assets/src/ba_data/python/._ba_sources_hash +++ b/assets/src/ba_data/python/._ba_sources_hash @@ -1 +1 @@ -135697331021140808219546877225423515533 +279025597381990417612350974335348401455 \ No newline at end of file diff --git a/assets/src/ba_data/python/_ba.py b/assets/src/ba_data/python/_ba.py index f199c10c..a6d81958 100644 --- a/assets/src/ba_data/python/_ba.py +++ b/assets/src/ba_data/python/_ba.py @@ -1654,9 +1654,7 @@ def get_chat_messages() -> list[str]: def get_client_public_device_uuid(client_id: int) -> Optional[str]: - """get_client_public_device_uuid(client_id: int) -> Optional[str] - - (internal) + """(internal) Category: General Utility Functions diff --git a/src/ballistica/python/class/python_class_session_player.cc b/src/ballistica/python/class/python_class_session_player.cc index 7dd71794..8544ced5 100644 --- a/src/ballistica/python/class/python_class_session_player.cc +++ b/src/ballistica/python/class/python_class_session_player.cc @@ -50,7 +50,7 @@ void PythonClassSessionPlayer::SetupType(PyTypeObject* obj) { "\n" "These are created and managed internally and\n" "provided to your ba.Session/ba.Activity instances.\n" - "Be aware that, like ba.Nodes, ba.SessionPlayer objects are 'weak'\n" + "Be aware that, like `ba.Node`s, ba.SessionPlayer objects are 'weak'\n" "references under-the-hood; a player can leave the game at\n" " any point. For this reason, you should make judicious use of the\n" "ba.SessionPlayer.exists() method (or boolean operator) to ensure\n" diff --git a/src/ballistica/python/methods/python_methods_gameplay.cc b/src/ballistica/python/methods/python_methods_gameplay.cc index 6ce50d1d..b3d0559b 100644 --- a/src/ballistica/python/methods/python_methods_gameplay.cc +++ b/src/ballistica/python/methods/python_methods_gameplay.cc @@ -728,7 +728,7 @@ auto PythonMethodsGameplay::GetMethods() -> std::vector { {"getnodes", PyGetNodes, METH_VARARGS, "getnodes() -> list\n" "\n" - "Return all nodes in the current ba.Context." + "Return all nodes in the current ba.Context.\n" "\n" "Category: **Gameplay Functions**"}, diff --git a/src/ballistica/python/methods/python_methods_graphics.cc b/src/ballistica/python/methods/python_methods_graphics.cc index 9756dd58..4af0ef13 100644 --- a/src/ballistica/python/methods/python_methods_graphics.cc +++ b/src/ballistica/python/methods/python_methods_graphics.cc @@ -439,7 +439,7 @@ auto PythonMethodsGraphics::GetMethods() -> std::vector { "(U+E000-U+F8FF) and are specific to the game; exporting or rendering\n" "them elsewhere will be meaningless.\n" "\n" - "see ba.SpecialChar for the list of available characters."}, + "See ba.SpecialChar for the list of available characters."}, }; } diff --git a/tools/batools/dummymodule.py b/tools/batools/dummymodule.py index 954a9bd6..051103af 100755 --- a/tools/batools/dummymodule.py +++ b/tools/batools/dummymodule.py @@ -629,7 +629,8 @@ def generate(sources_hash: str, outfilename: str) -> None: # Ignore _ba.app. continue else: - raise Exception(f'found unknown obj {entry}') + raise Exception( + f'found unknown obj {entry}, {getattr(module, entry)}') funcnames.sort() classnames.sort() out = (get_public_license('python')