Ship Building & Drydock

Made it possible to turn new hulls into drones which can then be outfitted and activated for service
Missing blueprint ingredients no longer crash the game and gracefully log what's broken
Loadout cargo is now stored entirely separate from gear
This commit is contained in:
hyperion51 2020-06-11 02:55:11 +01:00
commit a901a8e829
17 changed files with 167 additions and 226 deletions

View file

@ -0,0 +1,25 @@
using System;
using MessagePack;
using Newtonsoft.Json;
[RethinkTable("Users"), MessagePackObject, JsonObject(MemberSerialization.OptIn)]
public class PlayerData : DatabaseEntry, INamedEntry
{
[JsonProperty("email"), Key(1)]
public string Email;
[JsonProperty("password"), Key(2)]
public string Password;
[JsonProperty("username"), Key(3)]
public string Username;
[JsonProperty("corporation"), Key(4)]
public Guid Corporation;
[IgnoreMember] public string EntryName
{
get => Username;
set => Username = value;
}
}