Navigation
API > API/Runtime > API/Runtime/Sockets
Helper struct to hold and quickly access server TOC.
| Name | FServerTOC |
| Type | struct |
| Header File | /Engine/Source/Runtime/Sockets/Public/ServerTOC.h |
| Include Path | #include "ServerTOC.h" |
Syntax
struct FServerTOC
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FServerTOC() |
Destructor. Destroys directories. | ServerTOC.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FDirectory | TMap< FString, FDateTime > | List of files in a directory. | ServerTOC.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Directories | TMap< FString, FDirectory * > | This is the "TOC" of the server | ServerTOC.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddFileOrDirectory
(
const FString& Filename, |
Adds a file or directory to TOC. | ServerTOC.h | |
const FDirectory * FindDirectory
(
const FString& Directory |
Finds a directory in TOC. | ServerTOC.h | |
FDirectory * FindDirectory
(
const FString& Directory |
Finds a directory in TOC non const version used internally see FindDirectory | ServerTOC.h | |
const FDateTime * FindFile
(
const FString& Filename |
Finds a file in TOC. | ServerTOC.h | |
int32 RemoveFileOrDirectory
(
const FString& Filename |
ServerTOC.h |