Files
UnrealEngine/Engine/Source/Runtime/Portal/Rpc/Public/IPortalRpcResponder.h
2025-05-18 13:04:45 +08:00

26 lines
520 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
class IPortalRpcServer;
DECLARE_DELEGATE_RetVal_OneParam(TSharedPtr<IPortalRpcServer>, FOnPortalRpcLookup, const FString& /*ProductKey*/)
/**
* Interface for Portal RPC responders.
*/
class IPortalRpcResponder
{
public:
/** Get a delegate that is executed when a look-up for an RPC server occurs. */
virtual FOnPortalRpcLookup& OnLookup() = 0;
public:
/** Virtual destructor. */
virtual ~IPortalRpcResponder() { }
};