/// <summary> /// Connects to Master and loads the Plugins /// </summary> public void Start(IConfigProvider configProvider) { client.Start(configProvider); Auth = client.GetPlugin <AuthPlugin>(); Chat = client.GetPlugin <ChatPlugin>(); Lobby = client.GetPlugin <LobbyPlugin>(); Matchmaker = client.GetPlugin <MatchmakerPlugin>(); Profile = client.GetPlugin <ProfilePlugin>(); Room = client.GetPlugin <RoomPlugin>(); Security = client.GetPlugin <SecurityPlugin>(); Spawn = client.GetPlugin <SpawnRequestPlugin>(); }
/// <summary> /// Connects to Master and loads the Plugins /// </summary> public void Start() { _speedDate.Start(); Auth = _speedDate.PluginProver.Get <AuthPlugin>(); Chat = _speedDate.PluginProver.Get <ChatPlugin>(); Lobby = _speedDate.PluginProver.Get <LobbyPlugin>(); Matchmaker = _speedDate.PluginProver.Get <MatchmakerPlugin>(); Profile = _speedDate.PluginProver.Get <ProfilePlugin>(); Room = _speedDate.PluginProver.Get <RoomPlugin>(); Security = _speedDate.PluginProver.Get <SecurityPlugin>(); Spawn = _speedDate.PluginProver.Get <SpawnRequestPlugin>(); }