mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Misc improvements to the GodotPlugin API
- Add overload method for `GodotPlugin#emitSignal(...)` - Allow passing `null` values as signal arguments
This commit is contained in:
parent
caefb0f1c1
commit
b9c3b1d4c0
6 changed files with 44 additions and 45 deletions
|
|
@ -68,6 +68,7 @@ class JavaClass : public RefCounted {
|
|||
RBMap<StringName, Variant> constant_map;
|
||||
|
||||
struct MethodInfo {
|
||||
bool _public = false;
|
||||
bool _static = false;
|
||||
bool _constructor = false;
|
||||
Vector<uint32_t> param_types;
|
||||
|
|
@ -274,7 +275,7 @@ class JavaClassWrapper : public Object {
|
|||
|
||||
Ref<JavaObject> exception;
|
||||
|
||||
Ref<JavaClass> _wrap(const String &p_class, bool p_allow_non_public_methods_access);
|
||||
Ref<JavaClass> _wrap(const String &p_class, bool p_allow_non_public_methods_access = false);
|
||||
|
||||
static JavaClassWrapper *singleton;
|
||||
|
||||
|
|
@ -293,7 +294,7 @@ public:
|
|||
}
|
||||
|
||||
#ifdef ANDROID_ENABLED
|
||||
Ref<JavaClass> wrap_jclass(jclass p_class, bool p_allow_private_methods_access = false);
|
||||
Ref<JavaClass> wrap_jclass(jclass p_class, bool p_allow_non_public_methods_access = false);
|
||||
#endif
|
||||
JavaClassWrapper();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue