Navigation
API > API/Plugins > API/Plugins/StormSyncCore
Represents a file included in an ava package (and buffer). Has information about package name, and file system data such as file timestamp, size and hash used in the diffing process to figure out which files need to be synchronized for a given ava package.
| Name | FStormSyncFileDependency |
| Type | struct |
| Header File | /Engine/Plugins/VirtualProduction/StormSync/Source/StormSyncCore/Public/StormSyncPackageDescriptor.h |
| Include Path | #include "StormSyncPackageDescriptor.h" |
Syntax
USTRUCT ()
struct FStormSyncFileDependency
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor. | StormSyncPackageDescriptor.h | ||
FStormSyncFileDependency
(
const FName& InPackageName |
Default constructor initializing just the PackageName | StormSyncPackageDescriptor.h | |
FStormSyncFileDependency
(
const FName& InPackageName, |
Default constructor with all members initialization | StormSyncPackageDescriptor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FileHash | FString | The MD5 hash of the file on disk | StormSyncPackageDescriptor.h |
|
| FileSize | uint64 | File size on disk | StormSyncPackageDescriptor.h |
|
| PackageName | FName | Original package name (eg. /Game/Path/File) | StormSyncPackageDescriptor.h |
|
| Timestamp | int64 | Unix timestamp the file had when the buffer was created | StormSyncPackageDescriptor.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsValid() |
Returns whether file info was properly initialized | StormSyncPackageDescriptor.h | |
FString ToString() |
StormSyncPackageDescriptor.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString GetDestFilepath
(
const FName& InPackageName, |
Return the fully qualified path for destination filename based on provided Package Name. | StormSyncPackageDescriptor.h |