You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
17 lines
509 B
C++
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
|