Add new plugins, refactor exp, introduce stat forge to replace GAS

This commit is contained in:
2026-07-15 22:48:04 +02:00
parent 3c084d9669
commit da0a0b643f
267 changed files with 33330 additions and 48 deletions

View File

@@ -0,0 +1,39 @@
#pragma once
#include "CoreMinimal.h"
#include "SUDSValue.h"
#include "UObject/Object.h"
#include "TestEventSub.generated.h"
class USUDSDialogue;
UCLASS()
class SUDSTEST_API UTestEventSub : public UObject
{
GENERATED_BODY()
public:
void Init(USUDSDialogue* Dlg);
struct FEventRecord
{
FName Name;
TArray<FSUDSValue> Args;
};
struct FSetVarRecord
{
FName Name;
FSUDSValue Value;
bool bFromScript;
};
TArray<FEventRecord> EventRecords;
TArray<FSetVarRecord> SetVarRecords;
UFUNCTION()
void OnEvent(USUDSDialogue* Dlg, FName EventName, const TArray<FSUDSValue>& Args);
UFUNCTION()
void OnVariableChanged(USUDSDialogue* Dlg, FName VarName, const FSUDSValue& Value, bool bFromScript);
};