refactoring: removed external dependencies from server, removed webhooks from server

This commit is contained in:
2024-05-19 08:54:49 +03:00
parent b84538b238
commit e9dc45265a
53 changed files with 642 additions and 1049 deletions
+2 -4
View File
@@ -26,8 +26,6 @@ public class RagonContext
{
public ConnectionStatus ConnectionStatus { get; set; }
public INetworkConnection Connection { get; }
public IExecutor Executor { get; private set; }
public int LimitBufferedEvents { get; private set; }
public IRagonLobby Lobby { get; private set; }
public RagonLobbyPlayer? LobbyPlayer { get; private set; }
public RagonRoom Room { get; private set; }
@@ -35,9 +33,10 @@ public class RagonContext
public RagonData UserData { get; private set; }
public RagonScheduler Scheduler { get; private set; }
public int LimitBufferedEvents { get; private set; }
public RagonContext(
INetworkConnection connection,
IExecutor executor,
IRagonLobby lobby,
RagonScheduler scheduler,
int limitBufferedEvents)
@@ -45,7 +44,6 @@ public class RagonContext
ConnectionStatus = ConnectionStatus.Unauthorized;
LimitBufferedEvents = limitBufferedEvents;
Connection = connection;
Executor = executor;
Lobby = lobby;
Scheduler = scheduler;
UserData = new RagonData();