diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-06-06 12:19:56 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-06-06 12:19:56 +0300 |
commit | b3bbf3db47b2bde688b013cb29f99e745313e2c5 (patch) | |
tree | 07ca2aa8758dbe28071438740d71cda209f1caa6 /doc | |
parent | 52952edafcbbc42185db8e5371119c1df9afca83 (diff) |
[GDExtension] Expose Variant, NodePath and StringName hash functions.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/NodePath.xml | 6 | ||||
-rw-r--r-- | doc/classes/StringName.xml | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/classes/NodePath.xml b/doc/classes/NodePath.xml index 3319e5d822..0d286a20b7 100644 --- a/doc/classes/NodePath.xml +++ b/doc/classes/NodePath.xml @@ -157,6 +157,12 @@ For example, [code]"Path2D/PathFollow2D/Sprite2D:texture:load_path"[/code] has 2 subnames. </description> </method> + <method name="hash" qualifiers="const"> + <return type="int" /> + <description> + Returns the 32-bit hash value representing the [NodePath]'s contents. + </description> + </method> <method name="is_absolute" qualifiers="const"> <return type="bool" /> <description> diff --git a/doc/classes/StringName.xml b/doc/classes/StringName.xml index ffa1227500..a2bcac9788 100644 --- a/doc/classes/StringName.xml +++ b/doc/classes/StringName.xml @@ -32,6 +32,14 @@ </description> </constructor> </constructors> + <methods> + <method name="hash" qualifiers="const"> + <return type="int" /> + <description> + Returns the 32-bit hash value representing the [StringName]'s contents. + </description> + </method> + </methods> <operators> <operator name="operator !="> <return type="bool" /> |