1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-12 16:18:07 -05:00

adjustments for T6 and tekno (implement mapped dvars and default values)

This commit is contained in:
RaidMax
2020-06-16 17:16:12 -05:00
parent 0d70eb8a4e
commit e0cbdf76d5
9 changed files with 109 additions and 51 deletions

View File

@ -63,8 +63,24 @@ namespace SharedLibraryCore.Interfaces
bool CanGenerateLogPath { get; set; }
/// <summary>
/// Specifies the name of the parser
/// specifies the name of the parser
/// </summary>
string Name { get; set; }
/// <summary>
/// retrieves the value of given dvar key if it exists in the override dict
/// otherwise returns original
/// </summary>
/// <param name="dvarName">name of dvar key</param>
/// <returns></returns>
string GetOverrideDvarName(string dvarName);
/// <summary>
/// retrieves the configuration value of a dvar key for
/// games that do not support the given dvar
/// </summary>
/// <param name="dvarName">dvar key name</param>
/// <returns></returns>
T GetDefaultDvarValue<T>(string dvarName);
}
}