Files
godot-docs/classes/class_godotsharp.rst
2020-01-21 09:28:25 +01:00

99 lines
4.4 KiB
ReStructuredText

:github_url: hide
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the GodotSharp.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_GodotSharp:
GodotSharp
==========
**Inherits:** :ref:`Object<class_Object>`
**Category:** Core
Brief Description
-----------------
Methods
-------
+-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`attach_thread<class_GodotSharp_method_attach_thread>` **(** **)** |
+-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`detach_thread<class_GodotSharp_method_detach_thread>` **(** **)** |
+-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`get_domain_id<class_GodotSharp_method_get_domain_id>` **(** **)** |
+-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`get_scripts_domain_id<class_GodotSharp_method_get_scripts_domain_id>` **(** **)** |
+-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`is_domain_finalizing_for_unload<class_GodotSharp_method_is_domain_finalizing_for_unload>` **(** :ref:`int<class_int>` domain_id **)** |
+-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`is_runtime_initialized<class_GodotSharp_method_is_runtime_initialized>` **(** **)** |
+-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`is_runtime_shutting_down<class_GodotSharp_method_is_runtime_shutting_down>` **(** **)** |
+-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`is_scripts_domain_loaded<class_GodotSharp_method_is_scripts_domain_loaded>` **(** **)** |
+-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
Method Descriptions
-------------------
.. _class_GodotSharp_method_attach_thread:
- void **attach_thread** **(** **)**
Attaches the current thread to the mono runtime.
----
.. _class_GodotSharp_method_detach_thread:
- void **detach_thread** **(** **)**
Detaches the current thread from the mono runtime.
----
.. _class_GodotSharp_method_get_domain_id:
- :ref:`int<class_int>` **get_domain_id** **(** **)**
----
.. _class_GodotSharp_method_get_scripts_domain_id:
- :ref:`int<class_int>` **get_scripts_domain_id** **(** **)**
----
.. _class_GodotSharp_method_is_domain_finalizing_for_unload:
- :ref:`bool<class_bool>` **is_domain_finalizing_for_unload** **(** :ref:`int<class_int>` domain_id **)**
Returns whether the domain is being finalized.
----
.. _class_GodotSharp_method_is_runtime_initialized:
- :ref:`bool<class_bool>` **is_runtime_initialized** **(** **)**
----
.. _class_GodotSharp_method_is_runtime_shutting_down:
- :ref:`bool<class_bool>` **is_runtime_shutting_down** **(** **)**
----
.. _class_GodotSharp_method_is_scripts_domain_loaded:
- :ref:`bool<class_bool>` **is_scripts_domain_loaded** **(** **)**
Returns whether the scripts domain is loaded.