zworld-em/Plugins/sentry-unreal/Source/Sentry/Public/SentryTraceSampler.h

21 lines
514 B
C
Raw Normal View History

2025-05-11 22:07:21 +08:00
// Copyright (c) 2024 Sentry. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/Object.h"
#include "SentryTraceSampler.generated.h"
class USentrySamplingContext;
UCLASS(Blueprintable)
class SENTRY_API USentryTraceSampler : public UObject
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintNativeEvent)
bool Sample(USentrySamplingContext* samplingContext, float& samplingValue);
virtual bool Sample_Implementation(USentrySamplingContext* samplingContext, float& samplingValue);
};