Ejemplo n.º 1
0
        public void Save(IFileSystem fileSystem, string projectSettingsPath)
        {
            var jsonManager = new JsonFileManager(fileSystem);

            jsonManager.WriteJson(projectSettingsPath, ProjectSettings);
            jsonManager.WriteJson(ProjectSettings.RomConfigPath, RomConfig);

            foreach (var module in Modules)
            {
                module.WriteToFiles(fileSystem);
            }
        }
Ejemplo n.º 2
0
        public override void WriteToFiles(IFileSystem fileSystem)
        {
            var jsonManager = new JsonFileManager(fileSystem);

            jsonManager.WriteJson(@"text\room-descriptions.json", RoomDescriptions);
            jsonManager.WriteJson(@"text\item-names.json", ItemNames);
            jsonManager.WriteJson(@"text\item-descriptions.json", ItemDescriptions);
            jsonManager.WriteJson(@"text\char-names.json", CharNames);
            jsonManager.WriteJson(@"text\party-char-names.json", PartyCharNames);
            jsonManager.WriteJson(@"text\enemy-names.json", EnemyNames);
            jsonManager.WriteJson(@"text\psi-names.json", PsiNames);
            jsonManager.WriteJson(@"text\psi-descriptions.json", PsiDescriptions);
            jsonManager.WriteJson(@"text\statuses.json", Statuses);
            jsonManager.WriteJson(@"text\default-char-names.json", DefaultCharNames);
            jsonManager.WriteJson(@"text\skills.json", Skills);
            jsonManager.WriteJson(@"text\skill-descriptions.json", SkillDescriptions);
            jsonManager.WriteJson(@"text\main-script.json", MainScript);
        }
Ejemplo n.º 3
0
        public override void WriteToFiles(IFileSystem fileSystem)
        {
            var jsonManager = new JsonFileManager(fileSystem);

            jsonManager.WriteJson(@"data\items.json", Items);
        }