This commit is contained in:
Roman Trapeznikov 2022-03-09 22:29:18 +03:00
parent efc09faeb5
commit 5218240656
No known key found for this signature in database
GPG Key ID: 0545F6C33190E7B1
6 changed files with 7 additions and 8 deletions

View File

@ -1 +1 @@
135697331021140808219546877225423515533
279025597381990417612350974335348401455

View File

@ -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

View File

@ -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"

View File

@ -728,7 +728,7 @@ auto PythonMethodsGameplay::GetMethods() -> std::vector<PyMethodDef> {
{"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**"},

View File

@ -439,7 +439,7 @@ auto PythonMethodsGraphics::GetMethods() -> std::vector<PyMethodDef> {
"(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."},
};
}

View File

@ -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')