Files
UnrealEngineUWP/Engine/Source/Editor/BlueprintGraph/Private/MakeStructHandler.h
Ben Marsh 7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00

32 lines
1.1 KiB
C++

// Copyright 1998-2019 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;
};