MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetAllProjects

Function GetAllProjects

Source/Editor/ProjectInfo.h:143–149  ·  view source on GitHub ↗

Gets all projects including this project, it's references and their references (any deep level of references). The result list of projects (this and all references).

Source from the content-addressed store, hash-verified

141 /// </summary>
142 /// <param name="result">The result list of projects (this and all references).</param>
143 void GetAllProjects(HashSet<ProjectInfo*>& result)
144 {
145 result.Add(this);
146 for (auto& reference : References)
147 if (reference.Project)
148 reference.Project->GetAllProjects(result);
149 }
150
151 /// <summary>
152 /// Loads the project from the specified file.

Callers 2

GetAllProjectsMethod · 0.85
GetAllProjectsMethod · 0.85

Calls 2

AddMethod · 0.45
GetAllProjectsMethod · 0.45

Tested by

no test coverage detected