public static void ServerStart(string str) { Console.WriteLine("Loading Data Access Objects.\n" + "-------------------------------------------"); DAOManager.Initialize(str); Console.WriteLine("Loading Data Files.\n" + "-------------------------------------------"); Data.Data.LoadAll(); Data.Cache.LoadData(); StatsService.Init(); GeoService.Init(); MapService.Init(); QuestEngine.Init(); SkillEngine.Init(); ActionEngine.Init(); SkillsLearnService.Init(); AreaService.Init(); GuildService.Init(); InitMainLoop(); }
public LoanCalculatorDetails(IWebDriver driver, string strUserType) { if (GetPlatform(driver)) { _LoanCalculatorDetailsLoc = (strUserType == "NL") ? (ILoanCalculator) new LoanCalculatorDetailsMobileNLLoc() : new LoanCalculatorDetailsMobileRLLoc(); } else { _LoanCalculatorDetailsLoc = (strUserType == "NL") ? (ILoanCalculator) new LoanCalculatorDetailsDesktopNLLoc() : new LoanCalculatorDetailsDesktopRLLoc(); } _act = new ActionEngine(driver); _driver = driver; }
public HomeScreen2(IWebDriver driver, string strUserType) { if (GetPlatform(driver)) { _homescreen2Loc = new FormScreen2MobileLoc(); } else { _homescreen2Loc = new FormScreen2DesktopLoc(); } _act = new ActionEngine(driver); _driver = driver; }
public HomeDetails(IWebDriver driver, string strUserType) { if (GetPlatform(driver)) { _homeDetailsLoc = (strUserType == "NL") ? (IHomeDetails) new HomeDetailsMobileNLLoc() : new HomeDetailsMobileRLLoc(); } else { _homeDetailsLoc = (strUserType == "NL") ? (IHomeDetails) new HomeDetailsDesktopNLLoc() : new HomeDetailsDesktopRLLoc(); } _act = new ActionEngine(driver); _driver = driver; }
public static void ServerStart() { Data.Data.LoadAll(); Data.Cache.LoadData(); StatsService.Init(); GeoService.Init(); MapService.Init(); QuestEngine.Init(); SkillEngine.Init(); ActionEngine.Init(); SkillsLearnService.Init(); AreaService.Init(); GuildService.Init(); InitMainLoop(); }
private static object GetMenuCodeActionProduce(DependencyObject obj, object[] args) { return(ActionEngine.Execute(args, (obj as AdminPage).GetMenuCodeActionProduce)); }
public ActionLogic() { actionEngine = new ActionEngine(); }
public AskNowPage(IWebDriver driver, string strUserType) { _asknowLoc = new AskNowLoc(); _act = new ActionEngine(driver); _driver = driver; }