FUCK YEAH GALAXIES

This commit is contained in:
hyperion51 2020-03-28 05:18:57 +00:00
commit 1898fffe76
59 changed files with 1713 additions and 823 deletions

View file

@ -121,10 +121,10 @@ public static class CultClient {
{
case LoginSuccessMessage loginSuccess:
_token = loginSuccess.Session;
return;
break;
case ErrorMessage error:
OnError?.Invoke(error.Error);
return;
break;
}
}

View file

@ -280,7 +280,8 @@ public class GalaxyEditor : Editor
{
ID = starIDs[star],
Name = starIDs[star].ToString().Substring(0, 8),
Wormholes = star.Links.Select(i => starIDs[galaxy.MapData.Stars[i]]).ToList()
Wormholes = star.Links.Select(i => starIDs[galaxy.MapData.Stars[i]]).ToList(),
Position = star.Position
}).Run(_connection);
}

View file

@ -94,6 +94,8 @@ public static class Extensions
yield break;
}
yield return type;
// return all implemented or inherited interfaces
foreach (var i in type.GetInterfaces())
{