FServerTOC

Helper struct to hold and quickly access server TOC.

Choose your operating system:

Windows

macOS

Linux

References

Module

Sockets

Header

/Engine/Source/Runtime/Sockets/Public/ServerTOC.h

Include

#include "ServerTOC.h"

Syntax

struct FServerTOC

Remarks

Helper struct to hold and quickly access server TOC.

Variables

Name Description

Public variable

TMap< FString, ...

 

Directories

This is the "TOC" of the server

Destructors

Name Description

Public function

~FServerTOC()

  1. Destroys directories.

Functions

Name Description

Public function

void

 

AddFileOrDirectory

(
    const FString& Filename,
    const FDateTime& Timestamp
)

Adds a file or directory to TOC.

Public function Const

const FDirec...

 

FindDirectory

(
    const FString& Directory
)

Finds a directory in TOC.

Public function

FDirectory &...

 

FindDirectory

(
    const FString& Directory
)

Finds a directory in TOC non const version used internally see FindDirectory

Public function Const

const FDateT...

 

FindFile

(
    const FString& Filename
)

Finds a file in TOC.

Public function

int32

 

RemoveFileOrDirectory

(
    const FString& Filename
)

Typedefs

Name

Description

FDirectory

List of files in a directory.