Exemple #1
0
        /// <summary>
        /// Logins this instance.
        /// </summary>
        public void Login()
        {
            Initialize();
            state.Login();

            if (state.State == MachineState.Loggined)
            {
                if (accountant.NeedNotification)
                {
                    mailBox.Start();
                }
                accountant.Start();
                if (AppCore.AttackSettings.IgnoreWarsClan)
                {
                    Controller.AddCurrentWarsInWhiteList();
                }
            }
        }