Files
UnrealEngine/Engine/Plugins/Mutable/Source/MutableRuntime/Private/MuR/MutableString.cpp
2025-05-18 13:04:45 +08:00

36 lines
469 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "MuR/MutableString.h"
namespace mu
{
String::String( const FString& InValue)
{
Value = InValue;
}
TSharedPtr<String> String::Clone() const
{
TSharedPtr<String> Result = MakeShared<String>(Value);
return Result;
}
int32 String::GetDataSize() const
{
return sizeof(String) + Value.GetAllocatedSize();
}
const FString& String::GetValue() const
{
return Value;
}
}