mirror of https://github.com/godotengine/godot
The returned value is an UPNPResult, not an Error. Both `UPNP.UPNP_RESULT_SUCCESS` and `OK` are equal to 0, so it will behave the same, but it's not identical from a static typing perspective. |
||
|---|---|---|
| .. | ||
| doc_classes | ||
| SCsub | ||
| config.py | ||
| register_types.cpp | ||
| register_types.h | ||
| upnp.cpp | ||
| upnp.h | ||
| upnp_device.cpp | ||
| upnp_device.h | ||
| upnp_device_miniupnp.cpp | ||
| upnp_device_miniupnp.h | ||
| upnp_miniupnp.cpp | ||
| upnp_miniupnp.h | ||