this is a big one so check the commit description

- auto fill storefront db from json files
- creating an account now automatically creates a doomroom room for that player
- consumables
- gift boxes
- earnable rewards from games (tokens dont work, but rro specific items do)
- purchasing items works
- some notification work, doesnt fully work iirc
This commit is contained in:
Lapis
2026-04-04 23:24:01 -04:00
parent d07de2281b
commit d831460f8f
51 changed files with 24600 additions and 2554 deletions
+4 -3
View File
@@ -6,10 +6,11 @@ namespace CannedNet.Hubs;
public class NotificationsHub : Hub
{
private static NotificationService _notificationService = new();
private readonly NotificationService _notificationService;
public NotificationsHub()
public NotificationsHub(NotificationService notificationService)
{
_notificationService = notificationService;
}
public override async Task OnConnectedAsync()
@@ -35,7 +36,7 @@ public class NotificationsHub : Hub
return Task.FromResult(_notificationService.GetSubscribedPlayers(Context.ConnectionId).ToHashSet());
}
public static NotificationService GetNotificationService()
public NotificationService GetNotificationService()
{
return _notificationService;
}