You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb PJ.Kack #rnx #preflight 61b79447f807c623046e91a5 ### FPackageTrailer - FPackageTrailerBuilder::Create now renamed to ::CreateFromTrailer to make it a bit clearer. - Added 'AccessMode' to the file format documentation. - FPackageTrailerBuilder no longer tracks infomation about the trailer once it is written to disk. Instead when writing to disk we will create a valid FPackageTrailer as part of the serialization. This will be passed to callbacks and can be queried by virtualized bulkdata. -- Since the builder no longer tracks data after creating the trailer, we can remove checks from methods like ::AddPayload. -- Removed FPackageTrailerBuilder::FindPayloadOffset and added a version to FPackageTrailer instead. - Changed a number of methods to take FPayloadId by reference rather than by value. ### VirtualizedBulkData - Replaced areas of code responsible for updating previously written out values with the utility function ::UpdateArchiveData to help with code readability. ### Misc - FLinkerSave no longer creates a FPackageTrailerBuilder by default, instead one should be added to the FLinkerSave if we want to build a trailer for the package being saved. - FLinkerLoad now considers 0 to be an invalid value for PayloadTocOffset in addition to INDEX_NONE, so we now check if the value is > than 0. This is because when FPackageFileSummary objects are created, all members are set to zero and we know that a FPackageTrailer cannot be 0 and the rest of the package still exist so we can safely consider it invalid. - SavePackage/SavePackage2 now create the FPackageTrailerBuilder when the linker is created if the package trailer feature is enabled. -- We now always call BuildAndWriteTrailer and then only skip the creation of the trailer if the builder is missing or conditions are not met. -- If we do not write out the trailer, we make sure to set PayloadTocOffset in the FPackageFileSummary to INDEX_NONE as it is clearer than leaving it at the default 0. #ROBOMERGE-AUTHOR: paul.chipchase #ROBOMERGE-SOURCE: CL 18453324 in //UE5/Release-5.0/... via CL 18453328 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v898-18417669) [CL 18453333 by paul chipchase in ue5-release-engine-test branch]