You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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]
23 lines
921 B
C++
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;
|
|
};
|