21.1 Overview

Plugins that have the capability flag HWPLUG_CAPS_NETWORKADAPTER set can hook into Hollywood's network handler. Whenever Hollywood tries to open a connection to a server, it will first ask your plugin then whether or not it wants to handle the connection request.

Please note that network adapters are not automatically initialized when Hollywood loads the plugin. Instead, you have to manually call hw_AddLoaderAdapter() in your RequirePlugin() function to activate the network adapter. The network adapter will then only be activated if the user calls @REQUIRE on your plugin. See Auto and manual plugin initialization for details. If you do not call hw_AddLoaderAdapter() on your directory adapter plugin, it will only be available if the user addresses it directly through the Adapter tag.

See hw_AddLoaderAdapter for information on how to add your network adapter.

This plugin type is supported since Hollywood 8.0.

Show TOC