-
-
Notifications
You must be signed in to change notification settings - Fork 44
iw4madminapplicationrconparsers BaseRConParser
RaidMax edited this page May 21, 2023
·
1 revision
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
Type | Name | Methods |
---|---|---|
bool |
CanGenerateLogPath |
get, set |
IRConParserConfiguration |
Configuration |
get, set |
Game |
GameName |
get, set |
bool |
IsOneLog |
get, set |
string |
Name |
get, set |
string |
RConEngine |
get, set |
string |
Version |
get, set |
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 |
public BaseRConParser(ILogger<BaseRConParser> logger, IParserRegexFactory parserRegexFactory)
Type | Name | Description |
---|---|---|
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 |
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)
Type | Name | Description |
---|---|---|
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 |
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 |
public virtual string GetOverrideDvarName(string dvarName)
Type | Name | Description |
---|---|---|
string |
dvarName |
public virtual T GetDefaultDvarValue<T>(string dvarName)
where T :
Type | Name | Description |
---|---|---|
string |
dvarName |
public virtual Nullable<TimeSpan> OverrideTimeoutForCommand(string command)
Type | Name | Description |
---|---|---|
string |
command |
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