summaryrefslogtreecommitdiff
path: root/doc/classes/@GlobalScope.xml
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2021-08-23 20:57:52 -0300
committerreduz <reduzio@gmail.com>2021-08-23 21:55:45 -0300
commit65ca132a80760be9f4c0fe1a175445e867bb7ac8 (patch)
tree1798a0e9c5da9047319ff3c73bf555a9e9f4f8d3 /doc/classes/@GlobalScope.xml
parentaa3c3a9ebbc096bba9eda324b91acbb7f14a7b07 (diff)
Expose RID creation utilities.
* Exposed as utility functions. * Not very useful for script, but vital for creating servers using native extensions.
Diffstat (limited to 'doc/classes/@GlobalScope.xml')
-rw-r--r--doc/classes/@GlobalScope.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml
index af39069b38..090ca5a033 100644
--- a/doc/classes/@GlobalScope.xml
+++ b/doc/classes/@GlobalScope.xml
@@ -711,6 +711,19 @@
<description>
</description>
</method>
+ <method name="rid_allocate_id">
+ <return type="int" />
+ <description>
+ Allocate a unique ID which can be used by the implementation to construct a RID. This is used mainly from native extensions to implement servers.
+ </description>
+ </method>
+ <method name="rid_from_int64">
+ <return type="RID" />
+ <argument index="0" name="base" type="int" />
+ <description>
+ Create a RID from an int64. This is used mainly from native extensions to build servers.
+ </description>
+ </method>
<method name="round">
<return type="float" />
<argument index="0" name="x" type="float" />