feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -32,8 +32,8 @@
|
|||
#define JAVA_GODOT_WRAPPER_H
|
||||
|
||||
#include "java_godot_view_wrapper.h"
|
||||
#include "string_android.h"
|
||||
|
||||
#include "core/math/color.h"
|
||||
#include "core/templates/list.h"
|
||||
|
||||
#include <android/log.h>
|
||||
|
|
@ -55,9 +55,14 @@ private:
|
|||
jmethodID _alert = nullptr;
|
||||
jmethodID _is_dark_mode_supported = nullptr;
|
||||
jmethodID _is_dark_mode = nullptr;
|
||||
jmethodID _get_accent_color = nullptr;
|
||||
jmethodID _get_base_color = nullptr;
|
||||
jmethodID _get_clipboard = nullptr;
|
||||
jmethodID _set_clipboard = nullptr;
|
||||
jmethodID _has_clipboard = nullptr;
|
||||
jmethodID _show_dialog = nullptr;
|
||||
jmethodID _show_input_dialog = nullptr;
|
||||
jmethodID _show_file_picker = nullptr;
|
||||
jmethodID _request_permission = nullptr;
|
||||
jmethodID _request_permissions = nullptr;
|
||||
jmethodID _get_granted_permissions = nullptr;
|
||||
|
|
@ -75,6 +80,11 @@ private:
|
|||
jmethodID _end_benchmark_measure = nullptr;
|
||||
jmethodID _dump_benchmark = nullptr;
|
||||
jmethodID _has_feature = nullptr;
|
||||
jmethodID _sign_apk = nullptr;
|
||||
jmethodID _verify_apk = nullptr;
|
||||
jmethodID _enable_immersive_mode = nullptr;
|
||||
jmethodID _is_in_immersive_mode = nullptr;
|
||||
jmethodID _on_editor_workspace_selected = nullptr;
|
||||
|
||||
public:
|
||||
GodotJavaWrapper(JNIEnv *p_env, jobject p_activity, jobject p_godot_instance);
|
||||
|
|
@ -93,12 +103,17 @@ public:
|
|||
void alert(const String &p_message, const String &p_title);
|
||||
bool is_dark_mode_supported();
|
||||
bool is_dark_mode();
|
||||
Color get_accent_color();
|
||||
Color get_base_color();
|
||||
bool has_get_clipboard();
|
||||
String get_clipboard();
|
||||
bool has_set_clipboard();
|
||||
void set_clipboard(const String &p_text);
|
||||
bool has_has_clipboard();
|
||||
bool has_clipboard();
|
||||
Error show_dialog(const String &p_title, const String &p_description, const Vector<String> &p_buttons);
|
||||
Error show_input_dialog(const String &p_title, const String &p_message, const String &p_existing_text);
|
||||
Error show_file_picker(const String &p_current_directory, const String &p_filename, int p_mode, const Vector<String> &p_filters);
|
||||
bool request_permission(const String &p_name);
|
||||
bool request_permissions();
|
||||
Vector<String> get_granted_permissions() const;
|
||||
|
|
@ -116,6 +131,15 @@ public:
|
|||
|
||||
// Return true if the given feature is supported.
|
||||
bool has_feature(const String &p_feature) const;
|
||||
|
||||
// Sign and verify apks
|
||||
Error sign_apk(const String &p_input_path, const String &p_output_path, const String &p_keystore_path, const String &p_keystore_user, const String &p_keystore_password);
|
||||
Error verify_apk(const String &p_apk_path);
|
||||
|
||||
void enable_immersive_mode(bool p_enabled);
|
||||
bool is_in_immersive_mode();
|
||||
|
||||
void on_editor_workspace_selected(const String &p_workspace);
|
||||
};
|
||||
|
||||
#endif // JAVA_GODOT_WRAPPER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue