Exemple #1
0
        public void Execute()
        {
            var methods  = new InputPhase(BaseDirectory, Configuration.InputConfig).Execute().ToList();
            var mappings = new MapPhase(methods, Configuration.MapConfig).Execute().ToList();

            new GeneratePhase(mappings, Configuration.GenerateConfig).Execute();
        }
Exemple #2
0
 internal MapNode(string JSON)
     : base(JSON)
 {
     Mode = GetEnum<MapMode>("mode");
     Name = GetString("name");
     Phase = GetEnum<MapPhase>("phase");
     Round = GetInt32("round");
     TeamCT = new MapTeamNode(_Data["team_ct"]?.ToString() ?? "");
     TeamT = new MapTeamNode(_Data["team_t"]?.ToString() ?? "");
 }
Exemple #3
0
 internal MapNode(string JSON)
     : base(JSON)
 {
     Mode   = GetEnum <MapMode>("mode");
     Name   = GetString("name");
     Phase  = GetEnum <MapPhase>("phase");
     Round  = GetInt32("round");
     TeamCT = new MapTeamNode(_Data["team_ct"]?.ToString() ?? "");
     TeamT  = new MapTeamNode(_Data["team_t"]?.ToString() ?? "");
 }
Exemple #4
0
 internal MapNode(string JSON)
     : base(JSON)
 {
     Mode   = GetEnum <MapMode>("mode");
     Name   = GetString("name");
     Phase  = GetEnum <MapPhase>("phase");
     Round  = GetInt32("round");
     TeamCT = new MapTeamNode(_data["team_ct"]?.ToString() ?? "");
     TeamT  = new MapTeamNode(_data["team_t"]?.ToString() ?? "");
     NumMatchesToWinSeries = GetInt32("num_matches_to_win_series");
     CurrentSpectators     = GetInt32("current_spectators");
     SouvenirsTotal        = GetInt32("souvenirs_total");
 }