42 lines
1.2 KiB
C++
42 lines
1.2 KiB
C++
// Copyright 2025 https://yuewu.dev/en All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Engine/HitResult.h"
|
|
#include "GES_ContextEffectsStructLibrary.h"
|
|
#include "UObject/Interface.h"
|
|
#include "GES_ContextEffectsInterface.generated.h"
|
|
|
|
class UAnimSequenceBase;
|
|
class UObject;
|
|
class USceneComponent;
|
|
struct FFrame;
|
|
|
|
/**
|
|
* Interface for objects that can respond to context effects.
|
|
* 可响应情景效果的对象接口。
|
|
*/
|
|
UINTERFACE(Blueprintable)
|
|
class GENERICEFFECTSSYSTEM_API UGES_ContextEffectsInterface : public UInterface
|
|
{
|
|
GENERATED_BODY()
|
|
};
|
|
|
|
/**
|
|
* Implementation class for context effects interface.
|
|
* 情景效果接口的实现类。
|
|
*/
|
|
class GENERICEFFECTSSYSTEM_API IGES_ContextEffectsInterface : public IInterface
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
/**
|
|
* Plays context effects based on input parameters.
|
|
* 根据输入参数播放情景效果。
|
|
* @param Input The context effects input data. 情景效果输入数据。
|
|
*/
|
|
UFUNCTION(BlueprintCallable, BlueprintNativeEvent, Category="GES|ContextEffect")
|
|
void PlayContextEffectsWithInput(FGES_SpawnContextEffectsInput Input);
|
|
virtual void PlayContextEffectsWithInput_Implementation(FGES_SpawnContextEffectsInput Input) = 0;
|
|
}; |