mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Added automatic saving and restoration of RunnerManager sessions
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using RuriLib.Runner;
|
||||
using System;
|
||||
|
||||
namespace RuriLib.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains the essential information of a Runner Session.
|
||||
/// </summary>
|
||||
public class RunnerSessionData : Persistable<Guid>
|
||||
{
|
||||
/// <summary>The name of the selected Config.</summary>
|
||||
public string Config { get; set; } = "";
|
||||
|
||||
/// <summary>The name of the selected Wordlist.</summary>
|
||||
public string Wordlist { get; set; } = "";
|
||||
|
||||
/// <summary>The amount of bots selected.</summary>
|
||||
public int Bots { get; set; } = 1;
|
||||
|
||||
/// <summary>The proxy mode selected.</summary>
|
||||
public ProxyMode ProxyMode { get; set; } = ProxyMode.Default;
|
||||
}
|
||||
}
|
||||
@@ -285,6 +285,7 @@
|
||||
<Compile Include="Models\DataPool.cs" />
|
||||
<Compile Include="Models\Persistable.cs" />
|
||||
<Compile Include="Models\ProxyResult.cs" />
|
||||
<Compile Include="Models\RunnerSessionData.cs" />
|
||||
<Compile Include="Models\Stats\ProxyManagerStats.cs" />
|
||||
<Compile Include="Models\ProxyPool.cs" />
|
||||
<Compile Include="Models\RemoteProxySource.cs" />
|
||||
|
||||
Reference in New Issue
Block a user