Skip to content

Data Patch

Pavle edited this page Jul 28, 2022 · 2 revisions
struct DataPatch
{
    unsigned int entryCount;
    TArray<SPatchFileData> patchFilesData;
    TArray<SPatchOperation> patchOperations;
    TArray<TArray<unsigned char>> patchedResourceData;
};

struct SPatchFileData
{
  unsigned long long nResourceID;
  unsigned int nFirstOperationOffset;
  unsigned int nOperationCount;
};

struct SPatchOperation
{
  unsigned int nFilePosition;
  unsigned int nDeleteCount;
  unsigned int nPatchDataPosition;
  unsigned int nPatchDataSize;
};
Clone this wiki locally