mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Sync classref with current source
This commit is contained in:
@@ -117,6 +117,8 @@ Property Descriptions
|
||||
|
||||
URL to the device description.
|
||||
|
||||
----
|
||||
|
||||
.. _class_UPNPDevice_property_igd_control_url:
|
||||
|
||||
- :ref:`String<class_String>` **igd_control_url**
|
||||
@@ -131,6 +133,8 @@ URL to the device description.
|
||||
|
||||
IDG control URL.
|
||||
|
||||
----
|
||||
|
||||
.. _class_UPNPDevice_property_igd_our_addr:
|
||||
|
||||
- :ref:`String<class_String>` **igd_our_addr**
|
||||
@@ -145,6 +149,8 @@ IDG control URL.
|
||||
|
||||
Address of the local machine in the network connecting it to this ``UPNPDevice``.
|
||||
|
||||
----
|
||||
|
||||
.. _class_UPNPDevice_property_igd_service_type:
|
||||
|
||||
- :ref:`String<class_String>` **igd_service_type**
|
||||
@@ -159,6 +165,8 @@ Address of the local machine in the network connecting it to this ``UPNPDevice``
|
||||
|
||||
IGD service type.
|
||||
|
||||
----
|
||||
|
||||
.. _class_UPNPDevice_property_igd_status:
|
||||
|
||||
- :ref:`IGDStatus<enum_UPNPDevice_IGDStatus>` **igd_status**
|
||||
@@ -173,6 +181,8 @@ IGD service type.
|
||||
|
||||
IGD status. See :ref:`IGDStatus<enum_UPNPDevice_IGDStatus>`.
|
||||
|
||||
----
|
||||
|
||||
.. _class_UPNPDevice_property_service_type:
|
||||
|
||||
- :ref:`String<class_String>` **service_type**
|
||||
@@ -196,18 +206,24 @@ Method Descriptions
|
||||
|
||||
Adds a port mapping to forward the given external port on this ``UPNPDevice`` for the given protocol to the local machine. See :ref:`UPNP.add_port_mapping<class_UPNP_method_add_port_mapping>`.
|
||||
|
||||
----
|
||||
|
||||
.. _class_UPNPDevice_method_delete_port_mapping:
|
||||
|
||||
- :ref:`int<class_int>` **delete_port_mapping** **(** :ref:`int<class_int>` port, :ref:`String<class_String>` proto="UDP" **)** const
|
||||
|
||||
Deletes the port mapping identified by the given port and protocol combination on this device. See :ref:`UPNP.delete_port_mapping<class_UPNP_method_delete_port_mapping>`.
|
||||
|
||||
----
|
||||
|
||||
.. _class_UPNPDevice_method_is_valid_gateway:
|
||||
|
||||
- :ref:`bool<class_bool>` **is_valid_gateway** **(** **)** const
|
||||
|
||||
Returns ``true`` if this is a valid IGD (InternetGatewayDevice) which potentially supports port forwarding.
|
||||
|
||||
----
|
||||
|
||||
.. _class_UPNPDevice_method_query_external_address:
|
||||
|
||||
- :ref:`String<class_String>` **query_external_address** **(** **)** const
|
||||
|
||||
Reference in New Issue
Block a user