26 lines
480 B
C
26 lines
480 B
C
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
#define UE_API HORDE_API
|
|
|
|
/**
|
|
* Options for adding a new ref
|
|
*/
|
|
struct FRefOptions
|
|
{
|
|
static UE_API const FRefOptions Default;
|
|
|
|
/** Time until a ref is expired. If zero, the ref does not expire. */
|
|
FTimespan Lifetime;
|
|
|
|
/** Whether to extend the remaining lifetime of a ref whenever it is fetched. Defaults to true. */
|
|
bool bExtend = true;
|
|
|
|
UE_API FRefOptions();
|
|
};
|
|
|
|
#undef UE_API
|