第一次提交
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
// 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
|
||||
};
|
||||
Reference in New Issue
Block a user