.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/modules/upnp/doc_classes/UPNPDevice.xml. .. _class_UPNPDevice: UPNPDevice ========== **Inherits:** :ref:`RefCounted` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +---------------------------------------------+---------------------------------------------------------------------+--------+ | :ref:`String` | :ref:`description_url` | ``""`` | +---------------------------------------------+---------------------------------------------------------------------+--------+ | :ref:`String` | :ref:`igd_control_url` | ``""`` | +---------------------------------------------+---------------------------------------------------------------------+--------+ | :ref:`String` | :ref:`igd_our_addr` | ``""`` | +---------------------------------------------+---------------------------------------------------------------------+--------+ | :ref:`String` | :ref:`igd_service_type` | ``""`` | +---------------------------------------------+---------------------------------------------------------------------+--------+ | :ref:`IGDStatus` | :ref:`igd_status` | ``9`` | +---------------------------------------------+---------------------------------------------------------------------+--------+ | :ref:`String` | :ref:`service_type` | ``""`` | +---------------------------------------------+---------------------------------------------------------------------+--------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`add_port_mapping` **(** :ref:`int` port, :ref:`int` port_internal=0, :ref:`String` desc="", :ref:`String` proto="UDP", :ref:`int` duration=0 **)** |const| | +-----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`delete_port_mapping` **(** :ref:`int` port, :ref:`String` proto="UDP" **)** |const| | +-----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_valid_gateway` **(** **)** |const| | +-----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`query_external_address` **(** **)** |const| | +-----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumerations ------------ .. _enum_UPNPDevice_IGDStatus: .. rst-class:: classref-enumeration enum **IGDStatus**: .. _class_UPNPDevice_constant_IGD_STATUS_OK: .. rst-class:: classref-enumeration-constant :ref:`IGDStatus` **IGD_STATUS_OK** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_UPNPDevice_constant_IGD_STATUS_HTTP_ERROR: .. rst-class:: classref-enumeration-constant :ref:`IGDStatus` **IGD_STATUS_HTTP_ERROR** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_UPNPDevice_constant_IGD_STATUS_HTTP_EMPTY: .. rst-class:: classref-enumeration-constant :ref:`IGDStatus` **IGD_STATUS_HTTP_EMPTY** = ``2`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_UPNPDevice_constant_IGD_STATUS_NO_URLS: .. rst-class:: classref-enumeration-constant :ref:`IGDStatus` **IGD_STATUS_NO_URLS** = ``3`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_UPNPDevice_constant_IGD_STATUS_NO_IGD: .. rst-class:: classref-enumeration-constant :ref:`IGDStatus` **IGD_STATUS_NO_IGD** = ``4`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_UPNPDevice_constant_IGD_STATUS_DISCONNECTED: .. rst-class:: classref-enumeration-constant :ref:`IGDStatus` **IGD_STATUS_DISCONNECTED** = ``5`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_UPNPDevice_constant_IGD_STATUS_UNKNOWN_DEVICE: .. rst-class:: classref-enumeration-constant :ref:`IGDStatus` **IGD_STATUS_UNKNOWN_DEVICE** = ``6`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_UPNPDevice_constant_IGD_STATUS_INVALID_CONTROL: .. rst-class:: classref-enumeration-constant :ref:`IGDStatus` **IGD_STATUS_INVALID_CONTROL** = ``7`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_UPNPDevice_constant_IGD_STATUS_MALLOC_ERROR: .. rst-class:: classref-enumeration-constant :ref:`IGDStatus` **IGD_STATUS_MALLOC_ERROR** = ``8`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_UPNPDevice_constant_IGD_STATUS_UNKNOWN_ERROR: .. rst-class:: classref-enumeration-constant :ref:`IGDStatus` **IGD_STATUS_UNKNOWN_ERROR** = ``9`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_UPNPDevice_property_description_url: .. rst-class:: classref-property :ref:`String` **description_url** = ``""`` .. rst-class:: classref-property-setget - void **set_description_url** **(** :ref:`String` value **)** - :ref:`String` **get_description_url** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_UPNPDevice_property_igd_control_url: .. rst-class:: classref-property :ref:`String` **igd_control_url** = ``""`` .. rst-class:: classref-property-setget - void **set_igd_control_url** **(** :ref:`String` value **)** - :ref:`String` **get_igd_control_url** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_UPNPDevice_property_igd_our_addr: .. rst-class:: classref-property :ref:`String` **igd_our_addr** = ``""`` .. rst-class:: classref-property-setget - void **set_igd_our_addr** **(** :ref:`String` value **)** - :ref:`String` **get_igd_our_addr** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_UPNPDevice_property_igd_service_type: .. rst-class:: classref-property :ref:`String` **igd_service_type** = ``""`` .. rst-class:: classref-property-setget - void **set_igd_service_type** **(** :ref:`String` value **)** - :ref:`String` **get_igd_service_type** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_UPNPDevice_property_igd_status: .. rst-class:: classref-property :ref:`IGDStatus` **igd_status** = ``9`` .. rst-class:: classref-property-setget - void **set_igd_status** **(** :ref:`IGDStatus` value **)** - :ref:`IGDStatus` **get_igd_status** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_UPNPDevice_property_service_type: .. rst-class:: classref-property :ref:`String` **service_type** = ``""`` .. rst-class:: classref-property-setget - void **set_service_type** **(** :ref:`String` value **)** - :ref:`String` **get_service_type** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_UPNPDevice_method_add_port_mapping: .. rst-class:: classref-method :ref:`int` **add_port_mapping** **(** :ref:`int` port, :ref:`int` port_internal=0, :ref:`String` desc="", :ref:`String` proto="UDP", :ref:`int` duration=0 **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_UPNPDevice_method_delete_port_mapping: .. rst-class:: classref-method :ref:`int` **delete_port_mapping** **(** :ref:`int` port, :ref:`String` proto="UDP" **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_UPNPDevice_method_is_valid_gateway: .. rst-class:: classref-method :ref:`bool` **is_valid_gateway** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_UPNPDevice_method_query_external_address: .. rst-class:: classref-method :ref:`String` **query_external_address** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`