Files
UnrealEngine/Engine/Source/Runtime/UniversalObjectLocator/Private/UniversalObjectLocatorStringParams.cpp
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

17 lines
509 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "UniversalObjectLocatorStringParams.h"
#include "Containers/StringView.h"
namespace UE::UniversalObjectLocator
{
FStringView FParseStringResult::Progress(FStringView CurrentString, int32 NumToProgress)
{
checkf(NumToProgress <= CurrentString.Len(), TEXT("Attempting to progress past the end of the current string!"));
NumCharsParsed += NumToProgress;
return CurrentString.RightChop(NumToProgress);
}
} // namespace UE::UniversalObjectLocator