第一次提交

This commit is contained in:
不明不惑
2026-03-03 01:23:02 +08:00
commit 3e434877e8
1053 changed files with 102411 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
// Copyright 2025 https://yuewu.dev/en All Rights Reserved.
#include "GIPS_InputConfig.h"
#if WITH_EDITOR
#include "UObject/ObjectSaveContext.h"
#include "Misc/DataValidation.h"
void UGIPS_InputConfig::PreSave(FObjectPreSaveContext SaveContext)
{
Super::PreSave(SaveContext);
}
EDataValidationResult UGIPS_InputConfig::IsDataValid(FDataValidationContext& Context) const
{
if (InputActionMappings.IsEmpty())
{
Context.AddError(FText::FromString(TEXT("InputActionMappings can't be empty!")));
return EDataValidationResult::Invalid;
}
return Super::IsDataValid(Context);
}
#endif