mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
GDScript access to copyright, license, author and donor information.
Adds following functions to the Engine singleton: get_author_info - names of Godot authors get_copyright_info - detailed source copyright get_license_info get_donor_info - donor names get_license_info - full text of licenses used, indexed by license names get_license_text - the text of the Godot Expat license
This commit is contained in:
@@ -11,6 +11,36 @@
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="get_author_info" qualifiers="const">
|
||||
<return type="Dictionary">
|
||||
</return>
|
||||
<description>
|
||||
Returns engine author information in a Dictionary.
|
||||
|
||||
"lead_developers" - Array of Strings, lead developer names
|
||||
"founders" - Array of Strings, founder names
|
||||
"project_managers" - Array of Strings, project manager names
|
||||
"developers" - Array of Strings, developer names
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_copyright_info" qualifiers="const">
|
||||
<return type="Array">
|
||||
</return>
|
||||
<description>
|
||||
Returns an Array of copyright information Dictionaries.
|
||||
|
||||
"name" - String, component name
|
||||
"parts" - Array of Dictionaries {"files", "copyright", "license"} describing subsections of the component
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_donor_info" qualifiers="const">
|
||||
<return type="Dictionary">
|
||||
</return>
|
||||
<description>
|
||||
Returns a Dictionary of Arrays of donor names.
|
||||
{"platinum_sponsors", "gold_sponsors", "mini_sponsors", "gold_donors", "silver_donors", "bronze_donors"}
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_frames_drawn">
|
||||
<return type="int">
|
||||
</return>
|
||||
@@ -25,6 +55,20 @@
|
||||
Returns the frames per second of the running game.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_license_info" qualifiers="const">
|
||||
<return type="Dictionary">
|
||||
</return>
|
||||
<description>
|
||||
Returns Dictionary of licenses used by Godot and included third party components.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_license_text" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
<description>
|
||||
Returns Godot license text.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_main_loop" qualifiers="const">
|
||||
<return type="MainLoop">
|
||||
</return>
|
||||
|
||||
Reference in New Issue
Block a user