public NxlPatcher(IClientProfile clientProfile, IServerProfile serverProfile, PatcherContext patcherContext) : base(clientProfile, serverProfile, patcherContext) { PatcherType = DefaultPatcherTypes.NxLauncher; PatchSettingsManager.Initialize(); PatchIgnore = new PatchIgnore(PatcherContext); }
public DefaultPatcher(IClientProfile clientProfile, IServerProfile serverProfile, PatcherContext patcherContext) { ClientProfile = clientProfile; ServerProfile = serverProfile; PatcherContext = patcherContext; PatcherType = DefaultPatcherTypes.Default; }
public virtual void Initialize(PluginContext pluginContext, IClientProfile activeClientProfile, IServerProfile activeServerProfile) { PluginContext = pluginContext; ClientProfile = activeClientProfile; ServerProfile = activeServerProfile; Guid = Guid.NewGuid(); }
public override void Initialize(PluginContext pluginContext, IClientProfile activeClientProfile, IServerProfile activeServerProfile) { Name = "PackOps"; _guid = Guid.NewGuid(); _pluginContext = pluginContext; _clientProfile = activeClientProfile; _serverProfile = activeServerProfile; PackOpsSettingsManager.Initialize(_pluginContext); _pluginUi = new PackOpsPluginUI(_pluginContext, _clientProfile, _serverProfile); }
public PackOpsPluginUI(PluginContext pluginContext, IClientProfile clientProfile, IServerProfile serverProfile) { _pluginContext = pluginContext; _clientProfile = clientProfile; _serverProfile = serverProfile; PackOpsSettings = PackOpsSettingsManager.Instance.PackOpsSettings; PackViewEntries = new ObservableCollection <PackViewerEntry>(); PackOperationsViewModels = new ObservableCollection <PackOperationsViewModel>(); MinimumPackVersion = MaximumPackVersion = FromValue = ToValue = 0; InitializeComponent(); }
public virtual void ServerProfileChanged(IServerProfile serverProfile) { ServerProfile = serverProfile; }
public override void ServerProfileChanged(IServerProfile serverProfile) { _serverProfile = serverProfile; _pluginUi.ServerProfileChanged(_serverProfile); }
public Selector(IServerProfile profile) => _profile = profile;
public ICommand <IWebHostBuilder> Get(IServerProfile parameter) => _selector.Get(parameter).Then().Add(_other).Get();
public ServerProfileContext(BuildHostContext context, IServerProfile profile, ISelector selector) { _context = context; _profile = profile; _selector = selector; }
public ServerProfileContext(BuildHostContext context, IServerProfile profile) : this(context, profile, new Selector(profile)) { }
public override void Initialize(PluginContext pluginContext, IClientProfile clientProfile, IServerProfile serverProfile) { Name = "UOTiara"; _guid = Guid.NewGuid(); _pluginContext = pluginContext; _clientProfile = clientProfile; _pluginUi = new UOTiaraPluginUI(_pluginContext, _clientProfile); }
public virtual void Initialize(PluginContext pluginContext, IClientProfile activeClientProfile, IServerProfile activeServerProfile) { }
public static ServerProfileContext Apply(this BuildHostContext @this, IServerProfile profile) => new ServerProfileContext(@this, profile);