Example #1
0
        private void LoadViewControllers()
        {
            viewControllerLogin = new ViewControllerLogin();
            viewControllerLogin.controllerDelegate = this;
            viewControllerLogin.visible            = false;

            viewControllerCreateAccount = new ViewControllerCreateAccount();
            viewControllerCreateAccount.controllerDelegate = this;
            viewControllerCreateAccount.visible            = false;
        }
Example #2
0
        public void OnViewControllerLoginAction(ViewControllerLogin controller, string user, string password)
        {
            controller.visible = false;

            if (loginDelegate.isConnected)
            {
                return;
            }

            if (loginDelegate.status != LoginServerDelegate.Status.Diconnected)
            {
                return;
            }

            LoginServerInfo info = GetLoginServerConnectionInfo();

            loginClient.Connect(info.ip, info.port);
        }
Example #3
0
        private void LoadViewControllers()
        {
            viewControllerLogin = new ViewControllerLogin();
            viewControllerLogin.controllerDelegate = this;
            viewControllerLogin.visible = false;

            viewControllerCreateAccount = new ViewControllerCreateAccount();
            viewControllerCreateAccount.controllerDelegate = this;
            viewControllerCreateAccount.visible = false;
        }
Example #4
0
        public void OnViewControllerLoginAction(ViewControllerLogin controller, string user, string password)
        {
            controller.visible = false;

            if (loginDelegate.isConnected)
                return;

            if (loginDelegate.status != LoginServerDelegate.Status.Diconnected)
                return;

            LoginServerInfo info = GetLoginServerConnectionInfo();

            loginClient.Connect(info.ip, info.port);
        }