2017-10-02 21:24:00 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2019-04-01 10:33:56 +00:00
<class name= "GodotSharp" inherits= "Object" category= "Core" version= "3.2" >
2017-10-02 21:24:00 +00:00
<brief_description >
2020-06-16 09:12:57 +00:00
Bridge between Godot and the Mono runtime (Mono-enabled builds only).
2017-10-02 21:24:00 +00:00
</brief_description>
<description >
2020-06-16 09:12:57 +00:00
This class is a bridge between Godot and the Mono runtime. It exposes several low-level operations and is only available in Mono-enabled Godot builds.
See also [CSharpScript].
2017-10-02 21:24:00 +00:00
</description>
<tutorials >
</tutorials>
<methods >
<method name= "attach_thread" >
<return type= "void" >
</return>
<description >
2020-06-16 09:12:57 +00:00
Attaches the current thread to the Mono runtime.
2017-10-02 21:24:00 +00:00
</description>
</method>
<method name= "detach_thread" >
<return type= "void" >
</return>
<description >
2020-06-16 09:12:57 +00:00
Detaches the current thread from the Mono runtime.
2017-10-02 21:24:00 +00:00
</description>
</method>
2018-10-07 13:52:07 +00:00
<method name= "get_domain_id" >
<return type= "int" >
</return>
<description >
2020-06-16 09:12:57 +00:00
Returns the current MonoDomain ID.
[b]Note:[/b] The Mono runtime must be initialized for this method to work (use [method is_runtime_initialized] to check). If the Mono runtime isn't initialized at the time this method is called, the engine will crash.
2018-10-07 13:52:07 +00:00
</description>
</method>
<method name= "get_scripts_domain_id" >
<return type= "int" >
</return>
<description >
2020-06-16 09:12:57 +00:00
Returns the scripts MonoDomain's ID. This will be the same MonoDomain ID as [method get_domain_id], unless the scripts domain isn't loaded.
[b]Note:[/b] The Mono runtime must be initialized for this method to work (use [method is_runtime_initialized] to check). If the Mono runtime isn't initialized at the time this method is called, the engine will crash.
2018-10-07 13:52:07 +00:00
</description>
</method>
<method name= "is_domain_finalizing_for_unload" >
<return type= "bool" >
</return>
<argument index= "0" name= "domain_id" type= "int" >
</argument>
<description >
2020-06-16 09:12:57 +00:00
Returns [code]true[/code] if the domain is being finalized, [code]false[/code] otherwise.
2018-10-07 13:52:07 +00:00
</description>
</method>
<method name= "is_runtime_initialized" >
<return type= "bool" >
</return>
<description >
2020-06-16 09:12:57 +00:00
Returns [code]true[/code] if the Mono runtime is initialized, [code]false[/code] otherwise.
2018-10-07 13:52:07 +00:00
</description>
</method>
<method name= "is_runtime_shutting_down" >
2017-10-02 21:24:00 +00:00
<return type= "bool" >
</return>
<description >
2020-06-16 09:12:57 +00:00
Returns [code]true[/code] if the Mono runtime is shutting down, [code]false[/code] otherwise.
2017-10-02 21:24:00 +00:00
</description>
</method>
2018-10-07 13:52:07 +00:00
<method name= "is_scripts_domain_loaded" >
2017-10-02 21:24:00 +00:00
<return type= "bool" >
</return>
<description >
2020-06-16 09:12:57 +00:00
Returns [code]true[/code] if the scripts domain is loaded, [code]false[/code] otherwise.
2017-10-02 21:24:00 +00:00
</description>
</method>
</methods>
<constants >
</constants>
</class>