EM_Task/CoreUObject/Public/UObject/Interface.h

27 lines
488 B
C
Raw Normal View History

2026-02-13 16:18:33 +08:00
// 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;
};