private static GameArea DetimenGameArea(string gameAreaName, int gameAreaID) { switch (gameAreaName) { case TagRaidRoot: return(RaidWing.RaidWings[gameAreaID]); case TagStrikeRoot: return(Strike.StrikeMissions[gameAreaID]); case TagDRMRoot: return(DragonResponseMission.DragonResponseMissions[gameAreaID]); case TagFractalRoot: return(Fractal.Fractals[gameAreaID]); case TagWvWRoot: return(WvW.Get()); case TagTrainingRoot: return(Training.Get()); case TagUnknownRoot: return(Unknowen.Get()); default: return(null); } }
private static void CreateWvW(JArray wvwData) { foreach (JObject wvw in wvwData) { var info = GetAreaExtendedInfo(wvw); WvW.Create(info); } }