UE4SS-RE / RE-UE4SS

Injectable LUA scripting system, SDK generator, live property editor and other dumping utilities for UE4/5 games
http://docs.ue4ss.com/
MIT License
1.37k stars 187 forks source link

UHT - Fix SetupAttachment implementations randomly changing order #606

Closed Buckminsterfullerene02 closed 3 months ago

Buckminsterfullerene02 commented 4 months ago

Description

this->someproperty->SetupAttachment(someparent) implementations in constructors randomly change order between sessions, and as a consequence, makes diffs more difficult to read (or manually fix them to not mess up the diffs).

This PR simply sorts them by someproperty. There is no observed performance impact.

Type of change

How Has This Been Tested?

  1. Run game
  2. Make dump (rename folder to not be overwritten)
  3. Restart game
  4. Make another dump
  5. Check in winmerge that all files are identical

Checklist