From 2551647690c894ab9d82493b48d50350022eb893 Mon Sep 17 00:00:00 2001 From: "Daniel J. Ramirez" Date: Tue, 12 Sep 2017 17:18:26 -0500 Subject: [PATCH] Added documentation for ClassDB and Marshalls --- doc/classes/ClassDB.xml | 21 +++++++++++++++++++++ doc/classes/Marshalls.xml | 2 ++ 2 files changed, 23 insertions(+) diff --git a/doc/classes/ClassDB.xml b/doc/classes/ClassDB.xml index 3e647446dad..35cf8199595 100644 --- a/doc/classes/ClassDB.xml +++ b/doc/classes/ClassDB.xml @@ -1,8 +1,10 @@ + Class information repository. + Provides access to metadata stored for every available class. @@ -15,6 +17,7 @@ + Returns true if you can instance objects from the specified 'class', false in other case. @@ -23,6 +26,7 @@ + Returns whether the specified 'class' is available or not. @@ -41,6 +45,7 @@ + Returns the value of the integer constant 'name' of 'class' or its ancestry. Always returns 0 when the constant could not be found. @@ -51,6 +56,7 @@ + Returns an array with the names all the integer constants of 'class' or its ancestry. @@ -61,6 +67,7 @@ + Returns an array with all the methods of 'class' or its ancestry if 'no_inheritance' is false. Every element of the array is a [Dictionary] with the following keys: args, default_args, flags, id, name, return: (class_name, hint, hint_string, name, type, usage). @@ -71,6 +78,7 @@ + Returns the value of 'property' of 'class' or its ancestry. @@ -81,6 +89,7 @@ + Returns an array with all the properties of 'class' or its ancestry if 'no_inheritance' is false. @@ -91,6 +100,7 @@ + Returns the 'signal' data of 'class' or its ancestry. The returned value is a [Dictionary] with the following keys: args, default_args, flags, id, name, return: (class_name, hint, hint_string, name, type, usage). @@ -101,6 +111,7 @@ + Returns an array with all the signals of 'class' or its ancestry if 'no_inheritance' is false. Every element of the array is a [Dictionary] as described in [class_get_signal]. @@ -111,6 +122,7 @@ + Return whether 'class' or its ancestry has an integer constant called 'name' or not. @@ -123,6 +135,7 @@ + Return whether 'class' (or its ancestry if 'no_inheritance' is false) has a method called 'method' or not. @@ -133,6 +146,7 @@ + Return whether 'class' or its ancestry has a signal called 'signal' or not. @@ -145,12 +159,14 @@ + Sets 'property' value of 'class' to 'value'. + Returns the names of all the classes available. @@ -159,6 +175,7 @@ + Returns the names of all the classes that directly or indirectly inherit from 'class'. @@ -167,6 +184,7 @@ + Returns the parent class of 'class'. @@ -175,6 +193,7 @@ + Creates an instance of 'class'. @@ -183,6 +202,7 @@ + Returns whether this class is enabled or not. @@ -193,6 +213,7 @@ + Returns whether 'inherits' is an ancestor of 'class' or not. diff --git a/doc/classes/Marshalls.xml b/doc/classes/Marshalls.xml index 6870764b686..b443d031080 100644 --- a/doc/classes/Marshalls.xml +++ b/doc/classes/Marshalls.xml @@ -1,8 +1,10 @@ + Data transformation (marshalling) and encoding helpers. + Provides data transformation and encoding utility functions.