第一次提交

This commit is contained in:
不明不惑
2026-03-03 01:23:02 +08:00
commit 3e434877e8
1053 changed files with 102411 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
// Copyright 2025 https://yuewu.dev/en All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Engine/DataTable.h"
#include "Engine/DataAsset.h"
#include "GGS_InteractionDefinition.generated.h"
/**
* Base class for interaction settings, used in smart object interaction entrances.
* 交互设置基类,用于智能对象交互入口。
*/
UCLASS(BlueprintType, Blueprintable)
class GENERICGAMESYSTEM_API UGGS_InteractionDefinition : public UDataAsset
{
GENERATED_BODY()
public:
/**
* Display text for the interaction.
* 交互的显示文本。
*/
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Interaction")
FText Text;
/**
* Sub-text for the interaction.
* 交互的子文本。
*/
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Interaction")
FText SubText;
/**
* Input action that triggers the interaction.
* 触发交互的输入动作。
*/
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="Interaction", meta = (RowType = "/Script/CommonUI.CommonInputActionDataBase"))
FDataTableRowHandle TriggeringInputAction;
};