Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Virtualization > API/Runtime/Core/Virtualization/IVirtualizationSystem > API/Runtime/Core/Virtualization/IVirtualizationSystem/PushData
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Virtualization/VirtualizationSystem.h |
| Include | #include "Virtualization/VirtualizationSystem.h" |
bool PushData
&40;
const FIoHash & Id,
const FCompressedBuffer & Payload,
const FString & Context,
EStorageType StorageType
&41;
Remarks
Push a payload to the virtualization backends. When StorageType is EStorageType::Cache this will return true as long each payload ends up being stored in at least one of the cache backends. When StorageType is EStorageType::Persistent this will only return true if each payload endd up being stored in all of the backends. This is because the cache backends are not considered essential and it is not the end of the world if a payload is missing but the persistent backends must be reliable.
Parameters
| Name | Description |
|---|---|
| Id | The identifier of the payload being pushed. |
| Payload | The payload itself in FCompressedBuffer form, it is assumed that if the buffer is to be compressed that it will have been done by the caller. |
| Context | Context for the payload being submitted, typically the name from the UPackage that owns it. |
| StorageType | The type of storage to push the payload to, EStorageType for details. |