Update Prism Python bindings interface

Add GetProjects, GetProjectTemplates, GetGems, GetProject and GetGem.
CreateProject and UpdateProject and the engine functions are not implemented yet
This commit is contained in:
Alex Peterson
2021-05-14 14:53:32 -07:00
committed by GitHub
parent 9ecbbe471b
commit 9b9ae22d23
13 changed files with 489 additions and 19 deletions
@@ -14,6 +14,7 @@
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QPushButton>
#include <PythonBindingsInterface.h>
namespace O3DE::ProjectManager
{
@@ -78,6 +79,14 @@ namespace O3DE::ProjectManager
false));
}
// End: Temporary gem test data
auto result = PythonBindingsInterface::Get()->GetGems();
if (result.IsSuccess())
{
for (auto gemInfo : result.GetValue())
{
m_gemModel->AddGem(gemInfo);
}
}
}
ProjectManagerScreen GemCatalogScreen::GetScreenEnum()