Files
UnrealEngine/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineFulfillmentInterface.h
2025-05-18 13:04:45 +08:00

24 lines
666 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Interfaces/OnlinePurchaseInterface.h"
/**
* IOnlineFulfillment - Interface for redeeming codes.
*/
class IOnlineFulfillment
{
public:
virtual ~IOnlineFulfillment() {}
/**
* Initiate the checkout process for obtaining offers via code redemption
*
* @param UserId user initiating the request
* @param RedeemCodeRequest info needed for the redeem request
* @param Delegate completion callback (guaranteed to be called)
*/
virtual void RedeemCode(const FUniqueNetId& UserId, const FRedeemCodeRequest& RedeemCodeRequest, const FOnPurchaseRedeemCodeComplete& Delegate) = 0;
};