Files
UnrealEngineUWP/Engine/Source/Editor/BlueprintGraph/Private/MakeStructHandler.h
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

32 lines
1.1 KiB
C++

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "KismetCompilerMisc.h"
class FKismetCompilerContext;
struct FKismetFunctionContext;
//////////////////////////////////////////////////////////////////////////
// FKCHandler_MakeStruct
class FKCHandler_MakeStruct : public FNodeHandlingFunctor
{
public:
FKCHandler_MakeStruct(FKismetCompilerContext& InCompilerContext);
virtual UEdGraphPin* FindStructPinChecked(UEdGraphNode* Node) const;
virtual void RegisterNets(FKismetFunctionContext& Context, UEdGraphNode* InNode) override;
virtual void RegisterNet(FKismetFunctionContext& Context, UEdGraphPin* Net) override;
virtual FBPTerminal* RegisterLiteral(FKismetFunctionContext& Context, UEdGraphPin* Net) override;
virtual void Compile(FKismetFunctionContext& Context, UEdGraphNode* InNode) override;
protected:
/** Prevents this handler from auto-generating a GoTo to jump to the end of the node's compiled code so that child handlers can override the functionality */
bool bAutoGenerateGotoForPure;
};