コード例 #1
0
ファイル: RepoConfig.cs プロジェクト: MaHuJa/withSIX.Desktop
 public string ToYaml() {
     var graph = new Dictionary<string, object> {
         {":pack_path", PackPath},
         {":exclude", Exclude},
         {":include", Include},
         {":hosts", Hosts.Select(x => x.ToString())}
     };
     return graph._ToYaml();
 }
コード例 #2
0
 public string ToYaml() {
     var graph = new Dictionary<string, object> {
         {":key", Key},
         {":default_host", DefaultHost},
         {":default_host_path", DefaultHostPath},
         {":secure_ssh", SecureSsh},
         {":override_downcase", OverrideDowncase}
     };
     return graph._ToYaml();
 }
コード例 #3
0
ファイル: RepoVersion.cs プロジェクト: MaHuJa/withSIX.Desktop
 public string ToYaml() {
     var graph = new Dictionary<string, object> {
         {":archive_format", ArchiveFormat},
         {":format_version", FormatVersion},
         {":guid", Guid},
         {":version", Version},
         {":pack_size", PackSize},
         {":wd_size", WdSize},
         {":pack", Pack},
         {":wd", WD}
     };
     return graph._ToYaml();
 }
コード例 #4
0
 public string ToYaml() {
     var graph = new Dictionary<string, object> {
         {":name", Name},
         {":uuid", Uuid},
         {":homepage", Homepage},
         {":server_mods_path", ServerModsPath},
         {":archive_format", ArchiveFormat},
         {":max_threads", MaxThreads},
         {":hosts", Hosts},
         {":image", Image},
         {":image_large", ImageLarge},
         {":servers", Servers},
         {":missions", Missions},
         {":mpmissions", MPMissions},
         {":mods", Mods},
         {":apps", Apps}
     };
     return graph._ToYaml();
 }
コード例 #5
0
 public string ToYaml() {
     var graph = new Dictionary<string, object> {
         {":name", Name},
         {":ip", Ip},
         {":port", Port},
         {":uuid", Uuid},
         {":game", Game},
         {":force_server_name", ForceServerName},
         {":open", IsOpen},
         {":hidden", IsHidden},
         {":force_mod_update", ForceModUpdate},
         {":info", Info},
         {":motd", Motd},
         {":password", Password},
         {":rules", Rules},
         {":image", Image},
         {":image_large", ImageLarge},
         {":required_mods", RequiredMods},
         {":allowed_mods", AllowedMods},
         {":apps", Apps},
         {":missions", Missions},
         {":mpmissions", MPMissions}
     };
     return graph._ToYaml();
 }