UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
INetworkFileSystemModule.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "ShaderCompiler.h"
8
10namespace UE::Cook
11{
13}
14
22
27
32
37
38
46DECLARE_DELEGATE_RetVal_TwoParams( bool, FNewConnectionDelegate, const FString&, const FString& );
47
48
49// container struct for delegates which the network file system uses
67
81
82// Network file server options
84{
85 /* File server protocol*/
87
88 /* The port number to bind to (-1 = default port, 0 = any available port) */
90
91 /* Optional delegates to be invoked when a file is requested by a client */
93
94 /* Active target platform(s) */
96
97 /* When running cook on the fly this options restricts package assets being sent from the project content folder */
99};
100
@ INDEX_NONE
Definition CoreMiscDefines.h:150
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DECLARE_DELEGATE_RetVal(ReturnValueType, DelegateName)
Definition DelegateCombinations.h:41
#define DECLARE_DELEGATE_OneParam(DelegateName, Param1Type)
Definition DelegateCombinations.h:48
#define DECLARE_DELEGATE_RetVal_TwoParams(ReturnValueType, DelegateName, Param1Type, Param2Type)
Definition DelegateCombinations.h:63
#define DECLARE_DELEGATE_ThreeParams(DelegateName, Param1Type, Param2Type, Param3Type)
Definition DelegateCombinations.h:66
#define DECLARE_MULTICAST_DELEGATE_OneParam(DelegateName, Param1Type)
Definition DelegateCombinations.h:49
ENetworkFileServerProtocol
Definition INetworkFileSystemModule.h:69
@ NFSP_Platform
Definition INetworkFileSystemModule.h:79
@ NFSP_Http
Definition INetworkFileSystemModule.h:71
@ NFSP_Tcp
Definition INetworkFileSystemModule.h:70
Definition ModuleInterface.h:14
Definition INetworkFileServer.h:13
Definition INetworkFileSystemModule.h:106
virtual INetworkFileServer * CreateNetworkFileServer(FNetworkFileServerOptions FileServerOptions, bool bLoadTargetPlatforms) const =0
virtual ~INetworkFileSystemModule()
Definition INetworkFileSystemModule.h:149
virtual INetworkFileServer * CreateNetworkFileServer(bool bLoadTargetPlatforms, int32 Port=-1, FNetworkFileDelegateContainer InNetworkFileDelegateContainer=FNetworkFileDelegateContainer(), const ENetworkFileServerProtocol Protocol=NFSP_Tcp) const =0
virtual INetworkFileServer * CreateNetworkFileServer(TSharedRef< UE::Cook::ICookOnTheFlyNetworkServer > CookOnTheFlyNetworkServer, FNetworkFileDelegateContainer Delegates) const
Definition INetworkFileSystemModule.h:139
Definition Array.h:670
Definition SharedPointer.h:153
Definition CookOnTheFly.h:19
Definition INetworkFileSystemModule.h:51
FFileRequestDelegate FileRequestDelegate
Definition INetworkFileSystemModule.h:62
FOnFileModifiedDelegate * OnFileModifiedCallback
Definition INetworkFileSystemModule.h:65
FRecompileShadersDelegate RecompileShadersDelegate
Definition INetworkFileSystemModule.h:63
FSandboxPathDelegate SandboxPathOverrideDelegate
Definition INetworkFileSystemModule.h:61
FNewConnectionDelegate NewConnectionDelegate
Definition INetworkFileSystemModule.h:60
FNetworkFileDelegateContainer()
Definition INetworkFileSystemModule.h:53
Definition INetworkFileSystemModule.h:84
FNetworkFileDelegateContainer Delegates
Definition INetworkFileSystemModule.h:92
TArray< ITargetPlatform * > TargetPlatforms
Definition INetworkFileSystemModule.h:95
ENetworkFileServerProtocol Protocol
Definition INetworkFileSystemModule.h:86
int32 Port
Definition INetworkFileSystemModule.h:89
bool bRestrictPackageAssetsToSandbox
Definition INetworkFileSystemModule.h:98
Definition ShaderCompiler.h:1481