mirror of
https://github.com/Tribufu/ServerManagers
synced 2026-08-07 19:56:22 +00:00
source code checkin
This commit is contained in:
parent
5f8fb2c825
commit
7e57b72e35
675 changed files with 168433 additions and 0 deletions
44
src/ARKServerManager/Lib/Serialization/SystemIniFile.cs
Normal file
44
src/ARKServerManager/Lib/Serialization/SystemIniFile.cs
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
using ServerManagerTool.Common.Serialization;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ServerManagerTool.Lib
|
||||
{
|
||||
public class SystemIniFile : BaseSystemIniFile
|
||||
{
|
||||
public static readonly Dictionary<Enum, string> IniFileNames = new Dictionary<Enum, string>
|
||||
{
|
||||
{ IniFiles.GameUserSettings, Config.Default.ServerGameUserSettingsConfigFile },
|
||||
{ IniFiles.Game, Config.Default.ServerGameConfigFile },
|
||||
{ IniFiles.Engine, Config.Default.ServerEngineConfigFile },
|
||||
};
|
||||
|
||||
public static readonly Dictionary<Enum, string> IniSectionNames = new Dictionary<Enum, string>
|
||||
{
|
||||
// GameUserSettings sections, used by the server manager
|
||||
{ IniSections.GUS_ServerSettings, "ServerSettings" },
|
||||
{ IniSections.GUS_ShooterGameUserSettings, "/Script/ShooterGame.ShooterGameUserSettings" },
|
||||
{ IniSections.GUS_ScalabilityGroups, "ScalabilityGroups" },
|
||||
{ IniSections.GUS_SessionSettings, "SessionSettings" },
|
||||
{ IniSections.GUS_GameSession, "/Script/Engine.GameSession"},
|
||||
{ IniSections.GUS_MultiHome, "MultiHome" },
|
||||
{ IniSections.GUS_MessageOfTheDay, "MessageOfTheDay" },
|
||||
|
||||
// GameUserSettings sections, not used by server manager
|
||||
|
||||
// Game sections, used by the server manager
|
||||
{ IniSections.Game_ShooterGameMode, "/script/shootergame.shootergamemode" },
|
||||
|
||||
// Game sections, not used by server manager
|
||||
};
|
||||
|
||||
public override Dictionary<Enum, string> FileNames => IniFileNames;
|
||||
|
||||
public override Dictionary<Enum, string> SectionNames => IniSectionNames;
|
||||
|
||||
public SystemIniFile(string iniPath)
|
||||
: base(iniPath)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue