1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-13 08:38:19 -05:00

make notice line separator configurable for different parsers

(updated tekno's as it doesn't support \n)
This commit is contained in:
RaidMax
2020-11-19 20:48:25 -06:00
parent d067c1d4d5
commit 37a0e92cbd
5 changed files with 47 additions and 10 deletions

View File

@ -1,4 +1,5 @@
using SharedLibraryCore.Interfaces;
using System;
using SharedLibraryCore.Interfaces;
using SharedLibraryCore.RCon;
using System.Collections.Generic;
using System.Globalization;
@ -24,6 +25,7 @@ namespace IW4MAdmin.Application.RconParsers
public IDictionary<string, string> DefaultDvarValues { get; set; } = new Dictionary<string, string>();
public int NoticeMaximumLines { get; set; } = 8;
public int NoticeMaxCharactersPerLine { get; set; } = 50;
public string NoticeLineSeparator { get; set; } = Environment.NewLine;
public DynamicRConParserConfiguration(IParserRegexFactory parserRegexFactory)
{