Beispiel #1
0
            void OnRegClick(GameObject go)
            {
                CMaskPanel.Show(true);

                string account  = mAccount.value;
                string password = mPassword.value;

                GameCommand.RequestRegist
                .AddParam("FromType", AccountFromType.QK)
                .AddParam("Account", account)
                .AddParam("Password", password)
                .Send();
            }
Beispiel #2
0
        void OnSDKLoginFinished(QKCommand cmd)
        {
            CMaskPanel.Show(false);

            int errorCode = (int)cmd.Params["ErrorCode"];

            if (0 == errorCode)
            {
                CloseUI();
            }
            else
            {
                CTipPanel.ShowTip(CTipType.Yes, (string)cmd.Params["Msg"], null);
            }
        }
Beispiel #3
0
 void OnQuickLogin(GameObject go)
 {
     CMaskPanel.Show(true);
     GameCommand.QuickLogin.Send();
 }