Interface for network file system modules. 更多...
#include <INetworkFileSystemModule.h>
类 INetworkFileSystemModule 继承关系图:Public 成员函数 | |
| virtual INetworkFileServer * | CreateNetworkFileServer (bool bLoadTargetPlatforms, int32 Port=-1, FNetworkFileDelegateContainer InNetworkFileDelegateContainer=FNetworkFileDelegateContainer(), const ENetworkFileServerProtocol Protocol=NFSP_Tcp) const =0 |
| Creates a new network file server. 更多... | |
| virtual | ~INetworkFileSystemModule () |
| Virtual destructor. | |
Public 成员函数 继承自 IModuleInterface | |
| virtual bool | IsGameModule () const |
| Returns true if this module hosts gameplay code 更多... | |
| virtual void | PostLoadCallback () |
| Called after the module has been reloaded | |
| virtual void | PreUnloadCallback () |
| Called before the module has been unloaded | |
| virtual void | ShutdownModule () |
| Called before the module is unloaded, right before the module object is destroyed. 更多... | |
| virtual void | StartupModule () |
| Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule. 更多... | |
| virtual bool | SupportsAutomaticShutdown () |
| Override this to set whether your module would like cleanup on application shutdown 更多... | |
| virtual bool | SupportsDynamicReloading () |
| Override this to set whether your module is allowed to be unloaded on the fly 更多... | |
| virtual | ~IModuleInterface () |
| Note: Even though this is an interface class we need a virtual destructor here because modules are deleted via a pointer to this interface | |
Interface for network file system modules.
|
pure virtual |
Creates a new network file server.
| InPort | The port number to bind to (-1 = default port, 0 = any available port). |
| Streaming | Whether it should be a streaming server. |
| InFileRequestDelegate | An optional delegate to be invoked when a file is requested by a client. |
| InRecompileShadersDelegate | An optional delegate to be invoked when shaders need to be recompiled. |