| // Copyright Epic Games, Inc. All Rights Reserved. | |
| //-------------------------------------- | |
| // UGameSettingValue | |
| //-------------------------------------- | |
| UGameSettingValue::UGameSettingValue() | |
| { | |
| // Values will report to analytics. | |
| bReportAnalytics = true; | |
| } | |
| void UGameSettingValue::OnInitialized() | |
| { | |
| Super::OnInitialized(); | |
| ensureAlwaysMsgf(!DescriptionRichText.IsEmpty() || DynamicDetails.IsBound(), TEXT("You must provide a description or it must specify a dynamic details function for settings with values.")); | |
| StoreInitial(); | |
| } | |