Skip to content

Commit

Permalink
updates graph
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Updyke committed Mar 11, 2024
1 parent 43549d8 commit c0ff751
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ private void LoadSocialGraphs()
//need to build a list of connections for every npc
var graph = new SocialGraph
{
Id = item.Id,
Id = item.NpcProfile.Id,
Name = item.NpcProfile.Name.ToString()
};
foreach (var connection in from sub in list
where sub.Id != item.Id
select new SocialGraph.SocialConnection
{
Id = sub.Id,
Id = sub.NpcProfile.Id,
Name = sub.NpcProfile.Name.ToString()
})
{
Expand Down
4 changes: 3 additions & 1 deletion src/Ghosts.Api/ghosts.api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ReleaseVersion>8.0.0.0</ReleaseVersion>
<Version>8.0.0.0</Version>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<FileVersion>8.0.5.1</FileVersion>
<FileVersion>8.0.5.5</FileVersion>
<SynchReleaseVersion>false</SynchReleaseVersion>

<Authors>Dustin Updyke for Carnegie Mellon University</Authors>
Expand Down Expand Up @@ -55,6 +55,7 @@

<ItemGroup>
<Folder Include="Areas\Animator\" />
<Folder Include="_output\" />
</ItemGroup>

<ItemGroup>
Expand Down Expand Up @@ -102,6 +103,7 @@
<_ContentIncludedByDefault Remove="Areas\Animator\config\universities.json" />
<_ContentIncludedByDefault Remove="Areas\Animator\config\us_population_data.json" />
<_ContentIncludedByDefault Remove="output\socialgraph\social_graph.json" />
<_ContentIncludedByDefault Remove="_output\socialgraph\social_graph.json" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit c0ff751

Please sign in to comment.