Rewrite the methods section of the IP class
Document methods for the BoneAttachment class Fix indentation issues present in IP and BoneAttachment class doc commits Further indentation corrections to the IP and BoneAttachment classes
This commit is contained in:
parent
767f9ce29a
commit
41cfa664a5
|
@ -9270,6 +9270,7 @@
|
|||
<return type="String">
|
||||
</return>
|
||||
<description>
|
||||
Returns the name of the bone node attached to.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_bone_name">
|
||||
|
@ -9278,6 +9279,7 @@
|
|||
<argument index="0" name="bone_name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Changes the name of the bone node
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
|
@ -22150,7 +22152,7 @@
|
|||
IP Protocol support functions.
|
||||
</brief_description>
|
||||
<description>
|
||||
IP contains some support functions for the IPv4 protocol. TCP/IP support is in different classes (see [StreamPeerTCP] and [TCP_Server]). IP provides hostname resolution support, both blocking and threaded.
|
||||
IP contains support functions for the IPv4 protocol. TCP/IP support is in different classes (see [StreamPeerTCP] and [TCP_Server]). IP provides hostname resolution support, both blocking and threaded.
|
||||
</description>
|
||||
<methods>
|
||||
<method name="clear_cache">
|
||||
|
@ -22159,6 +22161,7 @@
|
|||
<argument index="0" name="hostname" type="String" default="""">
|
||||
</argument>
|
||||
<description>
|
||||
Removes all of a "hostname"'s cached references. If no "hostname" is given then all cached IP addresses are removed.
|
||||
</description>
|
||||
</method>
|
||||
<method name="erase_resolve_item">
|
||||
|
@ -22167,13 +22170,14 @@
|
|||
<argument index="0" name="id" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Erase a queue ID, removing it from the queue if needed. This should be used after a queue is completed to free it and enable more queries to happen.
|
||||
Removes a given item "id" from the queue. This should be used to free a queue after it has completed to enable more queries to happen.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_local_addresses" qualifiers="const">
|
||||
<method name="get_local_addresses" qualifiers="const">
|
||||
<return type="Array">
|
||||
</return>
|
||||
<description>
|
||||
Returns all of the user's current IPv4 and IPv6 addresses as an array.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_resolve_item_address" qualifiers="const">
|
||||
|
@ -22182,7 +22186,7 @@
|
|||
<argument index="0" name="id" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Return a resolved item address, or an empty string if an error happened or resolution didn't happen yet (see [method get_resolve_item_status]).
|
||||
Returns a queued hostname's IP address, given its queue "id". Returns an empty string on error or if resolution hasn't happened yet (see [method get_resolve_item_status]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_resolve_item_status" qualifiers="const">
|
||||
|
@ -22191,7 +22195,7 @@
|
|||
<argument index="0" name="id" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Return the status of hostname queued for resolving, given its queue ID. Returned status can be any of the RESOLVER_STATUS_* enumeration.
|
||||
Returns a queued hostname's status as a RESOLVER_STATUS_* constant, given its queue "id".
|
||||
</description>
|
||||
</method>
|
||||
<method name="resolve_hostname">
|
||||
|
@ -22202,7 +22206,7 @@
|
|||
<argument index="1" name="ip_type" type="int" enum="IP.Type" default="3">
|
||||
</argument>
|
||||
<description>
|
||||
Resolve a given hostname, blocking. Resolved hostname is returned as an IPv4 or IPv6 depending on "ip_type".
|
||||
Returns a given hostname's IPv4 or IPv6 address when resolved (blocking-type method). The address type returned depends on the TYPE_* constant given as "ip_type".
|
||||
</description>
|
||||
</method>
|
||||
<method name="resolve_hostname_queue_item">
|
||||
|
@ -22213,7 +22217,7 @@
|
|||
<argument index="1" name="ip_type" type="int" enum="IP.Type" default="3">
|
||||
</argument>
|
||||
<description>
|
||||
Create a queue item for resolving a given hostname to an IPv4 or IPv6 depending on "ip_type". The queue ID is returned, or RESOLVER_INVALID_ID on error.
|
||||
Creates a queue item to resolve a hostname to an IPv4 or IPv6 address depending on the TYPE_* constant given as "ip_type". Returns the queue ID if successful, or RESOLVER_INVALID_ID on error.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
|
@ -49569,7 +49573,7 @@
|
|||
- Rounded corners (individual radius for each corner)
|
||||
- Shadow
|
||||
About corner radius:
|
||||
Setting corner radius to high values is allowed. As soon as corners would overlap the stylebox will switch to a relative system. Example:
|
||||
Setting corner radius to high values is allowed. As soon as corners would overlap the stylebox will switch to a relative system. Example:
|
||||
[codeblock]
|
||||
height = 30
|
||||
corner_radius_top_left = 50
|
||||
|
|
Loading…
Reference in New Issue