mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-31 03:39:04 +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]:
|
||||
"""get_client_public_device_uuid(client_id: int) -> Optional[str]
|
||||
|
||||
(internal)
|
||||
"""(internal)
|
||||
|
||||
Category: General Utility Functions
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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**"},
|
||||
|
||||
|
||||
@ -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."},
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user