Skip to content

Commit f2bbdc4

Browse files
committed
release 1.6.0
1 parent 8d4cd7e commit f2bbdc4

File tree

198 files changed

+4862
-2241
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

198 files changed

+4862
-2241
lines changed

.editorconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
root=true
22

3-
[*.{cpp,h,inl}]
3+
[*]
4+
tab_width = 4
5+
6+
[*.{cpp,h,inl,cs}]
47
indent_style = tab
58
trim_trailing_whitespace = true
69
charset = utf-8
262 Bytes
Binary file not shown.
327 Bytes
Binary file not shown.

DataConfig/DataConfig.uplugin

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,36 @@
1313
"Modules": [
1414
{
1515
"Name": "DataConfigCore",
16-
"Type": "Editor",
16+
"Type": "Runtime",
1717
"LoadingPhase": "None"
1818
},
1919
{
2020
"Name": "DataConfigExtra",
21-
"Type": "Editor",
21+
"Type": "Runtime",
2222
"LoadingPhase": "Default"
2323
},
2424
{
25-
"Name": "DataConfigTests",
25+
"Name": "DataConfigEngineExtra",
26+
"Type": "Runtime",
27+
"LoadingPhase": "Default"
28+
},
29+
{
30+
"Name": "DataConfigEngineExtra5",
2631
"Type": "Editor",
2732
"LoadingPhase": "Default"
2833
},
2934
{
30-
"Name": "DataConfigEditorExtra",
35+
"Name": "DataConfigTests",
3136
"Type": "Editor",
3237
"LoadingPhase": "Default"
3338
},
3439
{
35-
"Name": "DataConfigTests5",
40+
"Name": "DataConfigEditorExtra",
3641
"Type": "Editor",
3742
"LoadingPhase": "Default"
3843
},
3944
{
40-
"Name": "DataConfigEditorExtra5",
45+
"Name": "DataConfigTests5",
4146
"Type": "Editor",
4247
"LoadingPhase": "Default"
4348
}

DataConfig/DataConfig4.uplugin

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,17 @@
1313
"Modules": [
1414
{
1515
"Name": "DataConfigCore",
16-
"Type": "Editor",
16+
"Type": "Runtime",
1717
"LoadingPhase": "None"
1818
},
1919
{
2020
"Name": "DataConfigExtra",
21-
"Type": "Editor",
21+
"Type": "Runtime",
22+
"LoadingPhase": "Default"
23+
},
24+
{
25+
"Name": "DataConfigEngineExtra",
26+
"Type": "Runtime",
2227
"LoadingPhase": "Default"
2328
},
2429
{

DataConfig/Source/DataConfigCore/DataConfigCore.Build.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ public class DataConfigCore : ModuleRules
55
public DataConfigCore(ReadOnlyTargetRules Target) : base(Target)
66
{
77
// source type module, pay extra attention to api boundry
8-
bRequiresImplementModule = false;
8+
bRequiresImplementModule = false;
99

10-
Type = ModuleType.CPlusPlus;
10+
Type = ModuleType.CPlusPlus;
1111
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
1212

1313
#if UE_5_2_OR_LATER
@@ -16,7 +16,7 @@ public DataConfigCore(ReadOnlyTargetRules Target) : base(Target)
1616
bEnforceIWYU = true;
1717
#endif
1818

19-
PublicDependencyModuleNames.AddRange(
19+
PublicDependencyModuleNames.AddRange(
2020
new string[] {
2121
"Core",
2222
"CoreUObject",
@@ -32,6 +32,6 @@ public DataConfigCore(ReadOnlyTargetRules Target) : base(Target)
3232
}
3333

3434
// toggle for debug unity
35-
//bUseUnity = false;
35+
//bUseUnity = false;
3636
}
3737
}

DataConfig/Source/DataConfigCore/Private/DataConfig/Automation/DcAutomation.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ bool FDcAutomationBase::TestDiagnosticImpl(const TCHAR* Description, const FDcRe
7575
if (Diag.Code.CategoryID != Category
7676
|| Diag.Code.ErrorID != Code)
7777
{
78-
AddError(FString::Printf(TEXT("%s: Last diag unmatch, Expect: (%d, %d), Actual, (%d, %d)"),
78+
AddError(FString::Printf(TEXT("%s: Last diag unmatch, Expect: (%d, %d), Actual, (%d, %d)"),
7979
Description, Category, Code, Diag.Code.CategoryID, Diag.Code.ErrorID
8080
), 1);
8181
return false;
@@ -134,7 +134,7 @@ FDcAutomationConsoleRunner::FArgs FDcAutomationConsoleRunner::FromCommandlineTok
134134
{
135135
// default filter
136136
// ends with `.` to filter out DataConfigBenchmark
137-
Args.Filters.Add(TEXT("DataConfig."));
137+
Args.Filters.Add(TEXT("DataConfig."));
138138
}
139139

140140
int ParametersSplitIx = -1;
@@ -215,10 +215,10 @@ int32 RunTestsBody(FDcAutomationConsoleRunner* Self)
215215

216216
for (const FAutomationTestInfo& TestInfo: Self->SelectedTests)
217217
{
218-
FString TestCommand = FString::Printf(TEXT("%s %s"), *TestInfo.GetTestName(), *Self->ParametersJoined);
218+
FString TestCommand = FString::Printf(TEXT("%s %s"), *TestInfo.GetTestName(), *Self->ParametersJoined);
219219
FAutomationTestExecutionInfo CurExecutionInfo;
220220

221-
int32 RoleIndex = 0;
221+
int32 RoleIndex = 0;
222222
Framework.StartTestByName(TestCommand, RoleIndex);
223223
const bool CurTestSuccessful = Framework.StopTest(CurExecutionInfo);
224224

DataConfig/Source/DataConfigCore/Private/DataConfig/Automation/DcAutomationUtils.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ int DebugGetEnumPropertyIndex(const FDcPropertyDatum& Datum, const FName& Name)
708708
UEnum* Enum = nullptr;
709709
FNumericProperty* UnderlyingProperty = nullptr;
710710
bool bIsEnum = DcPropertyUtils::IsEnumAndTryUnwrapEnum(EnumProperty, Enum, UnderlyingProperty);
711-
if (!bIsEnum
711+
if (!bIsEnum
712712
|| Enum == nullptr
713713
|| UnderlyingProperty == nullptr)
714714
return INDEX_NONE;
@@ -734,7 +734,7 @@ double DebugGetRealPropertyValue(const FDcPropertyDatum& Datum, const FName& Nam
734734

735735
FProperty* Property = PropertyAccessUtil::FindPropertyByName(Name, Struct);
736736
if (!Property)
737-
return NaNRet;
737+
return NaNRet;
738738

739739
if (FFloatProperty* FloatProperty = CastField<FFloatProperty>(Property))
740740
return FloatProperty->GetPropertyValue(Property->ContainerPtrToValuePtr<void*>(Datum.DataPtr));
@@ -745,7 +745,7 @@ double DebugGetRealPropertyValue(const FDcPropertyDatum& Datum, const FName& Nam
745745
}
746746

747747
FDcResult DeserializeFrom(FDcReader* Reader, FDcPropertyDatum Datum,
748-
TFunctionRef<void(FDcDeserializeContext&)> Func, EDefaultSetupType SetupType)
748+
TFunctionRef<void(FDcDeserializeContext&)> Func, EDefaultSetupType SetupType)
749749
{
750750
FDcDeserializer Deserializer;
751751
if (SetupType == EDefaultSetupType::SetupJSONHandlers)

DataConfig/Source/DataConfigCore/Private/DataConfig/Deserialize/DcDeserializeTypes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
FDcResult FDcDeserializeContext::Prepare()
88
{
9-
DC_TRY(DcExpect(State == EState::Uninitialized, [&]{
9+
DC_TRY(DcExpect(State == EState::Uninitialized, [&]{
1010
return DC_FAIL(DcDSerDe, ContextInvalidState) << (int)State;
1111
}));
1212

DataConfig/Source/DataConfigCore/Private/DataConfig/Deserialize/DcDeserializeUtils.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ FDcResult RecursiveDeserialize(FDcDeserializeContext& Ctx)
2525
EDcDeserializePredicateResult PredicateIsRootProperty(FDcDeserializeContext& Ctx)
2626
{
2727
check(Ctx.Properties.Num() > 0);
28-
return Ctx.TopProperty() == Ctx.Properties[0]
29-
? EDcDeserializePredicateResult::Process
30-
: EDcDeserializePredicateResult::Pass;
28+
return Ctx.TopProperty() == Ctx.Properties[0]
29+
? EDcDeserializePredicateResult::Process
30+
: EDcDeserializePredicateResult::Pass;
3131
}
3232

3333
} // namespace DcDeserializeUtils

0 commit comments

Comments
 (0)