Files
UnrealEngineUWP/Engine/Source/Editor/BlueprintGraph/Public/VariableSetHandler.h
Maciej Mroz 74dd18c715 UE-7848 BP nodes are executed after the return node is reached
Function result node generates KCST_GotoReturn statement.
"The execution path doesn't end with a return node." Is now a note.

#codereview Mike.Beach, Michael.Noland

[CL 2508745 by Maciej Mroz in Main branch]
2015-04-10 15:11:43 -04:00

23 lines
921 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
//////////////////////////////////////////////////////////////////////////
// FKCHandler_VariableSet
class FKCHandler_VariableSet : public FNodeHandlingFunctor
{
public:
FKCHandler_VariableSet(FKismetCompilerContext& InCompilerContext)
: FNodeHandlingFunctor(InCompilerContext)
{
}
virtual void RegisterNet(FKismetFunctionContext& Context, UEdGraphPin* Net) override;
virtual void RegisterNets(FKismetFunctionContext& Context, UEdGraphNode* Node) override;
void InnerAssignment(FKismetFunctionContext& Context, UEdGraphNode* Node, UEdGraphPin* VariablePin, UEdGraphPin* ValuePin);
void GenerateAssigments(FKismetFunctionContext& Context, UEdGraphNode* Node);
virtual void Compile(FKismetFunctionContext& Context, UEdGraphNode* Node) override;
virtual void Transform(FKismetFunctionContext& Context, UEdGraphNode* Node) override;
};