public ClientManager() { // Log("CLIENT MANAGER CREATED"); clientConn = GameContext.ServicesProvider.GetRequiredService <NetworkConnection>(); connectionDispatcher = GameContext.ServicesProvider.GetRequiredService <ClientConnectionDispatcher>(); menuManager = GameContext.ServicesProvider.GetRequiredService <MenuManager>(); //packageParser = GameContext.ServicesProvider.GetRequiredService<IPackageParser>(); }
public ClientManager() { clientConnection = GameContext.ServiceProvider.GetRequiredService <ClientConnection>(); connectionDispatcher = GameContext.ServiceProvider.GetRequiredService <ClientConnectionDispatcher>(); }