Files
PHY/Plugins/GCS/Source/GenericGameplayAbilitiesEditor/Public/GGA_K2Node_ContextPayload.h
2026-03-03 01:23:02 +08:00

34 lines
986 B
C++

// Copyright 2025 https://yuewu.dev/en All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "K2Node_CallFunction.h"
#include "GGA_K2Node_ContextPayload.generated.h"
class UEdGraphPin;
class FBlueprintActionDatabaseRegistrar;
/**
* Node customization for MakeInstancedStruct(), SetContextPayload(), and GetContextPayload().
*/
UCLASS()
class GENERICGAMEPLAYABILITIESEDITOR_API UGGA_K2Node_ContextPayload : public UK2Node_CallFunction
{
GENERATED_BODY()
//~ Begin UEdGraphNode Interface
virtual void GetMenuActions(FBlueprintActionDatabaseRegistrar& ActionRegistrar) const override;
//~ End UEdGraphNode Interface
//~ Begin K2Node Interface
virtual bool IsConnectionDisallowed(const UEdGraphPin* MyPin, const UEdGraphPin* OtherPin, FString& OutReason) const override;
//~ End K2Node Interface
protected:
//~ UK2Node_CallFunction interface
virtual bool CanToggleNodePurity() const override { return false; }
//~ End UK2Node_CallFunction interface
};