Py BGE API
Python dir(ob) for game types now includes attributes names, * Use "__dict__" rather then "__methods__" attribute to be Python 3.0 compatible * Added _getattr_dict() for getting the method and attribute names from a PyObject, rather then building it in the macro. * Added place holder *::Attribute array, needed for the _getattr_up macro.
This commit is contained in:
@@ -264,6 +264,9 @@ PyMethodDef SCA_PythonController::Methods[] = {
|
||||
{NULL,NULL} //Sentinel
|
||||
};
|
||||
|
||||
PyAttributeDef SCA_PythonController::Attributes[] = {
|
||||
{ NULL } //Sentinel
|
||||
};
|
||||
|
||||
bool SCA_PythonController::Compile()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user