Example #1
0
        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;
 }
Example #3
0
 public HomeScreen2(IWebDriver driver, string strUserType)
 {
     if (GetPlatform(driver))
     {
         _homescreen2Loc = new FormScreen2MobileLoc();
     }
     else
     {
         _homescreen2Loc = new FormScreen2DesktopLoc();
     }
     _act    = new ActionEngine(driver);
     _driver = driver;
 }
Example #4
0
 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;
 }
Example #5
0
        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));
 }
Example #7
0
 public ActionLogic()
 {
     actionEngine = new ActionEngine();
 }
Example #8
0
 public AskNowPage(IWebDriver driver, string strUserType)
 {
     _asknowLoc = new AskNowLoc();
     _act       = new ActionEngine(driver);
     _driver    = driver;
 }