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

start work to allow customizing command properties via configuration

This commit is contained in:
RaidMax
2020-01-26 18:06:50 -06:00
parent 8c3ea779f2
commit 475ef92917
16 changed files with 1061 additions and 587 deletions

View File

@ -1,25 +1,23 @@
using Newtonsoft.Json;
using System;
using SharedLibraryCore.Interfaces;
using System.Collections.Generic;
using System.Text;
namespace SharedLibraryCore.Localization
{
public class Layout
{
public string LocalizationName { get; set; }
public Index LocalizationIndex { get; set; }
public TranslationLookup LocalizationIndex { get; set; }
public Layout(Dictionary<string, string> set)
{
LocalizationIndex = new Index()
LocalizationIndex = new TranslationLookup()
{
Set = set
};
}
}
public class Index
public class TranslationLookup : ITranslationLookup
{
public Dictionary<string, string> Set { get; set; }