25 lines
861 B
C
25 lines
861 B
C
// Copyright 2025 https://yuewu.dev/en All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "GCS_TraceStructLibrary.h"
|
|
#include "UObject/Object.h"
|
|
#include "GCS_TraceDelegates.generated.h"
|
|
|
|
/**
|
|
* Delegate for trace instance hit events.
|
|
* 碰撞检测实例命中事件的委托。
|
|
*/
|
|
UDELEGATE()
|
|
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FGCS_OnTraceHitSignature, const FGCS_TraceHandle&, TraceHandle, const FHitResult&, HitResult);
|
|
|
|
UDELEGATE()
|
|
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FGCS_OnTraceStateChangedSignature, const FGCS_TraceHandle&, TraceHandle, bool, bNewState);
|
|
|
|
UDELEGATE()
|
|
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FGCS_OnTraceStartedSignature, const FGCS_TraceHandle&, TraceHandle);
|
|
|
|
UDELEGATE()
|
|
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FGCS_OnTraceStoppedSignature, const FGCS_TraceHandle&, TraceHandle);
|