Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
ICompressionFormat.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
6#include "Features/IModularFeatures.h"
7#include "Modules/ModuleInterface.h"
8#include "Modules/ModuleManager.h"
9#include "Misc/CompressionFlags.h"
10
11
12#define COMPRESSION_FORMAT_FEATURE_NAME "CompressionFormat"
13
15{
17 virtual bool Compress(void* CompressedBuffer, int32& CompressedSize, const void* UncompressedBuffer, int32 UncompressedSize, int32 CompressionData, ECompressionFlags Flags) = 0;
18 virtual bool Uncompress(void* UncompressedBuffer, int32& UncompressedSize, const void* CompressedBuffer, int32 CompressedSize, int32 CompressionData) = 0;
19 virtual int32 GetCompressedBufferSize(int32 UncompressedSize, int32 CompressionData) = 0;
20 virtual uint32 GetVersion() = 0;
21 virtual FString GetDDCKeySuffix() = 0;
23};
ECompressionFlags
virtual int32 GetCompressedBufferSize(int32 UncompressedSize, int32 CompressionData)=0
virtual bool Compress(void *CompressedBuffer, int32 &CompressedSize, const void *UncompressedBuffer, int32 UncompressedSize, int32 CompressionData, ECompressionFlags Flags)=0
virtual bool DoesOwnWorthDecompressingCheck()=0
virtual FString GetDDCKeySuffix()=0
virtual bool Uncompress(void *UncompressedBuffer, int32 &UncompressedSize, const void *CompressedBuffer, int32 CompressedSize, int32 CompressionData)=0
virtual FName GetCompressionFormatName()=0
virtual uint32 GetVersion()=0