summaryrefslogtreecommitdiffstats
path: root/modules/mono/mono_gd/gd_mono.h
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-04 13:20:14 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-04 14:09:42 +0200
commitaff2e47bff7bb70c068772d5bb49b57a2acd19aa (patch)
treee4d7596c9fb38f0b00ec6c0f8d7fb4d25192a775 /modules/mono/mono_gd/gd_mono.h
parent7ebc866418b075df58cbe4e31fcf8b0c3acd70a1 (diff)
downloadredot-engine-aff2e47bff7bb70c068772d5bb49b57a2acd19aa.tar.gz
[C#] Unexpose `GodotSharp`
This class seems to have been exposed accidentally, and breaks documentation on non-mono builds, requiring hacks
Diffstat (limited to 'modules/mono/mono_gd/gd_mono.h')
-rw-r--r--modules/mono/mono_gd/gd_mono.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/mono/mono_gd/gd_mono.h b/modules/mono/mono_gd/gd_mono.h
index 0cb087db57..614bfc63fb 100644
--- a/modules/mono/mono_gd/gd_mono.h
+++ b/modules/mono/mono_gd/gd_mono.h
@@ -167,18 +167,14 @@ namespace mono_bind {
class GodotSharp : public Object {
GDCLASS(GodotSharp, Object);
- friend class GDMono;
-
- void _reload_assemblies(bool p_soft_reload);
- bool _is_runtime_initialized();
-
protected:
static GodotSharp *singleton;
- static void _bind_methods();
public:
static GodotSharp *get_singleton() { return singleton; }
+ void reload_assemblies(bool p_soft_reload);
+
GodotSharp();
~GodotSharp();
};