compile time null checks avaiable for method node
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
@@ -2335,6 +2335,11 @@ namespace ScriptCanvas
|
||||
}
|
||||
}
|
||||
|
||||
bool Node::CanAcceptNullInput([[maybe_unused]] const Slot& executionSlot, [[maybe_unused]] const Slot& inputSlot) const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void Node::CollectVariableReferences(AZStd::unordered_set< ScriptCanvas::VariableId >& variableIds) const
|
||||
{
|
||||
for (const Slot& slot : m_slots)
|
||||
|
||||
@@ -479,7 +479,10 @@ namespace ScriptCanvas
|
||||
Node(const Node&); // Needed just for DLL linkage. Does not perform a copy
|
||||
Node& operator=(const Node&); // Needed just for DLL linkage. Does not perform a copy
|
||||
|
||||
virtual bool CanAcceptNullInput(const Slot& executionSlot, const Slot& inputSlot) const;
|
||||
|
||||
virtual void CollectVariableReferences(AZStd::unordered_set< ScriptCanvas::VariableId >& variableIds) const;
|
||||
|
||||
virtual bool ContainsReferencesToVariables(const AZStd::unordered_set< ScriptCanvas::VariableId >& variableIds) const;
|
||||
|
||||
Graph* GetGraph() const;
|
||||
|
||||
Reference in New Issue
Block a user