FConcertPropertyChain will now
- never contain inner properties
- allow listing properties of structs with a custom Serialize function
#jira UE-199858, UE-203967, UE-204122
[CL 30722633 by dominik peacock in ue5-main branch]
It's about 1/4 of CoreMinimal.h but rarely needed (Compression.h pulls on CriticalSection.h and Map.h that are costly).
#rb Yoan.StAmant
[CL 30683417 by aris theophanidis in ue5-main branch]
- Blueprints can edit the frequency
- Blueprints can read what the client thinks is the frequency rate of an object
#jira UE-203361
#jira UE-203731
[CL 30589435 by dominik peacock in ue5-main branch]
- `ResultType TFuture::Consume()`
+ Moves and returns the result to the caller. Invalidates the future.
+ Equivalent to `std::future::get()`, but with a different name to avoid breaking existing usage of Get, and to make it clear that the result is being moved out.
- `const ResultType& TFuture::Get() const`
+ Returns the result by const reference, instead of trying to copy it.
+ Should provide perf benefits due to a copy of the result no longer being returned.
+ This method is still not equivalent to std::future::get. Changing it to return a const reference allows a non-copyable object to be peeked at.
+ Uses `UE_LIFETIMEBOUND` to track the use of the returned reference outlasting the future itself.
- `ResultType& TFuture::GetMutable()`
+ Returns the result by reference, instead of trying to copy it.
+ Has a different name to `Get` to avoid accidental mutation.
+ Not equivalent to any other method in std::future. Allows the result to be peeked at & mutated.
+ Uses `UE_LIFETIMEBOUND` to track the use of the returned reference outlasting the future itself.
- `InternalResultType& TFutureState::GetResult()`
+ A non-const version of the existing `const InternalResultType& TFutureState::GetResult() const` function, allowing the caller to move the result.
+ Uses `UE_LIFETIMEBOUND` to track the use of the returned reference outlasting the state itself.
- `const ResultType& TSharedFuture::Get() const`
+ Return the result by const ref instead of by value. This matches `std::shared_future::get()`
Some other misc improvements/fixes to TFuture/TSharedFuture
- Changed a few default constructors to be explicitly defaulted.
- Changed hidden copy constructor/assignment operators to be explicitly deleted. Should provide better errors.
- Improved comments around copy/move constructor/assignment operators for better documentation generation.
- Corrected some comments (typo, some incorrect variable names/descriptions for params)
Some fixups in LobbiesCommonTests, ConcertDataStoreTests and InterchangeSceneVariantSetsFactory.
#jira UE-43513, UE-93395
#rb Steve.Robb
[CL 30507063 by nick edwards in ue5-main branch]