You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
36 lines
957 B
C
36 lines
957 B
C
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
|
|
#include "CustomizableObjectIdentifier.generated.h"
|
|
|
|
USTRUCT(BlueprintType)
|
|
struct CUSTOMIZABLEOBJECT_API FCustomizableObjectIdPair
|
|
{
|
|
GENERATED_USTRUCT_BODY()
|
|
|
|
UPROPERTY(Category = CustomizableObject, BlueprintReadOnly, EditDefaultsOnly)
|
|
FString CustomizableObjectGroupName;
|
|
|
|
UPROPERTY(Category = CustomizableObject, BlueprintReadOnly, EditDefaultsOnly)
|
|
FString CustomizableObjectName;
|
|
|
|
FCustomizableObjectIdPair() { };
|
|
FCustomizableObjectIdPair(FString ObjectGroupName, FString ObjectName);
|
|
|
|
bool operator ==(const FCustomizableObjectIdPair& Other) const
|
|
{
|
|
return CustomizableObjectGroupName == Other.CustomizableObjectGroupName && CustomizableObjectName == Other.CustomizableObjectName;
|
|
}
|
|
|
|
friend FArchive& operator <<(FArchive& Ar, FCustomizableObjectIdPair& IdPair)
|
|
{
|
|
Ar << IdPair.CustomizableObjectGroupName;
|
|
Ar << IdPair.CustomizableObjectName;
|
|
|
|
return Ar;
|
|
}
|
|
};
|
|
|