EditorCOmponent build pipeline WIP
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
@@ -189,6 +189,10 @@ namespace ScriptCanvas
|
||||
|
||||
namespace ScriptCanvasEditor
|
||||
{
|
||||
SourceHandle::SourceHandle()
|
||||
: m_id(AZ::Uuid::CreateNull())
|
||||
{}
|
||||
|
||||
SourceHandle::SourceHandle(const SourceHandle& data, const AZ::Uuid& id, const AZ::IO::Path& path)
|
||||
: m_data(data.m_data)
|
||||
, m_id(id)
|
||||
@@ -207,6 +211,22 @@ namespace ScriptCanvasEditor
|
||||
m_id = id;
|
||||
}
|
||||
|
||||
SourceHandle::SourceHandle(const SourceHandle& data, const AZ::IO::Path& path)
|
||||
: m_data(data.m_data)
|
||||
, m_id(AZ::Uuid::CreateNull())
|
||||
, m_path(path)
|
||||
{
|
||||
m_path.MakePreferred();
|
||||
}
|
||||
|
||||
SourceHandle::SourceHandle(ScriptCanvas::DataPtr graph, const AZ::IO::Path& path)
|
||||
: m_data(graph)
|
||||
, m_id(AZ::Uuid::CreateNull())
|
||||
, m_path(path)
|
||||
{
|
||||
m_path.MakePreferred();
|
||||
}
|
||||
|
||||
bool SourceHandle::AnyEquals(const SourceHandle& other) const
|
||||
{
|
||||
return m_data && m_data == other.m_data
|
||||
|
||||
@@ -325,12 +325,16 @@ namespace ScriptCanvasEditor
|
||||
|
||||
static void Reflect(AZ::ReflectContext* context);
|
||||
|
||||
SourceHandle() = default;
|
||||
SourceHandle();
|
||||
|
||||
SourceHandle(const SourceHandle& data, const AZ::Uuid& id, const AZ::IO::Path& path);
|
||||
|
||||
SourceHandle(ScriptCanvas::DataPtr graph, const AZ::Uuid& id, const AZ::IO::Path& path);
|
||||
|
||||
SourceHandle(const SourceHandle& data, const AZ::IO::Path& path);
|
||||
|
||||
SourceHandle(ScriptCanvas::DataPtr graph, const AZ::IO::Path& path);
|
||||
|
||||
bool AnyEquals(const SourceHandle& other) const;
|
||||
|
||||
void Clear();
|
||||
|
||||
Reference in New Issue
Block a user