diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-05-28 11:58:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-28 11:58:20 +0200 |
commit | 98846b39ee039358584884b439b96e799f1d2bd0 (patch) | |
tree | eb53811acc9e5e3d8003e406ba0caa800bd46552 /doc/classes | |
parent | cdb5186d7e0c0c1374686cdd92015c233b62ee64 (diff) | |
parent | 1433c2cbbb89df1edb0b727c9781481af5705f59 (diff) |
Merge pull request #18899 from ibrahn/gdscript-license-info
GDScript access to copyright, license, author and donor information.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Engine.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/classes/Engine.xml b/doc/classes/Engine.xml index cc2ae4e768..3273005395 100644 --- a/doc/classes/Engine.xml +++ b/doc/classes/Engine.xml @@ -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> |