Implement Other state events
now emitted to websocket connections on connect
This commit is contained in:
parent
68eff73dbd
commit
7eae5e5ee6
68 changed files with 223 additions and 183 deletions
|
|
@ -1,9 +1,8 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
namespace Pulsar.Context.Configuration;
|
||||
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
using Observatory.Framework.Files.Journal.Startup;
|
||||
|
||||
namespace Pulsar.Context.Configuration;
|
||||
|
||||
public class CargoConfiguration : IEntityTypeConfiguration<Cargo>
|
||||
{
|
||||
public void Configure(EntityTypeBuilder<Cargo> builder)
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
namespace Pulsar.Context.Configuration;
|
||||
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
using Observatory.Framework.Files.Journal.Odyssey;
|
||||
|
||||
namespace Pulsar.Context.Configuration;
|
||||
|
||||
public class ShipLockerConfiguration : IEntityTypeConfiguration<ShipLockerMaterials>
|
||||
{
|
||||
public void Configure(EntityTypeBuilder<ShipLockerMaterials> builder)
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
namespace Pulsar.Context;
|
||||
|
||||
using Microsoft.Data.Sqlite;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using Observatory.Framework.Files.Journal;
|
||||
using Observatory.Framework.Files.Journal.Odyssey;
|
||||
using Observatory.Framework.Files.Journal.Startup;
|
||||
using Observatory.Framework.Files.Journal.StationServices;
|
||||
using Observatory.Framework.Files.Journal.Travel;
|
||||
using Pulsar.Features.ShipLocker;
|
||||
|
||||
/// <summary>
|
||||
/// An in-memory database context for Pulsar.
|
||||
|
|
@ -14,7 +13,6 @@ using Pulsar.Features.ShipLocker;
|
|||
public class PulsarContext : DbContext
|
||||
{
|
||||
public SqliteConnection Connection { get; private set; }
|
||||
|
||||
|
||||
public DbSet<Commander> Commander { get; set; }
|
||||
public DbSet<Materials> Materials { get; set; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue