BaseRConParser Public class
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph IW4MAdmin.Application.RConParsers
IW4MAdmin.Application.RConParsers.BaseRConParser[[BaseRConParser]]
end
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IRConParser[[IRConParser]]
class SharedLibraryCore.Interfaces.IRConParser interfaceStyle;
end
SharedLibraryCore.Interfaces.IRConParser --> IW4MAdmin.Application.RConParsers.BaseRConParser
Loading
Returns |
Name |
void |
BeginGetDvar (IRConConnection connection, string dvarName, AsyncCallback callback, CancellationToken token) |
void |
BeginSetDvar (IRConConnection connection, string dvarName, object dvarValue, AsyncCallback callback, CancellationToken token) |
Task <string``[] > |
ExecuteCommandAsync (IRConConnection connection, string command, CancellationToken token) |
T |
GetDefaultDvarValue (string dvarName) |
Task <Dvar <T >> |
GetDvarAsync (IRConConnection connection, string dvarName, T fallbackValue, CancellationToken token) |
string |
GetOverrideDvarName (string dvarName) |
Task <IStatusResponse > |
GetStatusAsync (IRConConnection connection, CancellationToken token) |
Nullable <TimeSpan > |
OverrideTimeoutForCommand (string command) |
Task <bool > |
SetDvarAsync (IRConConnection connection, string dvarName, object dvarValue, CancellationToken token) |
Returns |
Name |
string |
[`g__RemoveTrailingColorCode
|
Source code
public BaseRConParser(ILogger<BaseRConParser> logger, IParserRegexFactory parserRegexFactory)
public virtual async Task<string> ExecuteCommandAsync(IRConConnection connection, string command, CancellationToken token)
Type |
Name |
Description |
IRConConnection |
connection |
|
string |
command |
|
CancellationToken |
token |
|
public virtual async Task<Dvar<T>> GetDvarAsync<T>(IRConConnection connection, string dvarName, T fallbackValue, CancellationToken token)
where T :
Type |
Name |
Description |
IRConConnection |
connection |
|
string |
dvarName |
|
T |
fallbackValue |
|
CancellationToken |
token |
|
Source code
public void BeginGetDvar(IRConConnection connection, string dvarName, AsyncCallback callback, CancellationToken token)
Type |
Name |
Description |
IRConConnection |
connection |
|
string |
dvarName |
|
AsyncCallback |
callback |
|
CancellationToken |
token |
|
public virtual async Task<IStatusResponse> GetStatusAsync(IRConConnection connection, CancellationToken token)
public virtual async Task<bool> SetDvarAsync(IRConConnection connection, string dvarName, object dvarValue, CancellationToken token)
Type |
Name |
Description |
IRConConnection |
connection |
|
string |
dvarName |
|
object |
dvarValue |
|
CancellationToken |
token |
|
Source code
public void BeginSetDvar(IRConConnection connection, string dvarName, object dvarValue, AsyncCallback callback, CancellationToken token)
Type |
Name |
Description |
IRConConnection |
connection |
|
string |
dvarName |
|
object |
dvarValue |
|
AsyncCallback |
callback |
|
CancellationToken |
token |
|
Source code
public virtual string GetOverrideDvarName(string dvarName)
Type |
Name |
Description |
string |
dvarName |
|
Source code
public virtual T GetDefaultDvarValue<T>(string dvarName)
where T :
Type |
Name |
Description |
string |
dvarName |
|
OverrideTimeoutForCommand
Source code
public virtual Nullable<TimeSpan> OverrideTimeoutForCommand(string command)
Type |
Name |
Description |
string |
command |
|
g__RemoveTrailingColorCode|32_0
Source code
internal static string <GetDvarAsync>g__RemoveTrailingColorCode|32_0<T>(string input)
where T :
Type |
Name |
Description |
string |
input |
|
public virtual IRConParserConfiguration Configuration { get; set; }
public virtual string Version { get; set; }
public Game GameName { get; set; }
public bool CanGenerateLogPath { get; set; }
public string Name { get; set; }
public string RConEngine { get; set; }
public bool IsOneLog { get; set; }
Generated with ModularDoc