mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-08 08:45:43 +08:00
tidy up
This commit is contained in:
parent
efc09faeb5
commit
5218240656
@ -1 +1 @@
|
|||||||
135697331021140808219546877225423515533
|
279025597381990417612350974335348401455
|
||||||
@ -1654,9 +1654,7 @@ def get_chat_messages() -> list[str]:
|
|||||||
|
|
||||||
|
|
||||||
def get_client_public_device_uuid(client_id: int) -> Optional[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
|
Category: General Utility Functions
|
||||||
|
|
||||||
|
|||||||
@ -50,7 +50,7 @@ void PythonClassSessionPlayer::SetupType(PyTypeObject* obj) {
|
|||||||
"\n"
|
"\n"
|
||||||
"These are created and managed internally and\n"
|
"These are created and managed internally and\n"
|
||||||
"provided to your ba.Session/ba.Activity instances.\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"
|
"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"
|
" any point. For this reason, you should make judicious use of the\n"
|
||||||
"ba.SessionPlayer.exists() method (or boolean operator) to ensure\n"
|
"ba.SessionPlayer.exists() method (or boolean operator) to ensure\n"
|
||||||
|
|||||||
@ -728,7 +728,7 @@ auto PythonMethodsGameplay::GetMethods() -> std::vector<PyMethodDef> {
|
|||||||
{"getnodes", PyGetNodes, METH_VARARGS,
|
{"getnodes", PyGetNodes, METH_VARARGS,
|
||||||
"getnodes() -> list\n"
|
"getnodes() -> list\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Return all nodes in the current ba.Context."
|
"Return all nodes in the current ba.Context.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Category: **Gameplay Functions**"},
|
"Category: **Gameplay Functions**"},
|
||||||
|
|
||||||
|
|||||||
@ -439,7 +439,7 @@ auto PythonMethodsGraphics::GetMethods() -> std::vector<PyMethodDef> {
|
|||||||
"(U+E000-U+F8FF) and are specific to the game; exporting or rendering\n"
|
"(U+E000-U+F8FF) and are specific to the game; exporting or rendering\n"
|
||||||
"them elsewhere will be meaningless.\n"
|
"them elsewhere will be meaningless.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"see ba.SpecialChar for the list of available characters."},
|
"See ba.SpecialChar for the list of available characters."},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -629,7 +629,8 @@ def generate(sources_hash: str, outfilename: str) -> None:
|
|||||||
# Ignore _ba.app.
|
# Ignore _ba.app.
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
raise Exception(f'found unknown obj {entry}')
|
raise Exception(
|
||||||
|
f'found unknown obj {entry}, {getattr(module, entry)}')
|
||||||
funcnames.sort()
|
funcnames.sort()
|
||||||
classnames.sort()
|
classnames.sort()
|
||||||
out = (get_public_license('python')
|
out = (get_public_license('python')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user