EM_Task/CoreUObject/Public/UObject/Interface.h
Boshuang Zhao 5144a49c9b add
2026-02-13 16:18:33 +08:00

27 lines
488 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/Object.h"
/**
* Base class for all interfaces
*
*/
class COREUOBJECT_API UInterface: public UObject
{
DECLARE_CLASS_INTRINSIC(UInterface, UObject, CLASS_Interface | CLASS_Abstract, TEXT("/Script/CoreUObject"))
};
class COREUOBJECT_API IInterface
{
protected:
virtual ~IInterface() {}
public:
typedef UInterface UClassType;
};