2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-12-18 13:24:57 +01:00

Add Shipyard & Fix ShipLocker

Update File handling
Update Journal handling
Update README.md
This commit is contained in:
2024-05-10 22:26:44 +10:00
parent bc958e7679
commit 235cb2401a
17 changed files with 255 additions and 530 deletions

View File

@@ -2,6 +2,7 @@ namespace Pulsar.Features;
using Observatory.Framework.Files;
using Observatory.Framework.Files.Journal;
using Observatory.Framework.Files.Journal.Odyssey;
public class EventsHub : Hub<IEventsHub>
{
@@ -24,6 +25,8 @@ public class EventsHub : Hub<IEventsHub>
public async Task CargoUpdated(CargoFile cargo) => await Clients.All.CargoUpdated(cargo);
public async Task BackpackUpdated(BackpackFile backpack) => await Clients.All.BackpackUpdated(backpack);
public async Task ShipLockerUpdated(ShipLockerMaterials shipLocker) => await Clients.All.ShipLockerUpdated(shipLocker);
}
public interface IEventsHub
@@ -47,4 +50,6 @@ public interface IEventsHub
Task CargoUpdated(CargoFile cargo);
Task BackpackUpdated(BackpackFile backpack);
Task ShipLockerUpdated(ShipLockerMaterials shipLocker);
}